Server Red Hat and error message Destination Host Unreachable

Associate
Joined
5 Dec 2005
Posts
142
The Linux server Red Hat that I have got is giving me this error :

((Destination Host Unreachable.....))


Its NIC is up, and IP, Subnet Mask, Default Gateway is fine, the Cisco switch where it connected is configured correctly, but neither any one can ping this Red Hat Server nor it can ping any one on the same network.

Switch shows green light , that means physical connection (NIC, cable) should be ok.
[font=&quot]

I even added the default router under the properties of NIC on Red
Hat Server....it didn't make any difference.

1- Beside the firewall (enabling and disabling) that I have to check[/font]




[font=&quot]2- Can I uninstall TCP/IP and reinstall it again (If that feasible like windows)?[/font]
 
Last edited:
what NIC is it?
can you post your dmesg ( at prompt dmesg>dmest.txt )
anything in /var/log/messages
do you have DHCP running anywhere, if so does it get a dhcp address?
what version of RedHat server ES?
 
If I unplugged the server and plugged my laptop instead, they can ping each other (switch and other PCs and laptop)

Any VLANs configured?
Yes, but I am trying to ping a PC within same VLAN.

do you have DHCP running anywhere, if so does it get a dhcp address?
I have assigned static ip address,,,,,,I am going this on the lab (testing envirnoment)

can you post your dmesg ( at prompt dmesg>dmest.txt )
anything in /var/log/messages
I will post these.
 
Last edited:
Daft question, but you havn't got ICMP echo disabled on the RH server have you or any firewall rules?
(Don't know much about red hat...)

Check /etc/sysctl.conf

net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1

They should be set to 0 if you want ping to work.
 
Read what I asked? Thats what I meant. If either of those two flags are set on the RH box you wont be able to ping it.
 
Read what I asked? Thats what I meant.

I thought when you have said : "Daft question " , to the question or reply that I have raised previously , therefore I have asked you : "Which question ?"
 
Last edited:
he was saying his own question was daft. Have you checked what he said? can you show us your routing table and a copy of an ifconfig -a.
 
Back
Top Bottom