- 积分
- 273
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
3鸿鹄币
R1配置
Serial0/0
ip address 192.168.1.1 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.1.1 255.255.255.0
serial restart-delay 0
!
interface Serial0/2
ip address 172.16.1.1 255.255.255.0
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
redistribute rip metric 1000 metric-type 1 subnets
network 192.168.1.0 0.0.0.255 area 0
!
router rip
version 2
redistribute ospf 1 metric 5
network 172.16.0.0
!
R2配置
!
interface Serial0/0
ip address 172.16.2.1 255.255.255.0
serial restart-delay 0
!
interface Serial0/1
ip address 172.16.2.1 255.255.255.0
shutdown
serial restart-delay 0
!
interface Serial0/2
ip address 192.168.1.2 255.255.255.0
encapsulation frame-relay
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
router ospf 1
log-adjacency-changes
redistribute rip metric 1000 metric-type 1 subnets
network 192.168.1.0 0.0.0.255 area 0
!
router rip
version 2
redistribute ospf 1 metric 5
network 172.16.0.0
!
no ip http server
no ip http secure-server
!
ip forward-protocol nd
!
R1路由表
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O 1.1.1.1/32 [110/65] via 192.168.1.3, 00:57:11, Serial0/0
R 1.0.0.0/8 [120/1] via 172.16.1.2, 00:00:21, Serial0/1
O E2 200.20.20.0/24 [110/20] via 192.168.1.3, 00:57:11, Serial0/0
R 2.0.0.0/8 [120/2] via 172.16.1.2, 00:00:21, Serial0/1
172.16.0.0/24 is subnetted, 3 subnets
C 172.16.1.0 is directly connected, Serial0/1
O E1 172.16.2.0 [110/1064] via 192.168.1.2, 00:57:11, Serial0/0
R 172.16.3.0 [120/1] via 172.16.1.2, 00:00:22, Serial0/1
C 192.168.1.0/24 is directly connected, Serial0/0
R1#
R2路由表
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O 1.1.1.1/32 [110/65] via 192.168.1.3, 00:57:52, Serial0/2
O E1 1.0.0.0/8 [110/1064] via 192.168.1.1, 00:57:52, Serial0/2
O E2 200.20.20.0/24 [110/20] via 192.168.1.3, 00:57:52, Serial0/2
O E1 2.0.0.0/8 [110/1064] via 192.168.1.1, 00:57:52, Serial0/2
172.16.0.0/24 is subnetted, 3 subnets
O E1 172.16.1.0 [110/1064] via 192.168.1.1, 00:57:52, Serial0/2
C 172.16.2.0 is directly connected, Serial0/0
O E1 172.16.3.0 [110/1064] via 192.168.1.1, 00:57:53, Serial0/2
C 192.168.1.0/24 is directly connected, Serial0/2
问题
为什么r1学的不是oe2 的路由??
|
-
拓扑图如下
最佳答案
查看完整内容
出OE2的路由了,是不是在出了R1、R2还有其他地方有重分发,地址分配看不懂。
看你配置在1和2上重分发的OE1的路由,不可能域内有OE2的路由。
|