From: Scott Morris (smorris@ipexpert.com)
Date: Sun Dec 16 2007 - 16:10:18 ART
I think there are others out there who can reply to this as well, you
needn't single me out as the only authority. :)
So what is your router doing with that distance command, anything? How
else is it learning about the route(s)?
If you have a router 10.0.1.0/24, try looking at "show ip ospf database | in
10.0.1.0" and see what you see. (e.g. are you learning that route
internally as well?)
Are you sure you're learning that as the ASBR's router-id?
Try putting your distance command as "distance 80 0.0.0.0 255.255.255.255 1"
and see what gives.
We have to be able to spot what the router IS doing to try to figure out why
it's not doing what we want. :)
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE-M
#153, JNCIS-ER, CISSP, et al.
CCSI/JNCI-M/JNCI-ER
VP - Technical Training - IPexpert, Inc.
IPexpert Sr. Technical Instructor
A Cisco Learning Partner - We Accept Learning Credits!
Telephone: +1.810.326.1444
Fax: +1.810.454.0130
http://www.ipexpert.com
_____
From: Sridhar Vaidyanathan [mailto:vsridhar83@gmail.com]
Sent: Sunday, December 16, 2007 11:15 AM
To: smorris@ipexpert.com
Cc: Cisco certification
Subject: Scott, Please help with DISTANCE command!!
Hi Scott,
Following is a scenario, which I have asked before but couldn't find a
suitable reply.
EIGRP OSPF
----------R1-----------R2
EIGRP OSPF |
----------R3------------|
Both R1 and R3 is redistributing EIGRP routes into OSPF. R3 would load
balance across the 2 routers to reach EIGRP routes assuming that R1 and R3
are passing the EIGRP routes with metric-type of E2 and an equal metric.
I am using DISTANCE command at R2 to match the route which should be
preferred via R3. The route is being learned from both R1 and R3 as mutual
redistribution has been configured between OSPF and EIGRP on both R1 and R3.
I am also using the source ip address as the router-id of the R3 in the
distance command. Below is the configuration on R2
router ospf 1
distance 80 3.3.3.3 0.0.0.0 1 (Where 3.3.3.3 is the router-id of R3)
access-list 1 permit 192.168.1.0 0.0.0.255
This however, is not working. The above configuration changes the AD for
both the routes from both R1 and R3.
Please help me in understanding and solving this.
Thanks,
Sridhar.
This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:31 ARST