
求各位大神帮助:关于路由重分发,产生了不少次优路径。就R2路由来说。我用ACL抓取远端网络地址15.64/27和15.96/27两个网段。原先这2个网段优走ospf,现在我让他走rip到r2,可配置完成后反响64网段成功了,而96网段不成功,依然走ospf。请教大神我是哪里配置错误了,应该怎么解决!
* t. Z1 v H1 Z7 W+ ]8 }) u: d2 J9 s
配置后的路由表
4 P0 q- R% a, Z& k H 10.0.0.0/8 is variably subnetted, 7 subnets, 2 masks
$ n$ [/ j% `. W ZC 10.10.15.32/27 is directly connected, FastEthernet1/0
9 ~. X4 `4 p3 _R 10.10.15.64/27 [120/1] via 10.10.15.33, 00:00:14, FastEthernet1/0
* e5 P' ~. Z; ~! i! f$ g7 \O E2 10.10.15.96/27 [200/20] via 10.10.15.242, 01:18:49, Serial0/0
% K# d) Q3 R( p8 F8 _C 10.10.15.128/27 is directly connected, FastEthernet2/0
3 o* K( t$ [7 i \( Z' [, d, i+ cO 10.10.15.248/30 [110/128] via 10.10.15.242, 01:18:49, Serial0/0( e$ `. v# ]1 s1 S# R& c+ N4 t
O E2 10.10.15.244/30 [110/20] via 10.10.15.242, 01:18:49, Serial0/0
( N7 j" X4 j9 Z- `" uC 10.10.15.240/30 is directly connected, Serial0/06 y! N) Z, f, W/ m# ~
% g3 L* M7 _5 g+ ?# R9 r: Y, OR2的配置:7 n2 |% M, d0 {9 E8 F; ?. c/ H( K
& O/ r; O c7 {3 kinterface Serial0/0& Y; ^% d% v& f: H' Z6 e; l
ip address 10.10.15.241 255.255.255.252
5 P8 I1 |- O9 D% I encapsulation frame-relay2 B7 i* }2 ~- c, D
ip ospf network broadcast
; w$ `3 J* [! ] e f/ ^* N! t: ?5 w# p serial restart-delay 0' b* h0 m" ^, I6 `/ Q
frame-relay map ip 10.10.15.242 101 broadcast1 b Q( k; M9 }$ s7 S
no frame-relay inverse-arp3 L/ h9 }+ H1 o4 g# F+ C
! j3 c! D3 c4 {' i; a* R# cinterface FastEthernet1/0+ I' W* e$ k9 M1 h( y9 ]# j
ip address 10.10.15.34 255.255.255.224
) K8 u& b/ }8 O' p" \1 D2 |- ] V; X6 g4 |* x
router ospf 1
9 d! j/ p' R* S log-adjacency-changes9 [. j) Q. c8 @2 V/ P. Z: Q/ Z
redistribute rip subnets
( E) x" u. O! J. T1 ^6 F2 R network 10.10.15.0 0.0.0.255 area 0; d- k, W& t, h! i
distance 200 0.0.0.0 255.255.255.255 1* ]/ t$ t5 \" v* Z8 r- G0 F
!
! y8 b, O6 m9 {) f9 A1 b$ [router rip
1 K, v! X* L( y6 g' ]" m version 2* M4 ]8 H4 @$ s5 w+ d6 }* ~+ T2 z
redistribute ospf 1 metric 1
2 F: g: j6 y# s6 t l network 10.0.0.0# A( K9 O* E! g5 x! [
no auto-summary7 r/ f P' l, t, r( G. A; ^/ `
!
. W+ [9 Z( D5 Z; ^+ s' H* Maccess-list 1 permit 10.10.15.96 0.0.0.316 F( a! N# w0 d) E4 b7 V4 s4 Z
access-list 1 permit 10.10.15.64 0.0.0.31 |
|