From: Dario Mussi (dmussi@xxxxxxxxxx)
Date: Sat Nov 03 2001 - 10:52:23 GMT-3
Hi guys,
It's seems I'm falling in an old games.
I took a look in the list archives and I read some docs to but it's not all
clear yet.
R1(e0)---(e0)R2(s0)---(s0)R3
OSPF IGRP
R1 and R2 both run OSPF. R3 runs only IGRP.
R1 redistribute a default route "ip route 0.0.0.0 0.0.0.0 137.20.20.1"
where 137.20.20.x is the ethernet network where both R1 and R2 reside.
IGRP doesn't underestand this route so I thought to configure R2 (which is
redistributingOSPF into IGRP) with this command "ip default-network
137.20.0.0". The default-network declared is an attached net so it takes
precendence over the
previous learned default route 0.0.0.0 from R1, but ping to networks not in
tables resulted "unroutable" (probably 'cause the Ethernet is /24 and not
clasfull).
I tried this on R2: ip default-network 137.20.20.0
This is wrong 'cause this command is for classful net infact it generated
automatically the following line in R2 conf:
ip route 137.20.0.0 255.255.0.0 137.20.20.0
I kept this route and I re-typed the command in the right way "ip
default-network 137.20.0.0"
This default took precendence again over the 0.0.0.0 but this time
everything works!!!
Ping in no more "unroutable" because of the static. Here the routing table:
* 137.20.0.0/16 is variably subnetted, 2 subnets, 2 masks
C 137.20.20.0/24 is directly connected, Ethernet0
S* 137.20.0.0/16 [1/0] via 137.20.20.0
172.168.0.0/16 is variably subnetted, 7 subnets, 2 masks
I 172.168.40.0/24 [100/8486] via 172.168.200.2, 00:00:22, Serial0.2
C 172.168.200.0/24 is directly connected, Serial0.2
O*E2 0.0.0.0/0 [110/1] via 137.20.20.1, 03:09:27, Ethernet0
Now I'm quite happy but I still don't understand what must be right and
what is defently wrong...
Hope in some feedback.
Dario
This archive was generated by hypermail 2.1.4 : Fri Jun 21 2002 - 06:45:02 GMT-3