Virtual machine communication in different network segments of centos

I read the tutorials on the Internet and added routes, but I didn"t get it done, so the latter brazenly asked the bosses:
ip information and routing information of device 1

eth0      Link encap:Ethernet  HWaddr fe:fc:fe:3c:8d:db  
          inet addr:172.16.200.10  Bcast:172.16.203.255  Mask:255.255.252.0
          inet6 addr: fe80::fcfc:feff:fe3c:8ddb/64 Scope:Link


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
172.16.200.0    *               255.255.252.0   U     0      0        0 eth0
loopback        localhost       255.0.0.0       UG    0      0        0 lo

ip and routing information for device 2

eth0      Link encap:Ethernet  HWaddr FE:FC:FE:97:0C:DC  
          inet addr:200.200.123.7  Bcast:200.200.123.255  Mask:255.255.252.0

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
200.200.120.0   *               255.255.252.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
default         200.200.123.254 0.0.0.0         UG    0      0        0 eth0


for example, what should I do if I want both parties to be able to communicate with ping?

Apr.03,2021

is the firewall off?


Please describe the virtual machine software and its version, virtual network settings, and host virtual network card settings in detail.


Gateways are not set up correctly. A's gateway address is set to B, so A can communicate with B.

Menu