........作业

r1

 

r2

r3

  r4
[R4]interface GigabitEthernet0/0/0
[R4]ip address 34.0.0.2 255.255.255.252
[R4]interface GigabitEthernet0/0/1
[R4]ip address 54.0.0.2 255.255.255.252
[R4]interface GigabitEthernet0/0/2
[R4]ip address 64.0.0.2 255.255.255.252

r5

 r6

 

启用MGRE
配置缺省
[R3]ip route-static 0.0.0.0 0.0.0.0 34.0.0.2
[R5]ip route-static 0.0.0.0 0.0.0.0 54.0.0.2
[R6]ip route-static 0.0.0.0 0.0.0.0 64.0.0.2

R3
[R3]interface Tunnel0/0/0
[R3-Tunnel0/0/0]ip address 172.16.5.1 255.255.255.248
[R3-Tunnel0/0/0]tunnel-protocol gre p2mp
[R3-Tunnel0/0/0]source 34.0.0.1
[R3-Tunnel0/0/0]ospf network-type broadcast
[R3-Tunnel0/0/0]nhrp entry multicast dynamic
[R3-Tunnel0/0/0]nhrp network-id 100

R5
[R5]interface Tunnel0/0/0
[R5-Tunnel0/0/0]ip address 172.16.5.2 255.255.255.248
[R5-Tunnel0/0/0]tunnel-protocol gre p2mp
[R5-Tunnel0/0/0]source GigabitEthernet0/0/0
[R5-Tunnel0/0/0]ospf network-type broadcast
[R5-Tunnel0/0/0]ospf dr-priority 0
[R5-Tunnel0/0/0]nhrp network-id 100
[R5-Tunnel0/0/0]nhrp entry 172.16.5.1 34.0.0.1 register

R6
[R6]interface Tunnel0/0/0
[R6-Tunnel0/0/0]ip address 172.16.5.3 255.255.255.248
[R6-Tunnel0/0/0]tunnel-protocol gre p2mp
[R6-Tunnel0/0/0]source GigabitEthernet0/0/0
[R6-Tunnel0/0/0]ospf network-type broadcast
[R6-Tunnel0/0/0]ospf dr-priority 0
[R6-Tunnel0/0/0]nhrp network-id 100
[R6-Tunnel0/0/0]nhrp entry 172.16.5.1 34.0.0.1 register

启用OSPF单区域
R1
[R1]ospf 1 router-id 1.1.1.1
[R1-ospf-1]area 0
[R1-ospf-1-area-0.0.0.0]network 172.16.0.0 0.0.7.255

R2
[R2]ospf
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值