I have two NICs.
On eth1
IP is 10.135.28.86/16
.
On eth
IP is 135.251.8.43/24
.
My routing table is like below:
135.251.8.0/24 dev eth1 proto kernel scope link src 135.251.8.43
10.135.0.0/16 dev eth0 proto kernel scope link src 10.135.28.86
169.254.0.0/16 dev eth0 scope link metric 1002
169.254.0.0/16 dev eth1 scope link metric 1003
10.0.0.0/8 via 10.135.0.1 dev eth0
default via 135.251.8.1 dev eth1
Now if I ping 10.135.28.86
from 10.34.7.103
, it's OK, while if I ping 135.251.8.43
from 10.34.7.10
, it fails.
And if I ping my public IP 135.251.8.43
from 135.252.11.7
, it's OK, if I ping 10.135.28.86
, it fails.
However, on my other machines which have exactly the same subnet and gateway configured, I can ping both IP either from 10.34.7.103
or 135.252.11.7
.
Any ideas on this?
I used tcpdump
to capture icmp
packet on other machines and found that echo request
come in eth0
and echo reply
out from eth1
.
but on this machine no echo reply
were captured.