- 积分
- 384
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
求各位大神帮助:关于路由重分发,产生了不少次优路径。就R2路由来说。我用ACL抓取远端网络地址15.64/27和15.96/27两个网段。原先这2个网段优走ospf,现在我让他走rip到r2,可配置完成后反响64网段成功了,而96网段不成功,依然走ospf。请教大神我是哪里配置错误了,应该怎么解决!
配置后的路由表
10.0.0.0/8 is variably subnetted, 7 subnets, 2 masks
C 10.10.15.32/27 is directly connected, FastEthernet1/0
R 10.10.15.64/27 [120/1] via 10.10.15.33, 00:00:14, FastEthernet1/0
O E2 10.10.15.96/27 [200/20] via 10.10.15.242, 01:18:49, Serial0/0
C 10.10.15.128/27 is directly connected, FastEthernet2/0
O 10.10.15.248/30 [110/128] via 10.10.15.242, 01:18:49, Serial0/0
O E2 10.10.15.244/30 [110/20] via 10.10.15.242, 01:18:49, Serial0/0
C 10.10.15.240/30 is directly connected, Serial0/0
R2的配置:
interface Serial0/0
ip address 10.10.15.241 255.255.255.252
encapsulation frame-relay
ip ospf network broadcast
serial restart-delay 0
frame-relay map ip 10.10.15.242 101 broadcast
no frame-relay inverse-arp
interface FastEthernet1/0
ip address 10.10.15.34 255.255.255.224
router ospf 1
log-adjacency-changes
redistribute rip subnets
network 10.10.15.0 0.0.0.255 area 0
distance 200 0.0.0.0 255.255.255.255 1
!
router rip
version 2
redistribute ospf 1 metric 1
network 10.0.0.0
no auto-summary
!
access-list 1 permit 10.10.15.96 0.0.0.31
access-list 1 permit 10.10.15.64 0.0.0.31
|
|