There is another similar server, and ifcfg-eth0 and ifcfg-eth1 are similar(ofcourse different IP etc).
The other server is working fine.
difference is
Code:
on WORKING server
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
IP ADDRESS HERE * 255.255.255.0 U 1 0 0 eth1
19.16.12.1 * 255.255.255.0 U 1 0 0 eth0
default GATEWAY HERE 0.0.0.0 UG 0 0 0 eth1
on NON-WORKING server
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
IP ADDRESS HERE * 255.255.255.0 U 1 0 0 eth1
19.16.12.0 * 255.255.255.0 U 1 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
link-local * 255.255.0.0 U 1003 0 0 eth1
default GATEWAY HERE 0.0.0.0 UG 0 0 0 eth1
and WORKING server is able to resolve IP but NON-WORKING server is not able resolve IP and ending up with an error when it try to use nslookup command to resolve some other server
Code:
;; connection timed out; no server could be reached
Code:
on WORKING server
# more /etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1
nameserver <DNS IP HERE>
on NON-WORKING server
# more /etc/resolv.conf
# Generated by NetworkManager
nameserver 127.0.0.1
nameserver <SAME DNS IP HERE AS ABOVE FOR WORKING SERVER>