[ovs-discuss] OpenVswitch with Vlans.

Ben Pfaff blp at nicira.com
Wed Jan 26 06:32:49 UTC 2011


On Tue, Jan 25, 2011 at 10:27 PM, Ramana Reddy <gtvrreddy at gmail.com> wrote:
> This is my configuration setup:
> Machine1:
> vconfig add eth0 100
> ifconfig eth0.100 10.0.0.1 netmask 255.255.255.0
>
> Machine2:
> vconfig add eth0 100
> ifconfig eth0.100 10.0.0.2 netmask 255.255.255.0
>
> Configuration on OVS:
> ovs-vsctl add-br br0
> ovs-vsctl add-port br0 eth0
> ovs-vsctl add-port br0 eth1
>
> The br0 does not have any IP address.
>
> Now the eth0 on machine1 ( IP address 192.168.0.100) can ping eth0 on
> machine2( IP address 192.168.0.101)
> But when I ping 10.0.0.1 with 10.0.0.2, they are not pinging each other. OVS
> simply dropping the valn packets.

This setup looks to me like it should work.  We've had some funny VLAN-related
problems with certain versions of certain Ethernet card drivers.  What driver
is used for eth0 and eth1 on the OVS machine?  What version of the driver?
What kernel version?




More information about the discuss mailing list