我使用 packstack 配置了 openstack,配置后无法 ping 通我在其上创建 openstack 的接口的网关。是因为openstack创建的桥梁吗?我该如何解决这个问题?
这是ip a的结果:
1: Lo: «LOOPBACK, UP, LOWER UP> mtu 65536 qdisc noqueue state UNKNOWN group default glen 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
2 : em1: <NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500
link/ether 90:b1: 1c:12:ec:cd brd ff:ff:ff:ff:ff:ff
gaisc ma state DowN group default qlen 1000
inet 192.168.137.45/24 brd 192.168.137.255 scope global dynamic em1
valid lft 603019sec preferred lft 603019sec
inet6 fe80::92b1:1cff: fe12:eccd/64 scope link valid lft forever preferred lft forever
3: em2: <BROADCAST, MULTICAST, SLAVE, UP, LOWER_UP> mtu 1500 qdisc mq master bonde state UP group default qlen 1000
Link/ether 90:b1: 1c: 12:ec:ce brd ff:ff:ff:ff:ff: ff
4: em3: «NO-CARRIER, BROADCAST, MULTICAST, SLAVE, UP> mtu 1500 qdisc ma master bonde state DOWN group default qlen 1
Link/ether 90:b1:1c:12:ec:ce brd ff:ff:ff:ff:ff:ff
5: em4: «NO-CARRIER, BROADCAST, MULTICAST, SLAVE, UP> mtu 1500 qdisc mq master bonde state DOWN group default qlen 1
000
link/ether 90:b1:1c:12:ec:ce brd ff:ff:ff: ff: ff:ff
10: bonde: <BROADCAST, MULTICAST, MASTER, UP, LOWER_UP> mtu 1500 qdisc noqueue master ovs-system state UP group defa ult quen 1000
link/ether 90:b1:1c:12:ec:ce brd ff:ff:ff:ff:ff:ff
inet 172.16.8.2/24 brd 172.16.8.255 scope global bonde
valid lft forever preferred lft forever
inet6 fe80::92b1:1cff: fe12:ecce/64 scope Link valid lft forever preferred lft forever
28: ovs-System: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 1a:e8:4b:36:16:5d brd ff:ff:ff:ff:ff:ff
29: br-ex: «BROADCAST, MULTICAST> mtu 1500 9d15 noop state DOWN group default qlen 1000
link/ether 90:b1:1c:12:ec:ce brd ff:ff:ff:ff:ff:ff
30: br-int: «BROADCAST, MULTICAST> mtu 1500 qdisc
noop state DOWN group default qlen 1000
link/ether 1a:32:8a:df:6a:4f brd ff:ff:ff:ff:ff:ff
这是 ovs-vsctl list-br 的结果:
$ sudo ovs-vsctl list-br
br-ex
br-int
这位于应答文件中: CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:bond0
我无法 ping 通网关地址 172.16.8.1。 bond0 和 em2 具有相同的 IP 地址和网关。