IPv6 address allocated but cannot access any remote addresses

xiedada

New Member
Jan 22, 2025
1
0
1
I have a Proxmox VE server connected to a home router on vmbr0. Both the router and my ISP supported ipv6 so other devices connected, and all VMs/containers bridged to this router can access remote ipv6 addresses such as 6.ipw.cn (ipv6.google.com is unreachable due to regional network restrictions). But I was told that the network is unreachable while trying to ping and curl that working remote ipv6 host. It seems that this pve server has got its own ipv6 address according to ifconfig:
Code:
eno2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 40:f2:e9:db:1c:e2  txqueuelen 1000  (Ethernet)
        RX packets 15145817  bytes 6245045055 (5.8 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11453043  bytes 1181015933 (1.0 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xc4580000-c459ffff 

eno5: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 40:f2:e9:db:1c:e5  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xc45e0000-c45fffff 

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 26358  bytes 5167662 (4.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 26358  bytes 5167662 (4.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vmbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.3.21  netmask 255.255.255.0  broadcast 192.168.3.255
        inet6 fe80::42f2:e9ff:fedb:1ce2  prefixlen 64  scopeid 0x20<link>
        inet6 240e:380:af2a:[private]  prefixlen 128  scopeid 0x0<global>
        ether 40:f2:e9:db:1c:e2  txqueuelen 1000  (Ethernet)
        RX packets 14887506  bytes 6019067111 (5.6 GiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 11453028  bytes 1181014339 (1.0 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vmbr1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.88.0  netmask 255.255.255.0  broadcast 0.0.0.0
        inet6 fe80::344d:5dff:fe19:d81  prefixlen 64  scopeid 0x20<link>
        inet6 fd00:114:514::  prefixlen 64  scopeid 0x0<global>
        ether 36:4d:5d:19:0d:81  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 852 (852.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ztjlhydacs: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 2800
        inet 192.168.196.90  netmask 255.255.255.0  broadcast 192.168.196.255
        inet6 fcef:3952:f74d:dde5:1a4f::1  prefixlen 40  scopeid 0x0<global>
        inet6 fe80::447d:3eff:fef0:aa2d  prefixlen 64  scopeid 0x20<link>
        inet6 fdfa:da62:b015:e330:4799:934d:dde5:1a4f  prefixlen 88  scopeid 0x0<global>
        ether 46:7d:3e:f0:aa:2d  txqueuelen 1000  (Ethernet)
        RX packets 198530  bytes 98315573 (93.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12743  bytes 10480506 (9.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Below is my /etc/network/interfaces:
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface eno5 inet manual

iface eno3 inet manual

iface eno4 inet manual

iface eno2 inet manual

iface enx42f2e9db1ce1 inet manual

auto vmbr0
iface vmbr0 inet dhcp
        bridge-ports eno2 eno5
        bridge-stp off
        bridge-fd 0
#address 192.168.3.67/24
#gateway 192.168.3.1

iface vmbr0 inet6 auto

auto vmbr1
iface vmbr1 inet static
        address 192.168.88.0/24
        bridge-ports none
        bridge-stp off
        bridge-fd 0
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.88.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '192.168.88.0/24' -o vmbr0 -j MASQUERADE

iface vmbr1 inet6 static
        address fd00:114:514::0/64

source /etc/network/interfaces.d/*