Hi !
I've been searching the forum and the internets for 3 days now without any success, so I'm opening this post.
I've been trying to setup IPv6 on my 11.1RELEASE iocage jails, but have failed.
The IPv6 addresses seem to work (they're here ?), but if i ping or try to access the web server of the jail, it goes to the FreeNAS box : passthrough to the jail isn't there (?)
Same things happen from across the internet, from an other computer on my local network, or from the FreeNAS box itself (an ssh to the jail's IPv6 goes to the FreeNAS box)
my setup :
- on the freenas box
the epair is for an old jail that i still have to migrate to iocage.
inside of the jail :
the box in itself :
old Gigabyte Mobo for dual AMD Opteron 2373 EE
32Go DDR2 ECC
single pair of same brand on board GB NIC
the jail is perfectly accessible from IPv4.
but having the crappy ISP router i have, I need to use IPv6 to circumvent the lack of loopback or DNS setup functionalities, as well as the semi dynamic IPv4 address (may or may not change upon a router reboot, purely random)
I could use some pointers, or some voodoo even.
I've been searching the forum and the internets for 3 days now without any success, so I'm opening this post.
I've been trying to setup IPv6 on my 11.1RELEASE iocage jails, but have failed.
The IPv6 addresses seem to work (they're here ?), but if i ping or try to access the web server of the jail, it goes to the FreeNAS box : passthrough to the jail isn't there (?)
Same things happen from across the internet, from an other computer on my local network, or from the FreeNAS box itself (an ssh to the jail's IPv6 goes to the FreeNAS box)
my setup :
- on the freenas box
Code:
root@fnas:~ # ifconfig nfe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c2099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,LINKSTATE> ether 00:24:1d:ea:fa:e6 hwaddr 00:24:1d:ea:fa:e6 inet 192.168.1.40 netmask 0xffffff00 broadcast 192.168.1.255 inet 192.168.1.202 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::224:1dff:feea:fae6%nfe0 prefixlen 64 scopeid 0x1 inet6 XXXX:XXXX:XXXX:XX00:e8d2:56c8:846:1 prefixlen 56 inet6 XXXX:XXXX:XXXX:XX00:e8d2:56c8:846:1000 prefixlen 56 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active nfe1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE> ether 00:24:1d:ea:fa:e7 hwaddr 00:24:1d:ea:fa:e7 inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (1000baseT <full-duplex>) status: active 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 0x3 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 02:df:85:dd:5a:00 nd6 options=1<PERFORMNUD> groups: bridge id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 5 priority 128 path cost 2000 member: nfe0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 20000 epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 02:79:90:00:05:0a hwaddr 02:79:90:00:05:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair root@fnas:~ # iocage get all NextCloud | grep ip allow_sysvipc:0 ip4:new ip4_addr:nfe0|192.168.1.202/24 ip4_saddrsel:1 ip6:new ip6_addr:nfe0|XXXX:XXXX:XXXX:XX00:e8d2:56c8:846:1000/56 ip6_saddrsel:1 root@fnas:~ # iocage get all NextCloud | grep route defaultrouter:none defaultrouter6:none root@fnas:~ # iocage get all NextCloud | grep vnet interfaces:vnet0:bridge0 vnet:off vnet0_mac:none vnet1_mac:none vnet2_mac:none vnet3_mac:none vnet_interfaces:none
the epair is for an old jail that i still have to migrate to iocage.
inside of the jail :
Code:
root@NextCloud:~ # cat /etc/rc.conf host_hostname="NextCloud" cron_flags="$cron_flags -J 15" # Disable Sendmail by default sendmail_enable="NONE" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" # Run secure syslog syslogd_flags="-c -ss" # services sshd_enable="YES" apache24_enable="YES" #redis_enable="YES" # IPv6 ipv6_activate_all_interfaces="YES" ifconfig_rl0_ipv6="inet6 accept_rtadv" rtsold_enable="NO" #rtsold_enable="YES" ifconfig_nfe0_ipv6="XXXX:XXXX:XXX:XX00:e8d2:56c8:846:1000/56" ipv6_defaultrouter="XXXX:XXXX:XXXX:XX00:e8d2:56c8:846:1" root@NextCloud:~ # ifconfig nfe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c2099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWTSO,LINKSTATE> ether 00:24:1d:ea:fa:e6 hwaddr 00:24:1d:ea:fa:e6 inet 192.168.1.202 netmask 0xffffff00 broadcast 192.168.1.255 inet6 XXXX:XXXX:XXXX:XX00:e8d2:56c8:846:1000 prefixlen 56 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active nfe1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=c219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO,LINKSTATE> ether 00:24:1d:ea:fa:e7 hwaddr 00:24:1d:ea:fa:e7 nd6 options=9<PERFORMNUD,IFDISABLED> media: Ethernet autoselect (1000baseT <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 02:df:85:dd:5a:00 nd6 options=1<PERFORMNUD> groups: bridge id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 5 priority 128 path cost 2000 member: nfe0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP> ifmaxaddr 0 port 1 priority 128 path cost 20000 epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8<VLAN_MTU> ether 02:79:90:00:05:0a hwaddr 02:79:90:00:05:0a nd6 options=1<PERFORMNUD> media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>) status: active groups: epair
the box in itself :
old Gigabyte Mobo for dual AMD Opteron 2373 EE
32Go DDR2 ECC
single pair of same brand on board GB NIC
the jail is perfectly accessible from IPv4.
but having the crappy ISP router i have, I need to use IPv6 to circumvent the lack of loopback or DNS setup functionalities, as well as the semi dynamic IPv4 address (may or may not change upon a router reboot, purely random)
I could use some pointers, or some voodoo even.
Last edited by a moderator: