Hello friends, I am in need of help, to configure VM with IPV6, I have done almost everything but I am already lost in the settings, I will post as this is my current configuration.
if anyone can help.
# network interface settings
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 145.26.25.49/32
gateway 145.26.25.254
bridge-ports eno1
bridge-stp off
bridge-fd 0
iface vmbr0 inet6 static
address 2209:5100:130:b32::2/64
gateway 2209:5100:130:cff:ff:ff:ff:ff
auto vmbr1
iface vmbr1 inet static
address 192.168.1.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
# Ip above is just an example, real ips is ok with tests below
# ping 145.26.25.49 - ok xternal test
# ping 192.168.1.1 - ok xternal test
# ping6 2209:5100:130:b32::2 - ok external test
I created VM with ip 192.168.1.104
#Interface data
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens18
UUID=38ad3864-f1bf-4762-ac37-d52acfb65079
DEVICE=ens18
ONBOOT=yes
IPADDR=192.168.1.104
PREFIX=24
GATEWAY=192.168.1.1
DNS1=1.1.1.1
DOMAIN=ovh.net
IPV6_PRIVACY=no
IPV6ADDR=2209:5100:130:b32::/64
IPV6ADDR_SECONDARIES=2209:5100:130:b32::4/64
IPV6_DEFAULTGW=2209:5100:130:cff:ff:ff:ff:ff
# ping 145.26.25.49 - VM ok
# ping 192.168.1.1 - VM ok
# ping6 2209:5100:130:b32::2 - does not work
PING 2209:5100:130:b32::2(2209:5100:130:b32::2) 56 data bytes
From 2209:5100:130:b32::4: icmp_seq=1 Destination unreachable: Address unreachable
From 2209:5100:130:b32::4: icmp_seq=2 Destination unreachable: Address unreachable
From 2209:5100:130:b32::4: icmp_seq=3 Destination unreachable: Address unreachable
#ping google.com
PING google.com(ord30s26-in-x0e.1e100.net (2607:f8b0:4009:80f::200e)) 56 data bytes
From localhost.localdomain (2209:5100:130:b32::4): icmp_seq=1 Destination unreachable: Address unreachable
From localhost.localdomain (2209:5100:130:b32::4): icmp_seq=2 Destination unreachable: Address unreachable
From localhost.localdomain (2209:5100:130:b32::4): icmp_seq=3 Destination unreachable: Address unreachable
From localhost.localdomain (2209:5100:130:b32::4): icmp_seq=4 Destination unreachable: Address unreachable
What I need to have ip 192.168.1.XXX and IPV6 on these VM's and ping internal and external access through ipv6 with external access for vms through ipv6.
does anyone know that he can be wrong in this configuration?
if anyone can help.
# network interface settings
auto lo
iface lo inet loopback
iface eno1 inet manual
iface eno2 inet manual
auto vmbr0
iface vmbr0 inet static
address 145.26.25.49/32
gateway 145.26.25.254
bridge-ports eno1
bridge-stp off
bridge-fd 0
iface vmbr0 inet6 static
address 2209:5100:130:b32::2/64
gateway 2209:5100:130:cff:ff:ff:ff:ff
auto vmbr1
iface vmbr1 inet static
address 192.168.1.1/24
bridge-ports none
bridge-stp off
bridge-fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.1.0/24' -o vmbr0 -j MASQUERADE
# Ip above is just an example, real ips is ok with tests below
# ping 145.26.25.49 - ok xternal test
# ping 192.168.1.1 - ok xternal test
# ping6 2209:5100:130:b32::2 - ok external test
I created VM with ip 192.168.1.104
#Interface data
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=no
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=stable-privacy
NAME=ens18
UUID=38ad3864-f1bf-4762-ac37-d52acfb65079
DEVICE=ens18
ONBOOT=yes
IPADDR=192.168.1.104
PREFIX=24
GATEWAY=192.168.1.1
DNS1=1.1.1.1
DOMAIN=ovh.net
IPV6_PRIVACY=no
IPV6ADDR=2209:5100:130:b32::/64
IPV6ADDR_SECONDARIES=2209:5100:130:b32::4/64
IPV6_DEFAULTGW=2209:5100:130:cff:ff:ff:ff:ff
# ping 145.26.25.49 - VM ok
# ping 192.168.1.1 - VM ok
# ping6 2209:5100:130:b32::2 - does not work
PING 2209:5100:130:b32::2(2209:5100:130:b32::2) 56 data bytes
From 2209:5100:130:b32::4: icmp_seq=1 Destination unreachable: Address unreachable
From 2209:5100:130:b32::4: icmp_seq=2 Destination unreachable: Address unreachable
From 2209:5100:130:b32::4: icmp_seq=3 Destination unreachable: Address unreachable
#ping google.com
PING google.com(ord30s26-in-x0e.1e100.net (2607:f8b0:4009:80f::200e)) 56 data bytes
From localhost.localdomain (2209:5100:130:b32::4): icmp_seq=1 Destination unreachable: Address unreachable
From localhost.localdomain (2209:5100:130:b32::4): icmp_seq=2 Destination unreachable: Address unreachable
From localhost.localdomain (2209:5100:130:b32::4): icmp_seq=3 Destination unreachable: Address unreachable
From localhost.localdomain (2209:5100:130:b32::4): icmp_seq=4 Destination unreachable: Address unreachable
What I need to have ip 192.168.1.XXX and IPV6 on these VM's and ping internal and external access through ipv6 with external access for vms through ipv6.
does anyone know that he can be wrong in this configuration?