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

Prerna Pandit prerna.pandit at tcs.com
Thu Jan 7 07:35:49 UTC 2016


----- Forwarded by Prerna Pandit/MUM/TCS on 07-01-2016 13:05 -----

From:   Prerna Pandit <prerna.pandit at tcs.com>
To:     discuss at openvswitch.org
Date:   07-01-2016 12:22
Subject:        [ovs-discuss] Can OVS forward packets on the basis of IPV4 
address
Sent by:        "discuss" <discuss-bounces at openvswitch.org>



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
_______________________________________________
discuss mailing list
discuss at openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160107/7d39def7/attachment-0002.html>


More information about the discuss mailing list