From owner-freebsd-questions@FreeBSD.ORG Fri Feb 23 19:17:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A45516A401 for ; Fri, 23 Feb 2007 19:17:06 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id A793513C47E for ; Fri, 23 Feb 2007 19:17:05 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from tek.flintsbach.schmalzbauer.de (tek.flintsbach.schmalzbauer.de [172.21.2.3]) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l1NJGxGf045516 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 23 Feb 2007 20:17:04 +0100 (CET) (envelope-from h.schmalzbauer@omnisec.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [IPv6:fec0::1:0:0:1:1]) by tek.flintsbach.schmalzbauer.de (8.13.8/8.13.8) with ESMTP id l1NJGxcC080285; Fri, 23 Feb 2007 20:16:59 +0100 (CET) (envelope-from h.schmalzbauer@omnisec.de) Received: from localhost (localhost [[UNIX: localhost]]) by titan.flintsbach.schmalzbauer.de (8.13.8/8.13.8/Submit) id l1NJGwq5005335; Fri, 23 Feb 2007 20:16:58 +0100 (CET) (envelope-from h.schmalzbauer@omnisec.de) From: Harald Schmalzbauer Organization: OmniSEC To: freebsd-questions@freebsd.org Date: Fri, 23 Feb 2007 20:16:58 +0100 User-Agent: KMail/1.9.4 References: <80f4f2b20702231107p1cf7f4f3n5896aa7e8ef0ecaf@mail.gmail.com> In-Reply-To: <80f4f2b20702231107p1cf7f4f3n5896aa7e8ef0ecaf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200702232016.58706.h.schmalzbauer@omnisec.de> Cc: Jim Stapleton Subject: Re: problems with jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 19:17:06 -0000 Am Freitag, 23. Februar 2007 20:07 schrieb Jim Stapleton: > Jail: > sjss@elrond 14:04:11 (0) ~ > sudo jail /jail/ legolas 192.168.1.85 > /bin/csh %telnet 192.168.1.4 25 > Trying 192.168.1.4... > ^Z > Suspended > %kill %1 > [1] Terminated telnet 192.168.1.4 25 > %ifconfig -a > nve0: flags=3D8843 mtu 1500 > ether 00:13:d4:2e:2f:62 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=3D108810 mtu 1500 > lo0: flags=3D8049 mtu 16384 > > > OK, from host: > sjss@elrond 14:02:11 (0) ~ > ifconfig -a > nve0: flags=3D8843 mtu 1500 > inet 192.168.1.84 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:13:d4:2e:2f:62 > media: Ethernet autoselect (100baseTX ) > status: active You are missing ifconfig_nve0_alias0=3D"192.168.1.85/32" in rc.conf. The host hast to have the ip of a jail, network stak is not virtualized (ye= t?) =2DHarry > plip0: flags=3D108810 mtu 1500 > lo0: flags=3D8049 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > sjss@elrond 14:04:08 (0) ~ > jls > JID IP Address Hostname Path > 1 192.168.1.85 legolas /jail > > > > Is that what you needed > > Thanks, > -Jim Stapleton > > > Jim Stapleton wrote: > > > Thank you, that's at least useful testing, but it did not work. Jail > > > is definetly not getting any network action. > > > > > > Would a host netstat output be useful? I looks pretty cryptic. > > > > Can you please post the output of ifconfig and jls. From your rc.conf it > > seems the ipaddr. for the jail is not or wrong configured on your > > interface. > > > > greetings, > > philipp > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" =2D-=20 OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer =46lintsbacher Str. 3 80686 M=FCnchen +49 (0) 89 18947781 +49 (0) 160 93860101