Re: jails and multple interfaces
- From: Milan Obuch <freebsd-stable@xxxxxxx>
- Date: Wed, 31 Jan 2007 12:21:33 +0100
On Wednesday 31 January 2007 11:40, Jeffrey Williams wrote:
Milan Obuch wrote:...
On Wednesday 31 January 2007 11:06, Jeffrey Williams wrote:
Hi Folks,
I am trying to set a jail hosting server to support multiple jails for
development testing.
The server has two network interfaces, I am configuring one for host
server to use, and the other with several aliased IPs, one for each of
the jail servers.
All the services running on the host are configured to bind to the host
IP on the first interface.
Why are you doing this? Are your addresses from the same network segment?
I am binding my jail addresses to loopback interface and route them -
this way you could easily start take-over jail on another machine and
change routing table (or use dynamic routing) to minimize downtime on
hardware upgrades, big OS upgrades etc. I do not consider this the best
way, but it just satisfy my needs.
Regards,
Milan
I want to segregate the jail and jail host traffic on separate interfaces.
What do you mean with segregate? Why do you need them going through two
physical interfaces? Maybe I just can't see my nose between eyes, but I do
not understand the purpose of doing so.
How do you route traffic off you loopback interface? by definition, this
interface only allows the network stack to talk to itself?
There is nothing special there - my physical interface address is from one
segment, there is route added on upstream router for loopback bound
addresses. It is not true you are able to talk only to itself with loopback
address, it is true only for loopback address (127.0.0.1/8). All my tests
shows it works the way I want. Actually in jail you see only one IP address
on an interfaces, and regardless which one, all traffic from jailed process
uses this address as source address. Routing is done in host stack in any
case.
Regards,
Milan
--
This address is used only for mailing list response.
Do not send any personal messages to it, use milan in
address instead.
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: jails and multple interfaces
- From: Jeffrey Williams
- Re: jails and multple interfaces
- References:
- jails and multple interfaces
- From: Jeffrey Williams
- Re: jails and multple interfaces
- From: Milan Obuch
- Re: jails and multple interfaces
- From: Jeffrey Williams
- jails and multple interfaces
- Prev by Date: Re: impossible rc.d ordering problem with stf and pf ?
- Next by Date: Re: jails and multple interfaces
- Previous by thread: Re: jails and multple interfaces
- Next by thread: Re: jails and multple interfaces
- Index(es):
Relevant Pages
|
|