[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] using the same IP address in different jails



Dan,

I've admired your work on ezjail and used it for many years.

I think that you need to think this one through though.  If an external
packet hits your system which jail should respond?  And when the packet
comes back, which machine should it come back to.

I have lots of machines at customer sites with lots of jails, and the IP
addreses are unique per jail.  Its makes it clean and "dumpable" via
tcpdump.  If you really want to share IP's then lagg may be your friend(?).

I use jail addressing like this, maybe there's a clue :)
orange: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet 192.168.6.1 netmask 0xffffff00
        inet 192.168.6.131 netmask 0xffffffff
        inet 192.168.6.155 netmask 0xffffffff
sage: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet 10.6.1.155 netmask 0xffffff80
        inet 10.6.1.149 netmask 0xffffffff
        inet 10.6.1.156 netmask 0xffffffff

Kind regards, Dewayne
PS and thank-you for ezjail, it has made my computing life, a lot of fun.