Mars G. Miro | 12 Jun 2012 14:32
Picon

ifconfig not seeing IPv6 in x86 jail

Hi Guys

	I've just noticed this now, and I usually build jails (including x86 
jails for my x86 systems) for custom-building my base and ports, for 
pkg_add'ing later. It works great(!), and I've done this evar since 
we've been able to cross-build.

	It seems that ifconfig doesn't see the IPv6 address in an x86 jail ?

mars <at> spry832x86:~> sysctl security.jail.jailed
security.jail.jailed: 1

mars <at> spry832x86:~> ifconfig
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
         ether 00:22:19:17:e5:9a
         inet 172.17.83.2 netmask 0xffffffff broadcast 172.17.83.2
         nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
         ether 00:22:19:17:e5:9b
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         options=3<RXCSUM,TXCSUM>

But I know I'm on IPv6:

mars <at> spry832x86:~> w
  8:28PM  up 8 days,  6:27, 1 user, load averages: 0.00, 0.00, 0.00
(Continue reading)

Jamie Gritton | 13 Jun 2012 23:21
Picon
Favicon

Re: ifconfig not seeing IPv6 in x86 jail

A PR sounds appropriate if it's not doing what it should. Just to be
sure: this is an x86 jail on an x86 system? I want to make sure it's
a jail issue and not a 32-bit emulation issue.

- Jamie

On 06/12/12 06:32, Mars G. Miro wrote:
> Hi Guys
>
> I've just noticed this now, and I usually build jails (including x86
> jails for my x86 systems) for custom-building my base and ports, for
> pkg_add'ing later. It works great(!), and I've done this evar since
> we've been able to cross-build.
>
> It seems that ifconfig doesn't see the IPv6 address in an x86 jail ?
>
> mars <at> spry832x86:~> sysctl security.jail.jailed
> security.jail.jailed: 1
>
> mars <at> spry832x86:~> ifconfig
> bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>
> options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
> ether 00:22:19:17:e5:9a
> inet 172.17.83.2 netmask 0xffffffff broadcast 172.17.83.2
> nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
> bge1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>
> options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
> ether 00:22:19:17:e5:9b
(Continue reading)

Mars G. Miro | 14 Jun 2012 02:31
Picon

Re: ifconfig not seeing IPv6 in x86 jail

On 6/14/2012 5:21 AM, Jamie Gritton wrote:
> A PR sounds appropriate if it's not doing what it should. Just to be
> sure: this is an x86 jail on an x86 system? I want to make sure it's
> a jail issue and not a 32-bit emulation issue.
>
> - Jamie
>
>

It's an x86 jail on an amd64 host.

> On 06/12/12 06:32, Mars G. Miro wrote:
>> Hi Guys
>>
>> I've just noticed this now, and I usually build jails (including x86
>> jails for my x86 systems) for custom-building my base and ports, for
>> pkg_add'ing later. It works great(!), and I've done this evar since
>> we've been able to cross-build.
>>
>> It seems that ifconfig doesn't see the IPv6 address in an x86 jail ?
>>
>> mars <at> spry832x86:~> sysctl security.jail.jailed
>> security.jail.jailed: 1
>>
>> mars <at> spry832x86:~> ifconfig
>> bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
>> 1500
>>
>> options=8009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE>
>>
(Continue reading)


Gmane