Forcing a packet through an interface (OT?)

Avleen Vig lists-freebsd at silverwraith.com
Mon Jul 11 22:56:52 GMT 2005


On Mon, Jul 11, 2005 at 04:53:25PM -0300, Mario Lobo wrote:
> Forgive me if this is off-topic.
> How could I force a packet to go out through an interface,
> despite the default route?

You have a couple of options.
Look at CARP in 5.4, that might do what you want best.
  man 4 carp

Also google for: ipfw policy routing
that is slightly different, but if you are going tests to see when a
link goes up and down, and can change your firewall rules based on that,
that would work I think.


More information about the freebsd-hackers mailing list