Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170556

IPv6 forwarding OpenVZ

$
0
0
Hi Folks,

After 3 days solid on this I am at the end of the line as to what I can take.

I have a number of servers up and running OpenVZ on CentOS without any issues, I am trying out proxmox for the better veth support however I simply cannot get IPv6 to route outside of the vmbr device

Is anyone able to add any suggestions, tips, help to this before I throw the towel in.

The server has a public IP and the Containers are using a local private range 10.0.0.0/24

IPv4 connectivity is not a problem:

auto vmbr0
iface vmbr0 inet static
address 10.0.0.1
netmask 255.255.255.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 '10.0.0.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.0.0.0/24' -o eth0 -j MASQUERADE

The containers can connect to the outside world over IPv4 using a veth interface or even venet.

----

I have also set up a vmbr6 for ipv6 it has an IPv6 address, it can see the outside world over ipv6

The container has a veth device eth1 with an ipv6 address, it can ping the vmbr6 device on the host node but not beyond it.

I have tried setting up the default routes on the container using the vmbr6, vmbr0 and the actual ipv6 gateway, none of this makes any difference at all.


sysctl.conf

net.ipv4.ip_forward = 1
net.ipv6.conf.all.forwarding = 1
net.ipv4.conf.default.proxy_arp = 1
net.ipv4.conf.all.rp_filter = 1
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv6.conf.all.forwarding= 1
net.ipv6.conf.all.proxy_ndp = 1


So can anyone offer up any advice at all, and can anyone give an indication on when proxmox will implement full IPv6 support?

I have noted a few errors regarding proxy_ndp and fprwarding for IPv6 during boot but it seems to load anyway, for good measure I have

echo 1 > /proc/sys/net/ipv6/conf/default/forwarding
echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp


in rc.local and sysctl -p returns no errors.

cheers.

Ant.



P/S I posted this once but it never seemed to post sorry if it double posts.

Viewing all articles
Browse latest Browse all 170556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>