1 # 从int-br-eth1进入的包镜像一份给dummy0 2 # 现象:dummy0 可以抓到 int-br-eth1 进入的包 3 4 modprobe dummy 5 ip link set up dummy0 6 ovs-vsctl add-port br-int dummy0 7 8 ovs-vsctl -- [email protected] get port int-br-eth1 9 -- --id=@bbb get port dummy0 10 -- [email protected] create mirror name=m0 [email protected] output_port=@bbb 11 -- set bridge br-int [email protected]
原文地址:https://www.cnblogs.com/wangjq19920210/p/10197663.html
时间: 2024-11-03 10:18:19