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
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