[ovs-discuss] How to make vxlan flow for this scenario
Hongjun Li
eltonyli at yahoo.com
Fri Mar 27 09:17:21 UTC 2015
OVS_IFACES="eth0 p1p1'
ovs-vsctl add-br br0
for iface in $OVS_IFACES
do
exist=`grep "$iface" /proc/net/dev`
if [ -n "$exist" ] ; then
ovs-vsctl add-port br0 $iface
ifconfig $iface promisc up
fi
done
ovs-vsctl add-port br0 vxlan0 -- set Interface vxlan0 type=vxlan options:key=flow options:local_ip=192.168.1.180 options:remote_ip=192.168.1.181 ofport_request=10
###### ovs-ofctl add-flow br0 in_port=1,actions=output:10
###### ovs-ofctl add-flow br0 in_port=10,actions=output:1
ifconfig br0 up
The packets from eth0 will be encapsulated by vxlan then sent on p1p1. Would you please tell me how to make flows? Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150327/e02d73c4/attachment-0002.html>
More information about the discuss
mailing list