Routes for interface

Joe Holden joe at
Mon Apr 24 16:08:20 UTC 2006

Ludovit Koren wrote:
> Hi,
> is there any possibility to set the routing statically on a multi-homed
> host so, that the packet is sent back via the same interface, as it has
> came from? Something like more default routes (it is not good name for
> it, I hope you can understand what I mean), depending on particular
> interface.
> Thanks.
> Regards,
> lk
> _______________________________________________
> freebsd-net at mailing list
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at"

You could probably achieve this using IPFW FWD (this is how I achieve
something similiar). Either using ipfw fwd $GW1 ip from any to any via
$INT1, or using an ip range, ie; ipfw fwd $GW2 ip from to any
 or something.

Joe Holden
finger joe at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-net mailing list