Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2005 15:56:49 -0700
From:      Avleen Vig <lists-freebsd@silverwraith.com>
To:        Mario Lobo <mario.lobo@ipad.com.br>
Cc:        freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Forcing a packet through an interface (OT?)
Message-ID:  <20050711225649.GY11612@silverwraith.com>
In-Reply-To: <42D2A405.10443.923658@localhost>
References:  <42D2A405.10443.923658@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050711225649.GY11612>