Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Fix Version/s: Vz7.0-Update8
-
Component/s: Server::Command Line Tools
-
Security Level: Public
Description
taken from openvz forum, see link below
>Description of problem:
When I upgrade from openv 7.0.6 to 7.0.6, I was unable to communicate from container to outside.
I use vlan interface on HN :
em1 -- br0 -- vlan18
On previous releases, arp entry are created on any interfaces. Now, the arp entry is added only on virbr0 interface:
apr -en
Address HWtype HWaddress Flags Mask Iface
....
192.168.18.239 * <from_interface> MP virbr0
192.168.18.239 * <from_interface> MP vlan18
...
And now
apr -en
Address HWtype HWaddress Flags Mask Iface
....
192.168.18.239 * <from_interface> MP virbr0
...
I found the filter on /usr/libexec/libvzctl/scripts/vz-functions line 642 (function vzgetnetdev) :
[ -e "/sys/class/net/$dev/device" -o -e "/sys/class/net/$dev/bridge" ] || continue
Can you change this line to enable vlan interfaces ?
>Additional info:
https://forum.openvz.org/index.php?t=rview&goto=53267&th=13491
>Description of problem:
When I upgrade from openv 7.0.6 to 7.0.6, I was unable to communicate from container to outside.
I use vlan interface on HN :
em1 -- br0 -- vlan18
On previous releases, arp entry are created on any interfaces. Now, the arp entry is added only on virbr0 interface:
apr -en
Address HWtype HWaddress Flags Mask Iface
....
192.168.18.239 * <from_interface> MP virbr0
192.168.18.239 * <from_interface> MP vlan18
...
And now
apr -en
Address HWtype HWaddress Flags Mask Iface
....
192.168.18.239 * <from_interface> MP virbr0
...
I found the filter on /usr/libexec/libvzctl/scripts/vz-functions line 642 (function vzgetnetdev) :
[ -e "/sys/class/net/$dev/device" -o -e "/sys/class/net/$dev/bridge" ] || continue
Can you change this line to enable vlan interfaces ?
>Additional info:
https://forum.openvz.org/index.php?t=rview&goto=53267&th=13491