Re: IPv4 addresses clash / jails not working after reboot…

Łukasz Wąsikowski lukasz at wasikowski.net
Fri Apr 12 16:53:35 UTC 2013


W dniu 2013-03-08 00:22, Jamie Gritton pisze:

> You're allowed to have the same address in multiple jails, but only in
> the case of jails that have one address (i.e. one IPv4 address in this
> case). Jails with multiple IP addresses can't share any of those
> addresses with other jails. I don't know why it should work once and
> then not work later though.

That's not true. You can have multiple IPs in jails. You can have
multiple jails sharing the same IP. You can have multiple jails sharing
the same multiple IPs. So:

jail1: ipv4_ip1
jail2: ipv4_ip2, ipv6_ip1, ipv6_ip2
jail3: ipv4_ip2, ipv6_ip1, ipv6_ip2

will work. But configuration like this:

jail1: ipv4_ip1
jail2: ipv4_ip2, ipv6_ip1, ipv6_ip2
jail3: ipv4_ip2, ipv6_ip1

will not, because jail2 and jail3 share only some IPs. I've tried
configuration like this on 9.1-STABLE around december 2012 and it ended
with panic. So I'm using the configuration from the first example and it
works ok.

-- 
best regards,
Lukasz Wasikowski


More information about the freebsd-jail mailing list