[ovs-discuss] OVS with VLANs

Sundar Nadathur snadathu at altera.com
Thu Aug 27 01:32:58 UTC 2015

   On two hosts running Centos 7.1, I have an eth interface each with VLAN 3 configured on top. These enp1s0.3 interfaces can ping each other.

On a third host, also running Centos 7.1, I have configured an OVS br-int, with enp1s0 as a port. To this, I added an internal port with tag 10:
# ovs-vsctl add-port br-int vlan3 tag=3 -- set interface vlan3 type=internal
# ifconfig vlan3 netmask ... up
Now, ifconfig and route commands show valid output, but we cannot ping the other hosts.

If I add enp1s0.3 as the physical interface instead of enp1s0, it makes no difference. If I configure the IP directly on br-int, without a VLAN tag and use enp1s0.3 as physical interface, that doesn't work either. However, if I configure the IP on enp1s0.3, I can then ping the other hosts, as expected.

IOW, no configuration involving OVS is working with VLANs. But the direct physical interface is able to reach out on VLAN 3. The external switch is unmanaged.

In all these cases, the relevant bridge and physical interfaces are "UP, RUNNING" in ifconfig. The 'systemctl status openvswitch' shows it is running.  Both ovsdb-server and ovs-vswitchd are running as root.

What do I need to do to fix this?



Confidentiality Notice.
This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150827/c99a1f79/attachment-0002.html>

More information about the discuss mailing list