network with two gateways and one network card

Stefan Bethke stb at lassitu.de
Wed Dec 21 09:59:23 UTC 2011


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.
> 
> I have a server running FreeBSD 7.4-STABLE with one network card running ezjail
> My network has two gateways.
> 
> 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
> 
> 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

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811





More information about the freebsd-questions mailing list