Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2011 10:59:20 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        Jack Raats <jack@jarasoft.net>
Cc:        "freebsd-questions@freebsd.org questions" <freebsd-questions@freebsd.org>
Subject:   Re: network with two gateways and one network card
Message-ID:  <03F554F4-6A38-49AF-8F30-CC84021BC7EA@lassitu.de>
In-Reply-To: <57569DC83A5648F39AF0F0D1525CFA16@jarasc430>
References:  <57569DC83A5648F39AF0F0D1525CFA16@jarasc430>

next in thread | previous in thread | raw e-mail | index | archive | help
Please don't crosspost.

Am 15.12.2011 um 19:43 schrieb Jack Raats:

> I have a question. Perhaps soeone can point me to a solution.
>=20
> I have a server running FreeBSD 7.4-STABLE with one network card =
running ezjail
> My network has two gateways.
>=20
> The host is running as 10.10.10.10 netmask 255.255.255.0 with gateway =
10.10.10.1
> The jail must be running 192.168.178.10 netmask 255.255.255.0 with =
gateway 192.168.178.1
>=20
> Is this possible?
> How to do it??
> What kind of problems to expect?

Look at kernel option ROUTETABLES and setfib(1).

If you're adventurous, check out VIMAGE.


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03F554F4-6A38-49AF-8F30-CC84021BC7EA>