您的位置:首页 > 其它

简单OSPF多区域配置

2007-03-29 15:45 363 查看
--R1--------R2--------R3---
areo 0 areo 1

R1#show running-config
!
interface Serial1/1
ip address 10.0.0.1 255.0.0.0
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
network 10.0.0.0 0.0.0.255 area 0

R2#show running-config
!
interface Serial1/0
ip address 10.0.0.2 255.0.0.0
serial restart-delay 0
!
interface Serial1/1
ip address 20.0.0.1 255.0.0.0
serial restart-delay 0
!
router ospf 2
log-adjacency-changes
network 10.0.0.0 0.0.0.255 area 0
network 20.0.0.0 0.0.0.255 area 1
R3#show running-config
!
interface Serial1/0
ip address 20.0.0.2 255.0.0.0
serial restart-delay 0
!
router ospf 3
log-adjacency-changes
network 20.0.0.0 0.0.0.255 area 1

R1#show ip rou
Gateway of last resort is not set
O IA 20.0.0.0/8 [110/128] via 10.0.0.2, 00:01:11, Serial1/1
C 10.0.0.0/8 is directly connected, Serial1/1
R2#show ip rou
Gateway of last resort is not set
C 20.0.0.0/8 is directly connected, Serial1/1
C 10.0.0.0/8 is directly connected, Serial1/0
R3#show ip rou
Gateway of last resort is not set
本文出自 “黑暗中的另一半” 博客,请务必保留此出处http://marke721.blog.51cto.com/31045/22025
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: