Date: Tue, 31 Jan 2012 20:54:37 +0100 From: Dirk Engling <erdgeist@erdgeist.org> To: "Bender, Chris" <chris_bender@cellularatsea.com> Cc: freebsd-jail@freebsd.org Subject: Re: jails Message-ID: <4F2846FD.9020206@erdgeist.org> In-Reply-To: <assp.0377cb8f99.863259E16B6C464DAD1E9DD10BB311540582ED5D@wmsexg01.corp.cellularatsea.com> References: <863259E16B6C464DAD1E9DD10BB311540582ED4C@wmsexg01.corp.cellularatsea.com> <4F283FE6.1060905@erdgeist.org> <assp.0377cb8f99.863259E16B6C464DAD1E9DD10BB311540582ED5D@wmsexg01.corp.cellularatsea.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31.01.12 20:43, Bender, Chris wrote: > ifconfig_em0="inet 172.19.4.67 netmask 255.255.255.0 mtu 9000 polling > up" > ifconfig_em0_alias0="172.19.4.44 netmask 255.255.255.255" > ifconfig_em0_alias1="172.19.4.36 netmask 255.255.255.255" > ifconfig_em0_alias2="172.19.4.38 netmask 255.255.255.255" > ifconfig_em0_alias3="172.19.4.45 netmask 255.255.255.255" > ifconfig_em0_alias4="172.19.4.39 netmask 255.255.255.255" > ifconfig_em0_alias5="172.19.4.190 netmask 255.255.255.255" > ifconfig_em0_alias6="172.19.4.43 netmask 255.255.255.255" > ifconfig_em0_alias7="172.19.4.42 netmask 255.255.255.255" > ifconfig_em0_alias9="172.19.4.41 netmask 255.255.255.255" > ifconfig_em0_alias10="172.19.4.46 netmask 255.255.255.255" > ifconfig_em0_alias11="172.19.4.47 netmask 255.255.255.255" > ifconfig_em0_alias12="172.19.4.48 netmask 255.255.255.255" > ifconfig_em0_alias13="172.19.4.37 netmask 255.255.255.255" > # ifconfig_em0_alias2="172.19.4.32 netmask 255.255.255.255" > > # ifconfig_em0_alias8="172.19.4.200 netmask 255.255.255.255" This missing alias8 in the last line leads to alias_9-13 not being configured, as the ... rather stupid way of counting up variables with suffixes is very error prone and you may have just stepped into the trap. alias9="172.19.4.41" would have been tools2's IP address but that never was configured. You should use the new ipv4_addrs_em0="172.19.4.32 172.19.4.36-39 172.19.4.41-48 ..." Makro to avoid those pitfalls. > # ezjail > ezjail_enable="NO" This needs to be enabled, too. Regards, erdgeist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2846FD.9020206>