Hi,

I am trying to create two VLANs on mininet using openvswitches. The
topology is as follows: I first created two subnets to mimic two VLANs. I
did this by configuring the ip addresses of hosts as below:

vlan1 connected to switch 1:
host 1: 10.0.0.1/29
host 2: 10.0.0.2/29

vlan2 connected to switch 2:
host 3 : 10.0.0.9/29
host4 : 10.0.0.10/29

switch 1 and switch 2 are connected to each other.

Now when i ping h1 to h2, it succeeds which h1 to h3 fails as expected. I
added flow rules to make the vlan work. Flow rule eg: for switch one, the
flow rule tags packets from port 1 and 2 with vlad_id 10 and strips any tag
from packet from port 3 and performs output=normal.
Similar flow rule for switch 2(vlan_id=20)
Now ping fails between h1 and h2 and also between h3 and h4.
Kindly guide me how to make vlan working with openvswitch.

Thanks,
Lavanya
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to