Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-7024

No arp entry on vlan interface

    XMLWordPrintable

    Details

      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

        Attachments

          Activity

            People

            Assignee:
            igor Igor Sukhih
            Reporter:
            vvs Vasily Averin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: