This works for me: # NB: if a carp address is the lowest IP you will get duplicate # router-id's - maybe ospfd should ignore CARP interfaces when selecting # the host id?
router-id 1.2.3.4 area 0.0.0.0 { interface gif0 { } # link to another site interface gif1 { } # link to another site # ... interface vr1 { } # link to CARP peer interface carp1 { passive } interface carp2 { passive } interface carp3 { passive } } OSPF doesn't work over CARP interfaces. You need to connect to the rest of the OSPF cloud over "real" interfaces, and the CARP-connected networks should be stub networks where your actual hosts live. And CARP interfaces must be passive.