Skip site navigation (1)Skip section navigation (2)
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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD65881EA323E2347900567EF
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Ludovit Koren wrote:
>=20
> Hi,
>=20
> 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.
>=20
>=20
> Thanks.
>=20
> 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


--------------enigD65881EA323E2347900567EF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enigD65881EA323E2347900567EF--



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