In such way I have configured OVS bridge for LXC containers LXC with Open vSwitch
禁用window.onbeforeunload是桥接配置:
# ovs-vsctl show
1b236728-4637-42a5-8b81-53d4c93a6803
Bridge "switch0"
Port vethNSCEGY
Interface vethNSCEGY
Port "switch0"
Interface "switch0"
type: internal
Port "vethD6TFEB"
Interface "vethD6TFEB"
ovs_version: "2.3.2"
switch0 是主机上的接口,其IP 192.168.100.1/24 vethNSCEGY 和 vethD6TFEB 是LXC来宾的接口。
最终,第一个IP 192.168.100.10/24 的LXC来宾可以ping第二个LXC来宾 192.168.100.11/24 ,但无法ping主机IP 192.168.100.1/ 24
OVS可以吗?或者我需要smth才能启用?
PS。我的界面上的IP:
# ip a
...
4: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
link/ether 52:9d:e1:60:1d:56 brd ff:ff:ff:ff:ff:ff
5: switch0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
link/ether 16:63:eb:47:13:41 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.1/24 scope global switch0
valid_lft forever preferred_lft forever
35: vethNSCEGY: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
link/ether fe:d1:06:81:69:ed brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcd1:6ff:fe81:69ed/64 scope link
valid_lft forever preferred_lft forever
37: vethD6TFEB: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
link/ether fe:ca:e9:16:dd:81 brd ff:ff:ff:ff:ff:ff
inet6 fe80::fcca:e9ff:fe16:dd81/64 scope link
valid_lft forever preferred_lft foreve
答案 0 :(得分:0)
这又是我的坏事。 LinkedInError: 403 Client Error: Forbidden for url: https://api.linkedin.com/v1/people-search:(people:(first-name,last-name))?keywords=Ramya: Unknown Error
失败了。因此,界面的出现帮助了我:
switch0