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

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

Reply via email to