My IPV6 Nightmare! :(

Nikole

Well-Known Member
Jun 3, 2013
41
0
46
Welcome to my ipv6 nightmare.. :(

I am trying to configure my proxmox server to take advantage of IPv6 for the host and the guests but it seems that due to my extremely limited networking knowledge I am unsuccessful :(

Can someone please give me a hand here?

++IPV6 Informatiom from the DC:
Subnet >>> 2a01:4f8:161:7021:: / 64
Netmask >>> ffff:ffff:ffff:ffff::
Gateway >>> 2a01:4f8:161:7020::1

I have the following network configuration in my proxmox node:


# network interface settings
##############################
auto lo
iface lo inet loopback
##############################
#
#
##############################
auto eth0
iface eth0 inet static
address 5.9.XX.YY
netmask 255.255.255.255
gateway 5.9.XX.GW
broadcast 5.9.XX.BC
pointopoint 5.9.XX.GW
##############################

#########################
# IPv6 assigned to eth0
iface eth0 inet6 static
address 2a01:4f8:161:7021::/64
netmask 64
gateway fe80::1
#########################

##############################
# bridge for Guest VMs
auto vmbr0
iface vmbr0 inet static
address 5.9.XX.YY
netmask 255.255.255.255
broadcast 5.9.XX.BC
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 0 > /proc/sys/net/ipv4/conf/vmbr0/send_redirects

#-----> IPv6 assigned to vmbr0
iface vmbr0 inet6 static
address 2a01:4f8:161:7021::1
netmask 64
up ip -6 route add default via 2a01:4f8:161:7021:beef::1 dev vmbr0
down ip -6 route del default via 2a01:4f8:161:7021:beef::1 dev vmbr0

# Following is the route to the DC ipv6 Gateway:
up ip -6 route add fe80::1 dev vmbr0
down ip -6 route del fe80::1 dev vmbr0
#-----> IPv6 assigned to vmbr0

##############################


My /etc/sysctl.conf file:

# IPv6 Packet Forwarding and Proxy NDP
net.ipv6.conf.default.forwarding = 1
net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.default.proxy_ndp = 1
net.ipv6.conf.all.proxy_ndp = 1
# IPv4 Packet Forwarding and Proxy NDP -End
net.ipv4.ip_forward = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.conf.all.proxy_arp = 1
net.ipv4.conf.default.proxy_arp = 1


Pings (FROM INSIDE the node) to either 2001:4860:4860::8888 or ipv6.google.com results in 0% Packet Loss.


Assuming that is correct so far I went to assign an IPv6 address inside a VM which is connected to vmbr0 using the following:

###
/etc/sysconfig/network-scripts/ifcfg-eth0
..
IPV6ADDR=2a01:4f8:161:7021:beef::2
IPV6_DEFAULTGW=2a01:4f8:161:7021:beef::1
###

###
/etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=yes
###

<after restarting guest network>
Pinging the IP 2001:4860:4860::8888 from inside the guest I am getting Destination Unreachable.


I am obviously doing something very wrong :/
Where is that? :confused:
I have seen some post here menntioning the need running a scritp. Tried that as well. No luck :(((


Any help is welcome!!!
Thank you


Nikole
 
afaik pve is currently not compatible with ipv6...

Marco

I am assuming you mean for VZ containers only, right?
I am mostly interested in KVM guests that can take IPv6.
Does this mean that I cannot have IPv6 not even in those guests??
 
Well I never used it but remembered forum posts. Now I searched again and it shoud be possible with 3.x releases.
Not sure. I've been misleaded by this wiki article
http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Wheezy

which says "Note: Make sure that no IPv6 address for your hostname is specified in /etc/hosts".

It would be interesting to sort out ipv6 related procedures and issues in the wiki, for reference.

for sure there are issues and things to be aware of: search te forum for ipv6...

googling for "proxmox 3.1 ipv6" I've come up with web pages like these:
http://www.erawanarifnugroho.com/2013/08/12/configuring-ipv6-in-proxmox-ve3.html
http://wiki.hetzner.de/index.php/Proxmox_VE/en

Marco
 
Last edited: