= Mạng máy chủ chuyên dụng Openstack OVH = ![ ](httpswww.redditstatic.com/desktop2x/img/renderTimingPixel.png) Xin chào mọi người, tôi đã đặt hàng một máy chủ chuyên dụng và một mạng con /27 từ OVH. Tôi đã cài đặt Openstack (với các thành phần quan trọng nhất) trên đó. Tôi đã kết nối mạng con/27 với máy chủ và cũng có thể ping 5.5.5.128, được gán cho giao diện "eno1". (5.5.5. chỉ là phần giữ chỗ) Vấn đề là không thể truy cập tất cả các địa chỉ IP khác vì tuyến đường có thể bị sai. Đó là bảng lộ trình của máy chủ của tôi: root@controller route Bảng định tuyến Kernel IP Điểm đến Cổng Genmask Flags Metric Ref Sử dụng Iface mặc định 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 Mặt nạ mạng con/24 cho IP chính của máy chủ là chính xác. Không hiểu tại sao nó không phải là /32 Thật không may, tuyến đến mạng mà tôi muốn đặt máy ảo không hoạt động. Tôi không thể truy cập bất kỳ IP nào trong đó. Không phải từ bên ngoài hay từ chính bộ điều khiển. Tôi đã thử đặt IP cổng cho "5.5.5.128/27"thành IP cổng OVH (Tôi đang sử dụng cho tuyến mặc định), IP chính của Máy chủ và cả 5.5.5.128, nhưng không có gì hoạt động. Có ai trong số các bạn từng gặp vấn đề tương tự hoặc biết giải pháp không? Cảm ơn sự giúp đỡ của bạn! Chỉnh sửa: đầu ra ifconfig của tôi: 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