我有一个命名空间 ns1,在其中运行一个 eoip 脚本,该脚本创建一个接口 eoip_if。我还有一个 ovs-bridge br0,它位于默认命名空间中。当我尝试将“eoip_if”接口作为端口添加到网桥 br0 时,出现以下错误:
ovs-vsctl:设置“eoip_if”时检测到错误。有关详细信息,请参阅 ovs-vswitchd 日志。
Bridge br0
Port br0
Interface br-wan
type: internal
Port int
Interface int
type: internal
Port eoip_if
Interface eoip_if
error: "could not open network device eoip_if(No such device)"
Port eth1
Interface eth1
ovs_version: "2.5.5"
ip 一个ns1 内:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
10: eoip_if: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 8800 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 4e:7d:e3:29:7e:1b brd ff:ff:ff:ff:ff:ff
inet6 fe80::4c7d:e3ff:fe29:7e1b/64 scope link
valid_lft forever preferred_lft forever