network with two gateways and one network card

Fbsd8 fbsd8 at a1poweruser.com
Thu Jan 12 08:32:38 UTC 2012


Jack Raats wrote:
> I have a question. Perhaps someone 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?
> 
> Thanks for your time
> Jack Raats
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 

No you can not use those ip address to connect directly to the public 
internet. Those IP address are reserved for private lan use only.
You have to explain how you are connected to the public internet and a 
diagram of your network would go a long way to help us to understand 
your setup. Also qjail far exceeds the ability that ezjail gives you. 
Check out the qjail port.


More information about the freebsd-questions mailing list