ipv6 in jails

Status
Not open for further replies.

thedeadzone

Dabbler
Joined
Feb 13, 2014
Messages
20
Hey there,
So since its seems that ipv6 is should now work in Jails, i tried to set it up so that I can reach my jails from the outside.
I already can reach every service and the web gui via the ipv6 Address of freenas, so this is properly configured.

My problem now is to get the interface inside the jails take a ipv6 address.
I tried setting the interface to
  • No Vimage
  • Vimage
  • Vimage + Nat
Neither of these seemed to make any difference
I added the information to the configuration tab of the jails page:
Code:
Ipv6-Network: 2a02:908:d012:e000::/57
IPv6 Network Start Address: 2a02:908:d012:e000::/57
IPv6 Network End Address: 2a02:908:d012:e07f:ffff:ffff:ffff:ffff/57


Output of ifconfig shows the following :
Code:
root@plexmediaserver_1:/ # ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
epair1b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=8<VLAN_MTU>
        ether 02:47:5c:00:0e:0b
        inet 192.168.178.22 netmask 0xffffff00 broadcast 192.168.178.255
        nd6 options=1<PERFORMNUD>
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active


Did someone already get it to work or can point me in the right direction to get ipv6 working in the freenas jails.
 
D

dlavigne

Guest
Is this on the latest nightly in the 9.3 series? There it should "just work" and if it isn't, create a bug report and post the issue number here. It probably does not work at all in 9.2.x.
 

thedeadzone

Dabbler
Joined
Feb 13, 2014
Messages
20
Ah thanks for the info thought it was working in 9.2.x since the options are there. Will upgrade to 9.3 and try again.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Ah thanks for the info thought it was working in 9.2.x since the options are there. Will upgrade to 9.3 and try again.

You might not want to do that, since 9.3 is pre-beta, currently...
 
D

dlavigne

Guest
If you can try on a test system that would be great, let us know if it is working as expected before BETA.
 
Status
Not open for further replies.
Top