Re: network with two gateways and one network card

2012-01-12 Thread Fbsd8

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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: network with two gateways and one network card

2011-12-21 Thread Stefan Bethke
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 s...@lassitu.de   Fon +49 151 14070811



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


network with two gateways and one network card

2011-12-18 Thread 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?

Thanks for your time
Jack Raats
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org