多区域ospf配置
2010-05-08 18:57
465 查看
[align=center]多区域ospf的配置[/align]
◆RA的配置是
int loopback 0
ip add 192.168.64.1 255.255.255.0
no shut
exit
int f1/0
ip add 192.168.1.1 255.255.255.0
no shut
exit
router ospf 1
network 192.168.64.1 0.0.0.0 area 1
network 192.168.1.1 0.0.0.0 area 0
◆RB的配置是
int loopback 0
ip add 192.168.3.1 255.255.255.0
no shut
exit
int f1/0
ip add 192.168.1.3 255.255.255.0
no shut
exit
int s0/0
ip add 192.168.224.1 255.255.255.252
no shut
router ospf 1
network 192.168.1.3 0.0.0.0 area 0
network 192.168.224.1 0.0.0.0 area 51
network 192.168.3.1 0.0.0.0 area 0
◆RC的配置是
int s0/1
clock rate 128000
ip add 192.168.224.2 255.255.255.252
no shut
router ospf 1
network 192.168.224.2 0.0.0.0 area 51
之后都可以ping通
◆在RB上 show iproute则是
O IA 192.168.1.0/24 [110/782] via 192.168.224.1, 00:02:16, srial0/0
192.168.3.0/32 is subnetted, 1 subnets
O IA 192.168.3.1 [110/782] via 192.168.224.1, 00:02:16, Serial0/0
192.168.64.0/32 is subnetted, 1 subnets
O IA 192.168.64.1 [110/783] via 192.168.224.1, 00:02:16, Serial0/0
192.168.224.0/30 is subnetted, 1 subnets
C 192.168.224.0 is directly connected, Serial0/0
◆在RB和RC上
router ospf 1
area 51 stub
则出现的效果是
show ip route
O IA 192.168.1.0/24 [110/782] via 192.168.224.1, 00:00:02, Serial0/0
192.168.3.0/32 is subnetted, 1 subnets
O IA 192.168.3.1 [110/782] via 192.168.224.1, 00:00:02, Serial0/0
192.168.64.0/32 is subnetted, 1 subnets
O IA 192.168.64.1 [110/783] via 192.168.224.1, 00:00:02, Serial0/0
192.168.224.0/30 is subnetted, 1 subnets
C 192.168.224.0 is directly connected, Serial0/0
O*IA 0.0.0.0/0 [110/782] via 192.168.224.1, 00:00:02, Serial0/0
◆在RB上配置
router ospf 1
area 51 stub no-summary
则show ip route的结果是
C 192.168.224.0 is directly connected, Serial0/0
O*IA 0.0.0.0/0 [110/782] via 192.168.224.1, 00:00:02, Serial0/0
完成.
本文出自 “浅浅的” 博客,请务必保留此出处http://2010guo.blog.51cto.com/1468636/312619
◆RA的配置是
int loopback 0
ip add 192.168.64.1 255.255.255.0
no shut
exit
int f1/0
ip add 192.168.1.1 255.255.255.0
no shut
exit
router ospf 1
network 192.168.64.1 0.0.0.0 area 1
network 192.168.1.1 0.0.0.0 area 0
◆RB的配置是
int loopback 0
ip add 192.168.3.1 255.255.255.0
no shut
exit
int f1/0
ip add 192.168.1.3 255.255.255.0
no shut
exit
int s0/0
ip add 192.168.224.1 255.255.255.252
no shut
router ospf 1
network 192.168.1.3 0.0.0.0 area 0
network 192.168.224.1 0.0.0.0 area 51
network 192.168.3.1 0.0.0.0 area 0
◆RC的配置是
int s0/1
clock rate 128000
ip add 192.168.224.2 255.255.255.252
no shut
router ospf 1
network 192.168.224.2 0.0.0.0 area 51
之后都可以ping通
◆在RB上 show iproute则是
O IA 192.168.1.0/24 [110/782] via 192.168.224.1, 00:02:16, srial0/0
192.168.3.0/32 is subnetted, 1 subnets
O IA 192.168.3.1 [110/782] via 192.168.224.1, 00:02:16, Serial0/0
192.168.64.0/32 is subnetted, 1 subnets
O IA 192.168.64.1 [110/783] via 192.168.224.1, 00:02:16, Serial0/0
192.168.224.0/30 is subnetted, 1 subnets
C 192.168.224.0 is directly connected, Serial0/0
◆在RB和RC上
router ospf 1
area 51 stub
则出现的效果是
show ip route
O IA 192.168.1.0/24 [110/782] via 192.168.224.1, 00:00:02, Serial0/0
192.168.3.0/32 is subnetted, 1 subnets
O IA 192.168.3.1 [110/782] via 192.168.224.1, 00:00:02, Serial0/0
192.168.64.0/32 is subnetted, 1 subnets
O IA 192.168.64.1 [110/783] via 192.168.224.1, 00:00:02, Serial0/0
192.168.224.0/30 is subnetted, 1 subnets
C 192.168.224.0 is directly connected, Serial0/0
O*IA 0.0.0.0/0 [110/782] via 192.168.224.1, 00:00:02, Serial0/0
◆在RB上配置
router ospf 1
area 51 stub no-summary
则show ip route的结果是
C 192.168.224.0 is directly connected, Serial0/0
O*IA 0.0.0.0/0 [110/782] via 192.168.224.1, 00:00:02, Serial0/0
完成.
本文出自 “浅浅的” 博客,请务必保留此出处http://2010guo.blog.51cto.com/1468636/312619
相关文章推荐
- 多区域OSPF配置
- OSPF单区域配置与相关概念
- OSPF单区域网络配置
- 24、OSPF配置实验之不规则区域多进程双向重分布
- 25、OSPF配置实验之不规则区域Tunnel隧道
- 26、OSPF配置实验之不规则区域虚链路
- CCNA OSPF同区域间的配置与运用
- BSCI―8-(2):OSPF的特殊区域类型与配置
- OSPF 单区域基本配置。
- 多区域OSPF的基本配置
- OSPF多区域配置和划分特殊与普通(华为)
- OSPF 多区域基本配置
- ospf多区域配置
- BSCI―8-(1):OSPF的特殊区域类型与配置(末节与完全末节区域)
- 多区域OSPF动态路由配置(拓扑图)
- 在华为路由器上配置单区域OSPF
- 多区域配置OSPF网络大型服务 推荐
- 基于帧中继point-to-point的单区域OSPF的配置
- 单区域ospf跟单臂路由结合配置实例