Date: Thu, 19 Jan 2012 08:22:15 +0100 From: Denny Schierz <linuxmail@4lin.net> To: freebsd-stable@freebsd.org Subject: Re: Fighting with vnet / jails epair and so on Message-ID: <741811DB-240C-4390-A3B3-4BEFE8714942@4lin.net> In-Reply-To: <4F174607.9070707@fdrive.com.au> References: <C51D1B19-1616-4165-BC5E-A681241C8ED2@4lin.net> <4F174607.9070707@fdrive.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, Am 18.01.2012 um 23:21 schrieb Philipp Huebner: >=20 > I use 9.0.0 release for host and jail and a generic kernel with = OPTIONS > VIMAGE being the only change/addition. > No problem. so, how looks your rc.conf config ? Do you use vimage the tool? I can't = use vimage (as I know) on sparc64. What I did to get it working without /etc/rc.d/jail: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D jail -c vnet jid=3D"101" name=3Dtemplate = host.hostname=3Dtemplate.example.com path=3D/jails/template/ persist ifconfig epair0 create ifconfig bridge0 addm epair0a ifconfig epair0b vnet 101 jexec 101 ifconfig epair0b 192.168.1.2 netmask 255.255.255.0 jexec 101 route add default 192.168.1.1 ifconfig epair0a up =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ping 192.168.1.2 64 bytes from 192.168.1.2: icmp_seq=3D1 ttl=3D64 time=3D0.054 ms inside the Jail I have only "lo" and "epair0b" and it works :-) but even not from /etc/rc.conf and that is the problem. cu denny
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?741811DB-240C-4390-A3B3-4BEFE8714942>