On Tue, Dec 01, 2009 at 06:17:32AM -0500, stan wrote: > On Mon, Nov 30, 2009 at 11:29:00PM +0200, Jussi Peltola wrote: > > Not knowing your network I can only guess you don't want to mix CARP and > > OSPF on the "outside" interfaces. OSPF will handle the fail-over. > > > > CARP interfaces listed in ospfd.conf as passive will "just work" and get > > advertised in OSPF when they are master. > > > > You probably don't want redistribute connected; this will cause the > > CARP physical interface's route to be advertised even when the CARP > > interface is backup. > > > > Let me see if I understand. You are sugesting that I just use OSPF on the > outside, and not CARP at all? If that's the case, won't both routes be > advertised, if both interfaces are up? That's probably how it should work.
You want the routers to be two, normal OSPF routers. CARP is only needed to create a gateway address for the subnet they are serving. Assuming the "outside" is something like an OSPF backbone, you do not need or want CARP there (my crystal ball is rather foggy on your network). The routes to the "outside" network will get advertised. This is normal and they shouldn't get used, as the other routers in that network can reach it directly. The CARP routes will "just work" when you list the CARP interface (and only the CARP interface, not its physical interface) in ospfd.conf as passive, as explained by Stuart earlier.