From: Jens Petter Eikeland (jenseike@start.no)
Date: Mon Sep 12 2005 - 12:20:29 GMT-3
Ok, I have done some reachearc and found what is happening to the router -
When you do redistribution here between eigrp and ospf (or any other
routing protocol.
Router eigrp 1
Network ( e0 )
Redistribute ospf 1
(the router will by default run this command)
Redistribute connected subnets route-map conn
Route-map default permit 10
Match interface e0
(This is what the router do when you add a network command
to the routing process to add the nets in to the routing table automaticly)
When you do a redistributed conected on the same router with a match int
Lo0
Router ospf 1
Redistribute connected subnet route-map conn
Route-map conn
Match int lo0
When you do this you will loose the Ethernet interface that you advertised
in to eigrp
from the routing table and you will breake the redistribution process that
eigrp did on its connected interfaces. This is a default behaviour of cisco
routers.
You can solve this by doing in ospf :
Redistributed connected permit 10 route-map conn
Route-map conn
Match interface e0
In addition to the connected loopback you redistributed in earlier
Hope this explain this for you. This is a behaivur that the router has, and
this is something you need to think of when you do redistribution on a
border router
Jens P
-----Opprinnelig melding-----
Fra: nobody@groupstudy.com [mailto:nobody@groupstudy.com] Pe vegne av
Ali.Huang
Sendt: 12. september 2005 13:35
Til: Cisco certification
Emne: redistribution between eigrp and ospf
hi,group,
Topo:R1---ospf-----(s0)R2(e0)---eigrp
I do bi-direction redistribution.work well.and the subnet of e0 was
diaplayed in R1 routing table.But when I want to redistribute loopback0 of
R2 into ospf domain,use the following clauses;
route-map CON permit 10
match interface Loopback0
router ospf 10
redistribute connected metric-type 1 metric 100 subnets route-map CON
The subnet of e0 disappeares from R1 routing table,and the loopback0 of R2
OK.If removes the redistribute connected,OK.it come back.who can tell me
why?
THX.
Ali.huang
This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:14 GMT-3