
求各位大神帮助:关于路由重分发,产生了不少次优路径。就R2路由来说。我用ACL抓取远端网络地址15.64/27和15.96/27两个网段。原先这2个网段优走ospf,现在我让他走rip到r2,可配置完成后反响64网段成功了,而96网段不成功,依然走ospf。请教大神我是哪里配置错误了,应该怎么解决!7 `7 J" c k8 `4 P
4 P$ i; o) ~$ J" E. h& l) @
配置后的路由表: c0 C1 E( l: g5 S- _, w- F3 {8 e
10.0.0.0/8 is variably subnetted, 7 subnets, 2 masks
4 ~2 |- d8 Q# E5 z1 g$ ~4 i, g2 [C 10.10.15.32/27 is directly connected, FastEthernet1/0
3 ~4 d; [( @# c( dR 10.10.15.64/27 [120/1] via 10.10.15.33, 00:00:14, FastEthernet1/01 @ _4 B/ m8 E& F- o' G; W
O E2 10.10.15.96/27 [200/20] via 10.10.15.242, 01:18:49, Serial0/0
, [9 p+ }: K2 d' mC 10.10.15.128/27 is directly connected, FastEthernet2/0' w9 k$ p2 v( L' S( B0 X
O 10.10.15.248/30 [110/128] via 10.10.15.242, 01:18:49, Serial0/0
& @8 U# P4 n! _. R+ v( SO E2 10.10.15.244/30 [110/20] via 10.10.15.242, 01:18:49, Serial0/0
# z# j- }( }! f! Q; B0 J0 y# bC 10.10.15.240/30 is directly connected, Serial0/0
) ^$ `& k$ f* Q- z8 d* i
" J0 i9 x* S( IR2的配置:
! h# A8 N# T) I" E, I
) J; Y/ Y: D3 P! l0 C9 Y2 ]8 tinterface Serial0/0
8 \+ N$ F( |* i" q ip address 10.10.15.241 255.255.255.252; o9 X6 ~6 i: } y
encapsulation frame-relay( W7 u! {5 n- @( \3 _
ip ospf network broadcast' R* y' s+ x3 f2 _9 p( i3 h
serial restart-delay 0
+ \8 X. w3 v* g frame-relay map ip 10.10.15.242 101 broadcast
7 g" R. `4 p& L% m/ i no frame-relay inverse-arp3 R5 w8 @: ~ {9 m; x4 j
# i3 N6 Y# J- g, _9 M0 minterface FastEthernet1/0
# c1 d X( [: G7 {& {3 g2 m6 P( e: b4 x ip address 10.10.15.34 255.255.255.224
( i1 P; l4 E m, P$ q3 U. W
1 I% Y+ D" E; F8 Q' jrouter ospf 16 ~7 S5 Y: n: ?7 g- l
log-adjacency-changes2 t+ ~5 b( @" L% b4 F7 }7 P" W4 M* S
redistribute rip subnets; [9 X- S t5 I3 c, `
network 10.10.15.0 0.0.0.255 area 0
% Y" F8 {: e+ [+ c M$ w distance 200 0.0.0.0 255.255.255.255 1
: L. J3 n8 |! s9 {* l! % d. s) b& e9 q* b( i
router rip
( O) n$ M3 A" u0 L( S" X version 2' n! S! A# u, X4 z+ l' d
redistribute ospf 1 metric 15 Y* g6 Y& ^% i5 W; p( a8 }/ p2 v5 u
network 10.0.0.0) V& c7 t! r4 \5 H
no auto-summary) r: v1 w1 Z2 {9 M! v
!
7 e% m/ l& f! M7 |8 b- P$ Saccess-list 1 permit 10.10.15.96 0.0.0.31
8 {( M$ ?$ U6 |access-list 1 permit 10.10.15.64 0.0.0.31 |
|