Hi!
I got IPv6 working on containers with Proxmox 3, however before adding IPv6 support, I was able to do ifdown vmbr0; ifup vmbr0 (to change something in the network configuration).
Now this is not possible, because i get the following error:
And I lost connectivity with the container. The only solution to this is restart the container.
This is my /etc/network/interfaces
And I have added this to sysctl.conf
If I stop container with IPv6s addresses before ifdown vmbr0; ifup vmbr0 everything works fine (it show warnings but it work as expected):
Any help would be appreciated.
Regards
I got IPv6 working on containers with Proxmox 3, however before adding IPv6 support, I was able to do ifdown vmbr0; ifup vmbr0 (to change something in the network configuration).
Now this is not possible, because i get the following error:
# ifdown vmbr0; ifup vmbr0
Cannot find device "vmbr0"
Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
RTNETLINK answers: File exists
vzifup-post ERROR: Unable to add route ip route add xxxx:xxxx:3:1:3:0:0:1 dev venet0
run-parts: /etc/network/if-up.d/vzifup-post exited with return code 34
RTNETLINK answers: File exists
vzifup-post ERROR: Unable to add route ip route add xxxx:xxxx:3:1:3:0:0:1 dev venet0
run-parts: /etc/network/if-up.d/vzifup-post exited with return code 34
And I lost connectivity with the container. The only solution to this is restart the container.
proxmox-ve-2.6.32: 3.1-109 (running kernel: 2.6.32-23-pve)pve-manager: 3.1-3 (running version: 3.1-3/dc0e9b0e)
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-1
pve-cluster: 3.0-7
qemu-server: 3.1-1
pve-firmware: 1.0-23
libpve-common-perl: 3.0-6
libpve-access-control: 3.0-6
libpve-storage-perl: 3.0-10
pve-libspice-server1: 0.12.4-1
vncterm: 1.1-4
vzctl: 4.0-1pve3
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.0-2
This is my /etc/network/interfaces
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address xxx.xxx.98.9
netmask 255.255.255.0
gateway xxx.xxx.98.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
iface vmbr0 inet6 static
address xxxx:xxxx:3:1:4:0:0:1
netmask 64
up ip -6 route add default via xxxx:xxxx:3:1:1:0:0:1 dev vmbr0
up sysctl -p # <------ ADDED THIS LINE TO FIX IPv6 CONNECTIVITY ISSUES
down ip -6 route del default via xxxx:xxxx:3:1:1:0:0:1 dev vmbr0
And I have added this to sysctl.conf
net.ipv6.conf.all.proxy_ndp=1net.ipv6.conf.default.autoconf=0
net.ipv6.conf.default.accept_ra=0
net.ipv6.conf.default.accept_ra_defrtr=0
net.ipv6.conf.default.accept_ra_rtr_pref=0
net.ipv6.conf.default.accept_ra_pinfo=0
net.ipv6.conf.default.accept_source_route=0
net.ipv6.conf.default.accept_redirects=0
net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.autoconf=0
net.ipv6.conf.all.accept_ra=0
net.ipv6.conf.all.accept_ra_defrtr=0
net.ipv6.conf.all.accept_ra_rtr_pref=0
net.ipv6.conf.all.accept_ra_pinfo=0
net.ipv6.conf.all.accept_source_route=0
net.ipv6.conf.all.accept_redirects=0
net.ipv6.conf.all.forwarding=1
If I stop container with IPv6s addresses before ifdown vmbr0; ifup vmbr0 everything works fine (it show warnings but it work as expected):
Cannot find device "vmbr0"
Waiting for vmbr0 to get ready (MAXWAIT is 2 seconds).
Any help would be appreciated.
Regards
Last edited: