Date: Mon, 24 Apr 2006 17:08:05 +0100 From: Joe Holden <joe@joeholden.co.uk> To: Ludovit Koren <lk@tempest.sk> Cc: freebsd-net@freebsd.org Subject: Re: Routes for interface Message-ID: <444CF7E5.7030209@joeholden.co.uk> In-Reply-To: <87k69f0ydi.fsf@lk107.tempest.sk> References: <87k69f0ydi.fsf@lk107.tempest.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" 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 1.2.3.4/24 to any or something. Thanks, Joe Holden finger joe@joeholden.co.uk [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFETPfldQJXshOm0ecRAi8CAKCC/Yo+Sr7JgHajZF9Q/2jQ0/gOZgCfRJU3 76YHVDzfeFohC/vPoioPX6w= =aBd5 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444CF7E5.7030209>
