ospf multiarea + rip = problem z redystrybucją

Pytania dt. certyfikacji CCNP, CCDP, CCSP, CCIP oraz CCVP
Wiadomość
Autor
robalecki
member
member
Posty: 26
Rejestracja: 16 sty 2007, 09:41

ospf multiarea + rip = problem z redystrybucją

#1

#1 Post autor: robalecki »

Problem związany z redystrybucją.
Topologia następująca:
Obrazek

Router 5 (asbr z area 2):

Kod: Zaznacz cały

R5#sh run | b ospf
router ospf 1
 log-adjacency-changes
 redistribute rip metric 1000 metric-type 1 subnets
 network 10.2.75.0 0.0.0.255 area 2
 network 10.20.54.0 0.0.0.255 area 0
!
router rip
 version 2
 redistribute ospf 1
 network 10.0.0.0

R5#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

R    172.16.0.0/16 [120/1] via 10.2.65.2, 00:00:20, FastEthernet0/1
O    192.168.202.0/24 [110/2] via 10.2.75.2, 00:14:59, FastEthernet1/0
     10.0.0.0/24 is subnetted, 6 subnets
O IA    10.1.13.0 [110/3] via 10.20.54.1, 00:14:59, FastEthernet0/0
O IA    10.1.23.0 [110/3] via 10.20.54.1, 00:14:59, FastEthernet0/0
O       10.10.34.0 [110/2] via 10.20.54.1, 00:14:59, FastEthernet0/0
C       10.20.54.0 is directly connected, FastEthernet0/0
C       10.2.75.0 is directly connected, FastEthernet1/0
C       10.2.65.0 is directly connected, FastEthernet0/1
O IA 192.168.102.0/24 [110/4] via 10.20.54.1, 00:15:00, FastEthernet0/0
O IA 192.168.101.0/24 [110/4] via 10.20.54.1, 00:15:00, FastEthernet0/0

Router 6 (external rip):

Kod: Zaznacz cały

R6#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     172.16.0.0/24 is subnetted, 1 subnets
C       172.16.1.0 is directly connected, FastEthernet0/1
     10.0.0.0/24 is subnetted, 3 subnets
R       10.20.54.0 [120/1] via 10.2.65.1, 00:00:15, FastEthernet0/0
R       10.2.75.0 [120/1] via 10.2.65.1, 00:00:15, FastEthernet0/0
C       10.2.65.0 is directly connected, FastEthernet0/0
R6#sh run | b router
router rip
 version 2
 network 10.0.0.0
 network 172.16.0.0
!
ip classless

Sytuacja wygląda następująco : pingi z area 2 oraz area 0 idą do sieci ripowej, natomiast z area 1 się gubią, trace się kończy na R5:

Kod: Zaznacz cały

R3#traceroute 172.16.1.1

Type escape sequence to abort.
Tracing the route to 172.16.1.1

  1 10.10.34.1 36 msec 28 msec 28 msec
  2 10.20.54.2 20 msec 72 msec 24 msec
  3  *  *  *
  4  *  *  *
  5
Podejrzewam, że wystarczyłaby zwykła default routa na routerze rip R6, jednakże chciałbym zrobić to dynamicznie. Czy ktoś ma jakiś pomysł gdzie zrobiłem błąd?
CCIE wannabie :)

Awatar użytkownika
balam
wannabe
wannabe
Posty: 977
Rejestracja: 21 cze 2006, 16:27
Lokalizacja: Warszawa

#2

#2 Post autor: balam »

A robisz redystrybucje z ospf do ripa, zeby wiedzial ten router jak osiagnac inne sieci? Widze tylko na tym routerze sieci 10.2.x.x i 10.20.x.x wiec troszke brakuje...
Somewhere back in time.

Awatar użytkownika
Cinek
wannabe
wannabe
Posty: 83
Rejestracja: 18 mar 2010, 20:55

#3

#3 Post autor: Cinek »

dodaj default-metric w RIPie.

robalecki
member
member
Posty: 26
Rejestracja: 16 sty 2007, 09:41

#4

#4 Post autor: robalecki »

Dokładnie tak, brakowało redystrybucji ospf->rip na R5. Głupi błąd.
CCIE wannabie :)

ODPOWIEDZ