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 -- --id=@aaa get port int-br-eth1 \ 9 -- --id=@bbb get port dummy0 \ 10 -- --id=@m create mirror name=m0 select_src_port=@aaa output_port=@bbb \ 11 -- set bridge br-int mirrors=@m