Date: Fri, 8 Mar 2013 08:33:23 +0100 From: Yoann Gini <yoann.gini@gmail.com> To: Jamie Gritton <jamie@FreeBSD.org> Cc: freebsd-jail@FreeBSD.org Subject: =?windows-1252?Q?Re=3A_IPv4_addresses_clash_/_jails_not_working_?= =?windows-1252?Q?after_reboot=85?= Message-ID: <3A3AA496-E54D-4FEE-928C-C27B7EB3405F@gmail.com> In-Reply-To: <51392119.2090502@FreeBSD.org> References: <AB3DFF28-207C-44B1-AEF4-4331B7959436@gmail.com> <55865.68.255.104.38.1362619385.squirrel@cosmo.uchicago.edu> <6C130E1F-6CDC-4328-A300-5B483B8B4940@gmail.com> <513864D5.1070900@passap.ru> <B2490966-A735-4016-9176-19ABD576E485@gmail.com> <51392119.2090502@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jamie, Le 8 mars 2013 =E0 00:22, Jamie Gritton <jamie@FreeBSD.org> a =E9crit : > 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. >=20 > The jail config you show has only a single jail, so I also wonder what > it's clashing with - a clash is defined as the same IP address between > two different jails. Are there other jail configs you didn't show? OK! That=92s the point, I=92ve shown only one of the config because all = other are of the same kind, I=92ve write about it before, sorry if I was = not clear. So when using multiple IP for jails, you can=92t share one=85 That = weird=85 But that=92s the answer of my problems, I need to use NAT to = solve that I imagine. > Also, there's a chance a jail has been removed but is not yet gone > (though I wouldn't expected that case in a reboot situation). Could = you > run "jls -dn" immediately after the failed jail start, and tell any > output it gives? Here the output : devfs_ruleset=3D0 nodying enforce_statfs=3D2 host=3Dnew ip4=3Dnew = ip6=3Dnew jid=3D2 linux=3Dnew name=3D2 parent=3D0 = path=3D/home/jails/front0.public.example.com nopersist securelevel=3D-1 = allow.nochflags allow.nomount allow.mount.nodevfs allow.mount.nonullfs = allow.mount.noprocfs allow.mount.nozfs allow.noquotas allow.raw_sockets = allow.set_hostname allow.nosocket_af allow.sysvipc children.cur=3D0 = children.max=3D0 cpuset.id=3D3 host.domainname=3D"" host.hostid=3D0 = host.hostname=3Dfront0.public.example.com = host.hostuuid=3D00000000-0000-0000-0000-000000000000 = ip4.addr=3DSharedIPv4,10.42.0.2 ip4.saddrsel ip6.addr=3DIPv6Prefix::80 = ip6.saddrsel linux.osname=3DLinux linux.osrelease=3D2.6.16 = linux.oss_version=3D198144 And here is the jails list : STA JID IP Hostname Root Directory --- ---- --------------- ------------------------------ = ------------------------ DS N/A IPv6Prefix::2220 service0.private.example.com = /home/jails/service0.private.example.com N/A 10.42.0.4 N/A SharedIPv4 DR 2 IPv6Prefix::80 front0.public.example.com = /home/jails/front0.public.example.com 2 SharedIPv4 2 10.42.0.2 I=92ve remove the gateway one to move VPN services on the host, what I = read about VPN on a jails seems too much complicated. Thanks for your help !!=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A3AA496-E54D-4FEE-928C-C27B7EB3405F>