There are several machines in there that do not ping the gateway, but the other machines in the ping switch can ping, and other machines ping the gateway can ping. Then the hardware is discharged, and the main problem is on the routing table of the machine.
Look at the routing table.
Route-n
Destination Gateway genmask Flags Metric Ref use iface
12.12.12.0 0.0.0.0 255.255.255.0 u 0 0 0 eth1
10.10.108.0 0.0.0.0 255.255.255.0 u 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1 192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
Found that there is no gateway I want, so I will add a
Route add default GW 10.10.88.203 eth0
Default is generally 0.0.0.0 to represent any address
But found the following error
Siocaddrt:no such process
This is because I want to add the 10.10.88.203 and my host 10.10.108.23 not the same network segment, need to add a
Route add 10.10.88.203 Dev eth0
And then execute the above command.
Route-n can see the results, the bottom of the list is what we want. And the machine will be able to ping the gateway perfectly.
Destination Gateway genmask Flags Metric Ref use iface
12.12.12.0 0.0.0.0 255.255.255.0 u 0 0 0 eth1
10.10.108.0 0.0.0.0 255.255.255.0 u 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
0.0.0.0 10.10.88.203 0.0.0.0 UG 0 0 0 eth0