lo0's IPv6 address overwritten

JAKO Andras jako.andras at eik.bme.hu
Fri Apr 10 10:28:59 PDT 2009


> > 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 at 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 2001:738:2001:1000::2 prefixlen 128
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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 at splash...:/usr/obj/usr/src/sys/SPLASH  amd64

Andras


More information about the freebsd-jail mailing list