2

我正在尝试使用 3 个主机和 1 个交换机实现简单的本地网络配置(使用命令:sudo mn —topo single,3)。这个想法是实现所有流量都将复制到host3(端口镜像)。我正在尝试运行命令(在一行中):

s1 ovs-vsctl -- set Bridge s1 mirrors=@m --\
 --id=@eth1 get Port s1-eth1 -- \
 --id=@eth2 get Port s1-eth2 -- \
 --id=@eth3 get Port s1-eth3 -- \
 --id=@m create Mirror name=mymirror \
 select-dst-port=@eth1,@eth2 select-src-port=@eth1,@eth2 output-port=@eth3

我收到一个错误:ovs-vsctl: no row «127.0.0.1» in table Bridge。难道我做错了什么?

4

0 回答 0