OpenVZ Forum


Home » General » Support » OpenVZ 7 - Problem with ipv6 default route after starting routed VM
OpenVZ 7 - Problem with ipv6 default route after starting routed VM [message #52797] Thu, 30 March 2017 10:35 Go to next message
shenziro is currently offline  shenziro
Messages: 1
Registered: March 2017
Junior Member
Hi,

I'm not sure if it is a bug or just some sort of configuration problem on my side. Everytime when starting a VM (not CT) on OpenVZ 7 with net0 set to type=routed it adds another default route to the main ipv6 routing table on the host. Like this: "default dev vme4241efa4 proto kernel metric 256".
The system uses this as new default route and all outgoing traffic is sent to the VM making the whole system unreachable at ipv6.

Any ideas? Confused

# cat /etc/redhat-release
Virtuozzo Linux release 7.3


# uname -srvmpio
Linux 3.10.0-327.36.1.vz7.20.18 #1 SMP Tue Dec 20 13:52:43 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux


# rpm -qa | grep -i vz7
libvirt-daemon-config-nwfilter-2.4.0-1.vz7.12.1.x86_64
vz-guest-tools-lin-0.10-79.vz7.noarch
prl-disp-service-7.0.587.19-1.vz7.x86_64
libvirt-daemon-driver-storage-2.4.0-1.vz7.12.1.x86_64
libvirt-daemon-kvm-2.4.0-1.vz7.12.1.x86_64
prl-disp-legacy-7.0.587.19-1.vz7.x86_64
python-criu-2.8.0.14-1.vz7.x86_64
debian-8.0-x86_64-ez-7.0.0-6.vz7.noarch
libprlcommon-7.0.90-1.vz7.x86_64
vzctl-7.0.138.4-1.vz7.x86_64
vztt-lib-7.0.51-3.vz7.x86_64
qemu-kvm-vz-2.3.0-31.2.21.vz7.77.3.x86_64
vzkernel-headers-3.10.0-327.36.1.vz7.20.18.x86_64
vzpkgenv47x64-7.0.9-10.vz7.x86_64
openvz-logos-70.0.11-1.vz7.noarch
libguestfs-tools-c-1.32.3-1.vz7.13.x86_64
openvz-release-7.0.3-3.vz7.x86_64
vztt_checker-7.0.1-2.vz7.x86_64
vzpkgenv410x64-7.0.9-11.vz7.x86_64
libreport-plugin-virtuozzo-1.0.4-2.vz7.x86_64
vcmmd-7.0.130.6-1.vz7.x86_64
python-ploop-7.0.78-2.vz7.x86_64
seavgabios-bin-1.7.5-11.vz7.4.noarch
libvirt-daemon-driver-secret-2.4.0-1.vz7.12.1.x86_64
qt-4.8.5-13.vz7.1.x86_64
libvirt-daemon-driver-vz-2.4.0-1.vz7.12.1.x86_64
libvirt-daemon-driver-lxc-2.4.0-1.vz7.12.1.x86_64
libvzctl-7.0.333.15-2.vz7.x86_64
qemu-kvm-common-vz-2.3.0-31.2.21.vz7.77.3.x86_64
libguestfs-1.32.3-1.vz7.13.x86_64
libguestfs-xfs-1.32.3-1.vz7.13.x86_64
libguestfs-winsupport-7.2-3.vz7.x86_64
prl-vzvncserver-7.0.8-1.vz7.x86_64
rsync-3.0.9-21.vz7.x86_64
vzlinux-7-x86_64-ez-7.0.0-14.vz7.noarch
vzprocps-3.3.10-3.vz7.7.x86_64
ubuntu-14.04-x86_64-ez-7.0.0-4.vz7.noarch
openvz-docs-7.0.34-1.vz7.noarch
vztt-7.0.51-3.vz7.x86_64
suse-42.2-x86_64-ez-7.0.0-6.vz7.noarch
libvirt-python-2.5.0-1.vz7.1.1.x86_64
ploop-7.0.78-2.vz7.x86_64
seabios-bin-1.7.5-11.vz7.4.noarch
libvirt-daemon-driver-nwfilter-2.4.0-1.vz7.12.1.x86_64
libprlsdk-7.0.169.5-1.vz7.x86_64
libvirt-daemon-driver-network-2.4.0-1.vz7.12.1.x86_64
libvzevent-7.0.7-2.vz7.x86_64
spfs-0.08.019-2.vz7.x86_64
libvirt-daemon-driver-qemu-2.4.0-1.vz7.12.1.x86_64
libvirt-2.4.0-1.vz7.12.1.x86_64
vzpkgenvdebx64-7.0.0-15.vz7.x86_64
vzkernel-3.10.0-327.36.1.vz7.20.18.x86_64
vmauth-7.0.5-1.vz7.x86_64
libguestfs-tools-1.32.3-1.vz7.13.noarch
pcompact-7.0.9-2.vz7.x86_64
criu-2.8.0.14-1.vz7.x86_64
coripper-1.0.3-3.vz7.x86_64
virtuozzo-motd-0.5-1.vz7.noarch
ploop-lib-7.0.78-2.vz7.x86_64
libvirt-libs-2.4.0-1.vz7.12.1.x86_64
centos-7-x86_64-ez-7.0.0-22.vz7.noarch
ubuntu-16.04-x86_64-ez-7.0.0-12.vz7.noarch
libvirt-client-2.4.0-1.vz7.12.1.x86_64
vz-guest-tools-win-0.48-7.vz7.noarch
qemu-kvm-tools-vz-2.3.0-31.2.21.vz7.77.3.x86_64
OVMF-20150414-2.gitc9e5618.vz7.3.noarch
vzmigrate-7.0.53-1.vz7.x86_64
fedora-23-x86_64-ez-7.0.0-10.vz7.noarch
libvirt-daemon-2.4.0-1.vz7.12.1.x86_64
libprlxmlmodel-7.0.55-1.vz7.x86_64
prl-disp-service-tests-7.0.587.19-1.vz7.x86_64
vztt_checker-7.0.1-2.vz7.i686
suse-42.1-x86_64-ez-7.0.0-5.vz7.noarch
virt-v2v-1.32.3-1.vz7.13.x86_64
vzreport-7.0.12-1.vz7.x86_64
prlctl-7.0.108-1.vz7.x86_64
crit-2.8.0.14-1.vz7.x86_64
libreport-plugin-vz-bugs-1.0.2-2.vz7.noarch
libvcmmd-7.0.21-1.vz7.x86_64
phaul-0.1.21-2.vz7.noarch
ipxe-roms-qemu-20130517-7.gitc4bce43.vz7.4.noarch
libvirt-daemon-driver-nodedev-2.4.0-1.vz7.12.1.x86_64
libprlsdk-python-7.0.169.5-1.vz7.x86_64
qemu-img-vz-2.3.0-31.2.21.vz7.77.3.x86_64
python-subprocess32-3.2.6-5.vz7.1.x86_64
libvirt-daemon-driver-interface-2.4.0-1.vz7.12.1.x86_64
vzpkgenvzypp49x64-7.0.9-14.vz7.x86_64
prl-disk-tool-7.0.27-1.vz7.x86_64
vzstat-7.0.8-2.vz7.x86_64
centos-6-x86_64-ez-7.0.0-4.vz7.noarch

Re: OpenVZ 7 - Problem with ipv6 default route after starting routed VM [message #52817 is a reply to message #52797] Wed, 26 April 2017 01:32 Go to previous messageGo to next message
azilber is currently offline  azilber
Messages: 15
Registered: May 2015
Location: Malaysia
Junior Member
Disable ipv6.

In /etc/vz/vz.conf set
IPV6=no

You may also need to add 'noipv6' to grub.cfg kernel parameter line. Although, I didn't and my ipv6 is disabled.
Re: OpenVZ 7 - Problem with ipv6 default route after starting routed VM [message #52888 is a reply to message #52797] Mon, 10 July 2017 13:07 Go to previous message
wyckaoo is currently offline  wyckaoo
Messages: 4
Registered: November 2016
Junior Member
Try adding default route with lower metric, e.g:
"ip r a default via GATEWAY_IPv6 metric 1"
So system will use default route with lower metric.
Previous Topic: OpenVZ 7 SSD Cache
Next Topic: VZ7 routed IPv6
Goto Forum:
  


Current Time: Tue Mar 19 05:32:20 GMT 2024

Total time taken to generate the page: 0.02353 seconds