FreeNAS 11, Jails, no IPv6

Status
Not open for further replies.

technopop

Dabbler
Joined
Sep 14, 2015
Messages
32
I'm not sure what I'm doing wrong here....

The host gets an autoconf address fine. I'm able to get to the GUI via the IP6 address.

The jails don't get an autoconf address from the dhcp6 server.

If I set it manually in the jail settings, ifconfig shows the address but trying to ping my router, I get


# ping6 2607:f2c0:f00f:e600::1
ping6: UDP connect: Can't assign requested address



ifconfig on the statically assigned jail... I don't see that fe80:::: /56 address like I see in the host and the autoconf jails.


# 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>
groups: lo
epair6b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 82:9f:a3:79:60:ad
inet 192.168.73.18 netmask 0xffffff00 broadcast 192.168.73.255
inet6 2607:f2c0:f00f:e600:1::2 prefixlen 56 tentative
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair


ifconfig epair6a and ethernet em1 on the host


root@storage:~ # ifconfig epair6a
epair6a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 02:ff:e0:00:0b:0a
nd6 options=1<PERFORMNUD>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active
groups: epair

root@storage:~ # ifconfig em1
em1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=42098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO>
ether 00:25:90:db:42:b2
inet 192.168.73.15 netmask 0xffffff00 broadcast 192.168.73.255
inet6 fe80::225:90ff:fedb:42b2%em1 prefixlen 64 scopeid 0x2
inet6 2607:f2c0:f00f:e600:2::1241 prefixlen 56
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active

 

technopop

Dabbler
Joined
Sep 14, 2015
Messages
32
I enabled the epair#b interface and it works.

ifconfig epair#b inet6 2607:####:####::#### prefixlen 56

However, if I modify rc.conf and put a line

ifconfig_epair#b_ipv6="inet6 ####:####::#### prefixlen 56"

and restart, that line gets removed and I'm back to setting it by hand again.

What's the proper way to do this or how can I get around freenas rewriting the jail's rc.conf file?
 
D

dlavigne

Guest
Please create a bug report at bugs.freenas.org and post the issue number here.
 

blubberor

Dabbler
Joined
Jan 31, 2016
Messages
40
for me
ifconfig epair#b inet6 2607:####:####::#### prefixlen 56 --> I addapted it accrodingly (full IP and prefixlen 64)
did not work as a workaround

Code:
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>							 
	   groups: lo															
epair1b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 
	   options=8<VLAN_MTU>													
	   ether 16:87:aa:3c:14:c2												
	   inet 192.168.**.** netmask 0xffffff00 broadcast 192.168.**.**	
	   inet6 fe80::****:****:****:14c2%epair1b prefixlen 64 scopeid 0x2		
	   inet6 fd00::****:****:****:14c2 prefixlen 64 autoconf				 
	   inet6 ****:908:***:****:****:****:****:14c2 prefixlen 64				
	   nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>				
	   media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)					
	   status: active														
	   groups: epair


is there any temporary workaround that would make it work.
Would love to get access to the jails. Access to freenas works very nice.

thanks,
blubberor
 

blubberor

Dabbler
Joined
Jan 31, 2016
Messages
40
thanks. saw this already and thought there might be a manual workaround.
for whatever reason after some time 2 of my jails (nextcloud and plexmediaserve) get a IPv6 and at least yesterday for some hours I could access nextcloud - stopped working though. Keeps having the right config and keeps having the external IPv6...
emby does not get any IPv6 e.g.
 
Status
Not open for further replies.
Top