[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

v6 link-local address



Hi,

how do you add a link-local v6 address to a jail? I'm on FreeBSD
10.0-RELEASE-p2 with ezjail-3.3. I have configured the following:

export jail_test_ip="em0|fe80::8"

After I start the jail, the ip is configured on the interface:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
        ether 00:22:4d:84:8f:5d
        inet6 fe80::222:4dff:fe84:8f5d%em0 prefixlen 64 scopeid 0x1
        inet6 fe80::1%em0 prefixlen 64 scopeid 0x1
        inet 192.168.1.11 netmask 0xffffffff broadcast 192.168.1.11
        inet 192.168.1.8 netmask 0xffffffff broadcast 192.168.1.8
        inet6 fe80::8%em0 prefixlen 64 scopeid 0x1
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

But inside the jail, the ip is missing:
root@test:~ # ifconfig
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
        ether 00:22:4d:84:8f:5d
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

I also tried to configure "fe80::8%em0", which is refused by jail.
Any hints?

-- 
gruß
 alex