On Mon, Apr 09, 2007 at 02:03:21PM -0400, Frangois Rousseau wrote:
> Hi Claudio,
> 
> I have double check on my lab and everything work fine for the OSPF
> part, sorry for my mistake.
> 
> But at the end, I'm still having the same problem: the server didn't
> know the right route.
> 
> OSPF see all the route correctly but the system didn't seem to be
> updated.  If I do "route show" I only see the local route pointing
> directly to the CARP device instead of pointing to the other router.
> 
> route show give me something like this when my cable is unplug from
> the "carp" interface:
> 83.201.77/24    link#10    UC   0   0   -   carp1
> 
> What do you think it can be?
> 

ospfd will never overwrite already present routes (unless they have came
from bgpd). So the carp route can not be changed.
AFAIK you only get such a network if you are using a unnumbered parent
device. Could you try to give the parent interface an IP address out of
83.201.77/24 -- this should change the link local route to this network to
the real interface. This will solve the problem in case the box is BACKUP.
There is still a problem when you unplug the network. In this case packets
hitting that box will get dropped. This can only be fixed if the kernel
is able to change the RTF_UP flag depending on the link state.

-- 
:wq Claudio


> 
> 
> 2007/4/7, Claudio Jeker <[EMAIL PROTECTED]>:
> >On Sat, Apr 07, 2007 at 12:21:19PM -0400, Frangois Rousseau wrote:
> >> But how I'm suppose to annonce the route for the right carp interface?
> >> Right now my servers can always reach the router because of the CARP
> >> interface but the router can't always reach the servers...
> >>
> >> If I unplug the cable of my CARP interface (bge2 for example), all
> >> traffic from this router (directly from him or from my upstream
> >> provider) can't reach the servers because the router still have only 1
> >> route going directly to his bge2 interface (the interface with carp)
> >> and he have no clue of the MASTER interface.
> >>
> >> Maybe I'm worng  and OSPF is not the solution.
> >>
> >> What I try to do is to have a redundant gateway for my servers (CARP)
> >> and I want to have 2 upstreams provider with BGP (multihoming)
> >>
> >> I need a way for this 2 routers to talk to each other and share their
> >> internal routes to know how to reach both of the "exit" point (route
> >> to both upstream provider) and how to reach the MASTER interface of
> >> every CARP group.
> >>
> >> Any idea?
> >>
> >
> >If you are just running with two routers you don't need to use OSPF.
> >Use CARP for the inside network, setup the upstream sessions on each
> >router (perhaps even using "depend on carp" to fail over the sessions) and
> >setup a IBGP session between the two routers -- best via a dedicated
> >interface. Set "set nexthop self" on the IBGP sessions and you should be
> >fine.
> >
> >--
> >:wq Claudio

Reply via email to