HCIP中OSPF综合路由实验

一、拓扑结构

二、配置MGRE

R3为中心站点

interface Tunnel0/0/0
 ip address 172.16.1.1 255.255.255.0 
 tunnel-protocol gre p2mp
 source 34.0.0.1
 nhrp entry multicast dynamic
 nhrp network-id 100 

R5配置

interface Tunnel0/0/0
 ip address 172.16.1.2 255.255.255.0 
 tunnel-protocol gre p2mp
 source Serial4/0/1
 nhrp network-id 100
 nhrp entry 172.16.1.1 34.0.0.1 register

R6与R7配置同R5

配置结果

 三、 配置缺省与NAT及空接口

R3


acl 200
rule permit source 172.16.0.0 0.0.255.255
int Serial 4/0/0
nat outbound 2000


ip route-static 0.0.0.0 0.0.0.0 34.0.0.2 

ip route-static 172.16.32.0 255.255.224.0 NULL0
 
R7


acl 2000
rule permit source 172.16.0.0 0.0.255.255
int g 0/0/0
nat outbound 2000

ip route-static 0.0.0.0 0.0.0.0 47.0.0.2

ip route-static 172.16.96.0 255.255.224.0 NULL0
 
R6

acl 2000
rule permit source 172.16.0.0 0.0.255.255
int s 4/0/0
nat outbound 2000

ip route-static 0.0.0.0 0.0.0.0 46.0.0.2

ip route-static 172.16.64.0 255.255.224.0 NULL0

 四、OSPF配置与路由汇总

 路由表

五、特殊区域

根据拓扑结构图可知area 1 为stub区域,area 2 和area 3为nssa区域 

R3

 R6

R7 

六、更改hello time 和 OSPFf认证 

ospf timer hello 5

authentication-mode md5 1 cipher huawei

七、全网可达

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值