On Sun, Oct 30, 2016 at 12:36:12PM +0100, Jasper Siepkes wrote: > Hi all, > > I've got a question about how OpenBSD deals with routes and interfaces > that are considerd 'down'. I've noticed that when an interface in > OpenBSD is down the route to that interface will remain in the routing > table and is also not flagged with R(eject). The route stays exactly > the same wheter the device is up or down. > > In Linux (and I have no idea wheter this is a good idea or not) the > route of the downed interface is removed.
Something similar was discussed in this thread: http://marc.info/?t=145999355300008&r=1&w=2 OpenBSD behaves different to what I know from routers I work with. There a route disapears when I shut an interface. > Is the above behavior normal? WHat should I do if I don't want to > route traffic to downed interfaces (like backup CARP interfaces). > > The reason why I'm asking is because I want to route traffic somewhere > else with ifstated when a device goes in CARP backup mode (upstream > uses ECMP routing). But because the device route of the downed > interface (the interface being a CARP interface in backup mode in this > scenario) stays in the routing table with priority 1 I can't > override it. Maybe a setup without carp on the interfaces towards your upstream would work better? But I can not tell based on the information you provide. Remi