From: ying chang (ying_c@xxxxxxxxxxx)
Date: Fri Mar 01 2002 - 15:03:02 GMT-3
Hi,
Can someone explain to me why I got 105 instead of 172 and 192 from the
distance command I have in my config? The toplogy is
OSPF/IGRP redistribution point
(150.100.1.0,150.100.2.0,150.100.50.0)<-150.100.11.0->R2/IGRP<-160.100.0.0-->R3
/IGRP(172.16.0.0,192.168.1.0)
IGRP is the only protocol that is used in R2. Config and output are at the
bottom of the message. I have comments in my config for what I'm trying to
do.
Thanks,
Chang
router igrp 100
timers basic 10 30 30 60
network 150.100.0.0
network 160.100.0.0
distance 105 <-- Change default to 105
distance 130 150.100.0.0 0.0.255.255 sub150 <-- modify 150.100.1.0 and 2.0
to 130
distance 192 192.168.1.0 0.0.0.255 sub192 <-- modify 192.168.1.0 to 192
distance 172 172.160.0.0 0.0.255.255 <-- Doyle's sample does not use
access-list
!
!
ip access-list standard sub150
permit 150.100.1.0 0.0.0.255
permit 150.100.2.0 0.0.0.255
ip access-list standard sub192
permit 192.168.1.0 0.0.0.255
----------------------------------------
Interfaces:
r2#siib
Interface IP-Address OK? Method Status
Prot
ocol
Ethernet0 160.100.77.121 YES NVRAM up
up
Ethernet1 unassigned YES NVRAM administratively down
down
Serial0 unassigned YES NVRAM administratively down
down
Serial1 150.100.11.2 YES NVRAM up
up
------------------------------------------
Routing table:
r2#sir
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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
I 172.160.0.0/16 [105/1600] via 160.100.77.125, 00:00:07, Ethernet0 <---
???
160.100.0.0/24 is subnetted, 1 subnets
C 160.100.77.0 is directly connected, Ethernet0
I 192.168.1.0/24 [105/1600] via 160.100.77.125, 00:00:07, Ethernet0 <---
???
150.100.0.0/24 is subnetted, 5 subnets
I 150.100.50.0 [105/160350] via 150.100.11.1, 00:00:04, Serial1
I 150.100.2.0 [130/160350] via 150.100.11.1, 00:00:04, Serial1 <---
Modified
I 150.100.1.0 [130/10576] via 150.100.11.1, 00:00:04, Serial1 <---
Modified
I 150.100.10.0 [105/8576] via 150.100.11.1, 00:00:05, Serial1
C 150.100.11.0 is directly connected, Serial1
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:56:50 GMT-3