[ovs-discuss] GRE port mirroring in OVS
Endre Karlson
endre.karlson at gmail.com
Tue Feb 5 12:19:34 UTC 2013
# General
modprobe dummy
ip link set up dummy0
ovs-vsctl add-br br-dist
ovs-vsctl -- --may-exist add-port br-dist dummy0
ovs-vsctl -- --id=@dest_port get port dummy0 -- --id=@mirror create mirror
name=mirror0 -- add bridge br-dist mirrors @mirror -- set mirror mirror0
output_port=@dest_port select_all=1
# Solution 1 - OVS GRE
ovs-vsctl add-port br-dist gre-term -- set Interface gre-term type=gre --
set Interface gre-term options:local_ip=192.168.5.120
# Solution 2 - GRE interface with select_all
ip tunnel add gre-term mode gre remote 0.0.0.0 local 192.168.5.120
Now the funny thing is when I do a tcpdump -vvv -i dummy0 it's not giving
any traffic, though if I add eth1 as a port it's working fine?
Endre.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130205/e4c34363/attachment.html>
More information about the discuss
mailing list