I found my own solution, unfortunately support weren't able to come up with how to make the IPV4 subnet routed instead of NAT. When it's on NAT it can't work with the IPV6's.So here is how on centos (I do not take credit for this other than using Google to find it):
/etc/sysconfig/network-scripts/ifcfg-enp2s0Code DEVICE=enp2s0
BOOTPROTO=none
ONBOOT=yes
HWADDR=08:60:6E:46:FB:46 ---> main mac address
BRIDGE=viifbr0
IPV6INIT=yes
/etc/sysconfig/network-scripts/ifcfg-viifbr0
Code DEVICE=viifbr0
BOOTPROTO=none
ONBOOT=yes
HWADDR=08:60:6E:46:FB:46 ---> main mac address again
IPADDR=144.76.56.xx ---> main ip address
NETMASK=255.255.255.224
SCOPE="peer 144.76.56.xx" ---> main gateway
IPV6INIT=yes
IPV6ADDR=2a01:4f8:a0:214a::2
IPV6_DEFAULTGW=fe80::1
IPV6_DEFROUTE=yes
IPV6_DEFAULTDEV=viifbr0
/etc/sysconfig/network-scripts/ifcfg-viifbr0:1
Code DEVICE=viifbr0:1
TYPE=Bridge
BOOTPROTO=static
IPADDR=136.243.212.xx ---> first usable ip from additional subnet
NETMASK=255.255.255.224 ---> netmask from subnet
ONBOOT=yes
DELAY=0
STP=off
/etc/sysconfig/network-scripts/route-viifbr0
Code ADDRESS0=0.0.0.0
NETMASK0=0.0.0.0
GATEWAY0=144.76.56.xx ---> main ip gateway
/etc/sysctl.d/10-no-icmp-redirects.conf
Code net.ipv4.conf.all.send_redirects=0
net.ipv4.conf.default.send_redirects=0
net.ipv4.conf.br0.send_redirects=0
net.ipv4.conf.virbr0.send_redirects=0
Restart the network service
Addition: Apparently not a good idea as Hetzner don't approve of bridging networks like this for subnets as it exposes system made MAC addresses.
Edited by enginama : February 23, 2020, 8:09 pm |