[ovs-discuss] Can OVS forward packets on the basis of IPV4 address

Fischetti, Antonio antonio.fischetti at intel.com
Thu Jan 7 13:28:06 UTC 2016


Should you instead use "output:2" in your 3rd command, like:

ovs-ofctl add-flow br2 "priority=3,dl_type=0x0800,nw_src=10.0.1.10,tun_src=172.26.192.128,tun_id=5001,action=output:2"

?

Antonio

From: discuss [mailto:discuss-bounces at openvswitch.org] On Behalf Of Prerna Pandit
Sent: Thursday, January 7, 2016 6:53 AM
To: discuss at openvswitch.org
Subject: [ovs-discuss] Can OVS forward packets on the basis of IPV4 address

Hi All, 

We are facing a issue, while forwarding packets from OVS to an external network. 

How we are doing it is as follows: 

Configuration on OVS (OVS IP : 172.26.194.120) 

ovs-ofctl add-flow br2 "priority=0,action=NORMAL" 
ovs-ofctl add-flow br2 "priority=2,in_port=1,dl_type=0x0800,action=NORMAL" 
ovs-ofctl add-flow br2 "priority=3,dl_type=0x0800,nw_src=10.0.1.10,tun_src=172.26.192.128,tun_id=5001,action=output:1" 

But the packets are not getting forwarded. 
Do we need to give the MAC addresses only to make this work ? ( Becoz it works when i give the MAC address of the two nodes.) 

Any pointers will be highly appreciated and of great help. 

Regards. 
Prerna Pandit
Tata Consultancy Services Limited
Mailto: prerna.pandit at tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Consulting
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



More information about the discuss mailing list