Find the OpenFlow port number of eth0 (Let’s say that’s 5)
Add a flow similar to ovs-ofctl add-flow bridge-name <some 
condition>,actions=output:5
You can also specify dl_type, dl_dst or nw_proto to be more specific
You could also drop any traffic coming in on eth1

-Monica


From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of oualid hjira
Sent: Monday, March 28, 2016 8:49 AM
To: discuss@openvswitch.org
Subject: [ovs-discuss] Layer 2 OvS

Hi!


i want to know how is it possible for a VM to be connected to a specific port 
in a L2 switch (if we have a VM and two interfaces eth0 and eth1 in the OvS how 
to tell the VM to send frames via eth0 and not via eth1)


Best Regards

Hjira
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to