= Openstack OVH 专用服务器网络 = ![ ](httpswww.redditstatic.com/desktop2x/img/renderTimingPixel.png) 大家好,我已经从 OVH 订购了专用服务器和 /27 子网。 我在上面安装了 Openstack(带有最重要的组件)。 我已将 /27 子网连接到服务器,也可以 ping 通分配给“eno1”接口的 5.5.5.128。 (5.5.5. 只是一个占位符) 问题是无法到达所有其他 IP 地址,因为路由可能是错误的。 那是我的服务器的路由表: root@controller route 内核 IP 路由表 Destination Gateway Genmask Flags Metric Ref Use Iface default ovh-gateway-ip 0.0.0.0 UG 10brqf535e9d2-5d server-main-ip 0.0.0.0 255.255.255.0 U brqf535e9d2-5d 5.5.5.128 0.0.0.0 255.255.255.224 U brqf535e9d2-5d 192.168.122.0 0.0.0.0 255.255.255.0 U virbr0 服务器主 IP 的 /24 子网掩码是正确的。不知道为什么它不是 /32 不幸的是,到我想要放置 VM 的网络的路由不起作用。我无法访问其中的任何 IP。既不是来自外部,也不是来自控制器本身。 我尝试将“5.5.5.128/27”的网关 IP 设置为 OVH 网关 IP(我用于默认路由)、服务器主 IP 以及 5.5.5.128,但没有任何效果。 你们中有人遇到过同样的问题或知道解决方案吗? 谢谢您的帮助! 编辑:我的 ifconfig 输出: root@controller ifconfig brq70238470-59: flags=4163,BROADCAST,RUNNING,MULTICAST> mtu 1450 ether 96:76:bc:b7:29:b5 txqueuelen 1000 (Ethernet) RX packets 103 bytes 4852 (4.8 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 brqf535e9d2-5d: flags=4163,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet main-ip netmask 255.255.255.0 broadcast xxx inet6 main-ipv6 prefixlen 56 scopeid 0x0 inet6 xx prefixlen 64 scopeid 0x20 ethertxqueuelen 1000 (Ethernet) RX packets 83655 bytes 3800864 (3.8 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 129123 bytes 8067301 (8.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eno1: flags=4163,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 xx prefixlen 64 scopeid 0x20 ether d0:50:99:da:39:ac txqueuelen 1000 (Ethernet) RX packets 85212 bytes 5905226 (5.9 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 131955 bytes 8233407 (8.2 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 499119 bytes 146251170 (146.2 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 499119 bytes 146251170 (146.2 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 tap3166097e-73: flags=4163,BROADCAST,RUNNING,MULTICAST> mtu 1450 ether 96:76:bc:b7:29:b5 txqueuelen 1000 (Ethernet) RX packets 12 bytes 2284 (2.2 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 102 bytes 6116 (6.1 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 tap4b8dc5a7-f5: flags=4163,BROADCAST,RUNNING,MULTICAST> mtu 1500 ethertxqueuelen 1000 (Ethernet) RX packets 7 bytes 702 (702.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 91823 bytes 4385443 (4.3 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 tapc2ba003a-21: flags=4163,BROADCAST,RUNNING,MULTICAST> mtu 1450 inet6 fe80::fc16:3eff:fe03:28a3 prefixlen 64 scopeid 0x20 ether fe:16:3e:03:28:a3 txqueuelen 1000 (Ethernet) RX packets 102 bytes 6116 (6.1 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 15 bytes 2378 (2.3 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 virbr0: flags=4099,BROADCAST,MULTICAST> mtu 1500 inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255 ether 52:54:00:de:85:70 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 vxlan-53: flags=4163,BROADCAST,RUNNING,MULTICAST> mtu 1450 ether ea:e4:58:8e:bc:d8 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 103 overruns 0 carrier 0 collisions 0 Its a bit strange, ifconfig doesnt show me my 5.5.5.128/27 here. # ip a12: brqf535e9d2-5d: ,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/etherbrd ff:ff:ff:ff:ff:ff inet main-ip/24 brd xxx.255 scope global brqf535e9d2-5d valid_lft forever preferred_lft forever inet 5.5.5.128/27 brd 5.5.5.159 scope global brqf535e9d2-5d valid_lft forever preferred_lft forever inet6 xxx/56 scope global valid_lft forever preferred_lft forever inet6 xxx/64 scope link valid_lft forever preferred_lft forever ![ ](httpswww.redditstatic.com/desktop2x/img/renderTimingPixel.png) Hi, Try to list all the interfaces and taps connected to the bridge brqf535e9d2-5d with the command "brctl show". You can see wich network namespace is connected to the tap interface doing "ip a" under link netns. Then try to stablish communication in the subnet from the network namespace. "ip netns exec [netns connected to the tap] ip a" This way you can see if you can stablish connection to instances running in compute nodes in the subnet 5.5.5.128/27 Hi, thanks for your reply. The brctl show returns me this: root@controller brctl show bridge name bridge id STP enabled interfaces brq70238470-59 8000.1ed5e9a9e7c0 no tap2a631157-e2 tap3166097e-73 tapc2ba003a-21 tapeefe5e6c-2d vxlan-53 brqf535e9d2-5d 8000.b65368642388 no eno1 tap4b8dc5a7-f5 tapa2486984-d4 virbr0 8000.525400de8570 yes Could you explain how and where I can find the "network namespace" You can see wich network namespace is connected to the tap interface doing "ip a" under link netns. I can't find it .128 looks like a network address. you should use 129-158 for host and one ip should be the gw == About Community == Members Online