Proxmox ipv6 Subnet problem

nade

New Member
Aug 26, 2015
16
1
3
Hey, i have some trouble setting up my new proxmox with ipv6 subnet.

These are my configs:

Code:
auto lo
iface lo inet loopback

iface lo inet6 loopback

auto eth0
iface eth0 inet static
        address  78.46.xxx.184
        netmask  255.255.255.224
        gateway  78.46.xxx.161
# default route to access subnet
#  up route add -net 78.46.xxx.160 netmask 255.255.255.224 gw 78.46.xxx.161 eth0

iface eth0 inet6 static
        address  2a01:4f8:xxx:1270::2
        netmask  64
        gateway  fe80::1
        up sysctl -p

auto vmbr0
iface vmbr0 inet static
        address  178.63.xxx.193
        netmask  255.255.255.240
        bridge_ports none
        bridge_stp off
        bridge_fd 0

iface vmbr0 inet6 static
        address  2a01:4f8:xxx:1270::3
        netmask  64

    up ip route add 178.63.xxx.194/28 dev vmbr0
    up ip route add 178.63.xxx.195/28 dev vmbr0
    up ip route add 178.63.xxx.196/28 dev vmbr0
    up ip route add 178.63.xxx.197/28 dev vmbr0
    up ip route add 178.63.xxx.198/28 dev vmbr0
    up ip route add 178.63.xxx.199/28 dev vmbr0
    up ip route add 178.63.xxx.200/28 dev vmbr0
    up ip route add 178.63.xxx.201/28 dev vmbr0
    up ip route add 178.63.xxx.202/28 dev vmbr0
    up ip route add 178.63.xxx.203/28 dev vmbr0
    up ip route add 178.63.xxx.204/28 dev vmbr0
    up ip route add 178.63.xxx.205/28 dev vmbr0
    up ip route add 178.63.xxx.206/28 dev vmbr0

Code:
source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 178.63.xxx.198
        netmask 255.255.255.240
        network 178.63.xxx.192
        broadcast 178.63.xxx.207
        gateway 178.63.xxx.193
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 8.8.8.8
        dns-search nmtp.de

iface eth0 inet6 static
        address  2a01:4f8:xxx:1270::4
        netmask  64
        dns-nameservers 2001:4860:4860::8888
        gateway  2a01:4f8:xxx:1270::3

Code:
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
::1/128                        ::                         U    256 0     0 lo
2a01:4f8:xxx:1270::/64         ::                         U    256 3    24 eth0
2a01:4f8:xxx:1270::/64         ::                         U    256 3     4 vmbr0
fe80::/64                      ::                         U    256 0     0 eth0
fe80::/64                      ::                         U    256 0     0 vmbr0
fe80::/64                      ::                         U    256 0     0 tap201i0
fe80::/64                      ::                         U    256 0     0 fwbr201i0
fe80::/64                      ::                         U    256 0     0 fwpr201p0
fe80::/64                      ::                         U    256 0     0 fwln201i0
fe80::/64                      ::                         U    256 0     0 tap202i0
fe80::/64                      ::                         U    256 0     0 fwbr202i0
fe80::/64                      ::                         U    256 0     0 fwpr202p0
fe80::/64                      ::                         U    256 0     0 fwln202i0
fe80::/64                      ::                         U    256 0     0 tap301i0
fe80::/64                      ::                         U    256 0     0 fwbr301i0
fe80::/64                      ::                         U    256 0     0 fwpr301p0
fe80::/64                      ::                         U    256 0     0 fwln301i0
fe80::/64                      ::                         U    256 0     0 tap302i0
fe80::/64                      ::                         U    256 0     0 fwbr302i0
fe80::/64                      ::                         U    256 0     0 fwpr302p0
fe80::/64                      ::                         U    256 0     0 fwln302i0
fe80::/64                      ::                         U    256 0     0 tap800i0
fe80::/64                      ::                         U    256 0     0 fwbr800i0
fe80::/64                      ::                         U    256 0     0 fwpr800p0
fe80::/64                      ::                         U    256 0     0 fwln800i0
fe80::/64                      ::                         U    256 0     0 tap900i0
fe80::/64                      ::                         U    256 0     0 fwbr900i0
fe80::/64                      ::                         U    256 0     0 fwpr900p0
fe80::/64                      ::                         U    256 0     0 fwln900i0
fe80::/64                      ::                         U    256 0     0 tap901i0
fe80::/64                      ::                         U    256 0     0 fwbr901i0
fe80::/64                      ::                         U    256 0     0 fwpr901p0
fe80::/64                      ::                         U    256 0     0 fwln901i0
fe80::/64                      ::                         U    256 0     0 tap200i0
fe80::/64                      ::                         U    256 0     0 fwbr200i0
fe80::/64                      ::                         U    256 0     0 fwpr200p0
fe80::/64                      ::                         U    256 0     0 fwln200i0
::/0                           fe80::1                    UG   1024 8   116 eth0
::/0                           ::                         !n   -1  1   145 lo
::1/128                        ::                         Un   0   7   127 lo
2a01:4f8:xxx:1270::/128        ::                         Un   0   1     0 lo
2a01:4f8:xxx:1270::/128        ::                         Un   0   1     0 lo
2a01:4f8:xxx:1270::2/128       ::                         Un   0   6    93 lo
2a01:4f8:xxx:1270::3/128       ::                         Un   0   10    73 lo
fe80::/128                     ::                         Un   0   1     0 lo
fe80::436:70ff:fe1e:4f34/128   ::                         Un   0   1     0 lo
fe80::88c:a3ff:fe51:693f/128   ::                         Un   0   1     0 lo
fe80::c9c:9fff:fe98:4f73/128   ::                         Un   0   1     0 lo
ff00::/8                       ::                         U    256 1     2 eth0
ff00::/8                       ::                         U    256 11   137 vmbr0
::/0                           ::                         !n   -1  1   145 lo

so, now i can ping6 from the host the vmbr0 address: 2a01:4f8:xxx:1270::3
but i cant ping the Guest address: 2a01:4f8:xxx:1270::4

ping6 2a01:4f8:xxx:1270::4
PING 2a01:4f8:xxx:1270::4(2a01:4f8:110:1270::4) 56 data bytes
From 2a01:4f8:xxx:1270::2 icmp_seq=1 Destination unreachable: Address unreachable
From 2a01:4f8:xxx:1270::2 icmp_seq=2 Destination unreachable: Address unreachable
From 2a01:4f8:xxx:1270::2 icmp_seq=3 Destination unreachable: Address unreachable
^C
--- 2a01:4f8:xxx:1270::4 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4023ms

From my Guest, i Can also ping the Gateway (vmbr0 address): 2a01:4f8:xxx:1270::3
but i cant ping the host address 2a01:4f8:xxx:1270::2 or google dns: 2001:4860:4860::8888.

Ipv6 forward is Enabled.

im a bit confused about the route -6 table:

2a01:4f8:xxx:1270::/64 :: U 256 3 24 eth0
2a01:4f8:xxx:1270::/64 :: U 256 3 4 vmbr0

maybe here is the mistake?

Regards
 
You're using the same subnet on two devices. You could split it up and use a smaller range (higher prefix) on vmbr0.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!