From owner-freebsd-jail@FreeBSD.ORG Fri Apr 10 17:28:59 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F603106566C for ; Fri, 10 Apr 2009 17:28:59 +0000 (UTC) (envelope-from goya@eik.bme.hu) Received: from mono.eik.bme.hu (mono.eik.bme.hu [IPv6:2001:738:2001:2001::2001]) by mx1.freebsd.org (Postfix) with ESMTP id A33F48FC1C for ; Fri, 10 Apr 2009 17:28:58 +0000 (UTC) (envelope-from goya@eik.bme.hu) Received: from localhost (localhost [127.0.0.1]) by mono.eik.bme.hu (Postfix) with ESMTP id CB15726B; Fri, 10 Apr 2009 19:28:57 +0200 (CEST) X-Virus-Scanned: amavisd-new at eik.bme.hu Received: from mono.eik.bme.hu ([127.0.0.1]) by localhost (mono.eik.bme.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mBV2BLvm5v4J; Fri, 10 Apr 2009 19:28:57 +0200 (CEST) Received: by mono.eik.bme.hu (Postfix, from userid 884) id 9F5CF57B; Fri, 10 Apr 2009 19:28:57 +0200 (CEST) Date: Fri, 10 Apr 2009 19:28:57 +0200 (CEST) From: JAKO Andras X-X-Sender: goya@mono To: "Bjoern A. Zeeb" In-Reply-To: <20090410165753.U15361@maildrop.int.zabbadoz.net> Message-ID: References: <20090410135647.E15361@maildrop.int.zabbadoz.net> <20090410165753.U15361@maildrop.int.zabbadoz.net> Organization: Budapest University of Technology and Economics - Division of Telecommunications and Informatics X-GPG-public_key: http://splash.eik.bme.hu/JakoAndras-pubkey.asc X-GPG-fingerprint: 59B59365 - 6A25 5EEC C11D 41FB 2EE8 F171 F77C F862 59B5 9365 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-jail@freebsd.org Subject: Re: lo0's IPv6 address overwritten X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 17:28:59 -0000 > > I found that when I start a telnet in the jail to an arbitrary global IPv6 > > address, lo0's ::1 changes to the jail's IPv6 address. The routing table > > doesn't change. > > telnet to where? To the jail IP? To an IP of the base system? To world? I started telnet inside the jail, to the world: [root@splash /usr/home/goya]# jail -l -U root -i /usr/jail/ro.noc r-noc.net.bme.hu "2001:738:2001:1000::2" /bin/sh 1 # ifconfig lo0 ; ifconfig lo1 lo0: flags=8049 metric 0 mtu 16384 lo1: flags=8049 metric 0 mtu 16384 inet6 2001:738:2001:1000::2 prefixlen 128 # telnet 2001:738::abcd Trying 2001:738::abcd... ^C# # ifconfig lo0 ; ifconfig lo1 lo0: flags=8049 metric 0 mtu 16384 inet6 2001:738:2001:1000::2 prefixlen 128 lo1: flags=8049 metric 0 mtu 16384 inet6 2001:738:2001:1000::2 prefixlen 128 > Which version of RELENG_7 are you on (as what does a few days mean)? amd64, 7 April: FreeBSD r-noc.net.bme.hu 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #8: Tue Apr 7 23:15:27 CEST 2009 root@splash...:/usr/obj/usr/src/sys/SPLASH amd64 Andras