ospf综合实验

IP配置

Isp

[isp-Serial4/0/0]ip address 15.0.0.2 24

[isp-Serial3/0/0]ip address 25.0.0.2 24

[isp-GigabitEthernet0/0/0]ip address 35.0.0.2 24

[isp-Serial4/0/1]ip address 45.0.0.2 24

R5

[r5-Serial4/0/0]ip address 45.0.0.1 24

[r5-LoopBack5]ip address 172.16.5.1 24

R3

[r3-Serial4/0/0]ip address 15.0.0.1 24

[r3-LoopBack3]ip address 172.16.3.1 24

[r3-GigabitEthernet0/0/0]ip address 172.16.13.1 24

R6

[r6-Serial4/0/0]ip address 25.0.0.1 24

[r6-LoopBack6]ip address 172.16.6.1 24

[r6-GigabitEthernet0/0/0]ip address 172.16.16.1 24

R7

[r7-GigabitEthernet0/0/0]ip address 35.0.0.1 24

[r7-LoopBack7]ip address 172.16.7.1 24

[r7-GigabitEthernet0/0/1]ip address 172.16.17.1 24

R1

[r1-GigabitEthernet0/0/0]ip address 172.16.13.11 24

[r1-LoopBack1]ip address 172.16.1.1 24

R2

[r2-GigabitEthernet0/0/0]ip address 172.16.13.12 24

[r2-LoopBack2]ip address 172.16.2.1 24

R11

[r11-GigabitEthernet0/0/0]ip address 172.16.16.2 4

[r11-GigabitEthernet0/0/1]ip address 172.16.16.3 24

[r11-LoopBack11]ip address 172.16.11.1 24

R12

[r12-GigabitEthernet0/0/0]ip address 172.16.16.4 24

[r12-LoopBack12]ip address 172.16.12.1 24

R8

[r8-GigabitEthernet0/0/0]ip address 172.16.17.2 24

[r8-GigabitEthernet0/0/1]ip address 172.16.18.1 24

[r8-LoopBack8]ip address 172.16.8.1 24

R9

[r9-GigabitEthernet0/0/0]ip address 172.16.18.2 24

[r9-GigabitEthernet0/0/1]ip address 172.16.19.1 24

[r9-LoopBack9]ip address 172.16.9.1 24

R10

[r10-GigabitEthernet0/0/0]ip address 172.16.19.2 24

[r10-LoopBack10]ip address 172.16.10.1 24

缺省路由公网可通

ip route-static 0.0.0.0 0 15.0.0.2

ip route-static 0.0.0.0 0 25.0.0.2

ip route-static 0.0.0.0 0 35.0.0.2

ip route-static 0.0.0.0 0 45.0.0.2
————————————————

 测试

优化

[r12-ospf-1-area-0.0.0.2]nssa no-summary

[r11-ospf-1-area-0.0.0.2]nssa

[r6-ospf-1-area-0.0.0.2]nssa

[r9-ospf-1-area-0.0.0.3]nssa no-summary

[r7-ospf-1-area-0.0.0.3]nssa

[r8-ospf-1-area-0.0.0.3]nssa

[r1-ospf-1-area-0.0.0.1]stub

[r2-ospf-1-area-0.0.0.1]stub

[r3-ospf-1-area-0.0.0.1]stub no-summary
————————————————

                            版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
                        
原文链接:https://blog.csdn.net/w5830tiep/article/details/140401616

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值