1832542 Members
5681 Online
110043 Solutions
New Discussion

Need help

 
SOLVED
Go to solution
Mridul Dutta
Advisor

Need help

Hi
one can ping servers on the subnet his workstation is on, but not other subnets. What is wrong?

Mridul
6 REPLIES 6
Tomek Gryszkiewicz
Trusted Contributor

Re: Need help

Maybe you have no gateways configured? Send us netstat -nr results.
Devender Khatana
Honored Contributor
Solution

Re: Need help

Hi,

For resloving a IP outside your own subnet you need route to the destination subnets. If the routes are not defined the name resolution to the destination IP will not take place relusting in no ping/telnet or anything else to the destination IP.

The error from ping will help you to find more about it. It will show "destination host unreachable". A better option will be to use tracert to find out at which point it is not be able to preceed further. This will be important if you have more than one subnets in your network and one of the network through which the traffic is routed is down.

HTH,
Devender
Impossible itself mentions "I m possible"
Muthukumar_5
Honored Contributor

Re: Need help

same thread and answer is there as,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=987846

-Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Need help

Are you trying to ping hostname or ip-address.

Based on that it will differ,

If ip-address ping is not working then,

Routing setting is the problem. You have to setup proper routing with route command.

If ip-address ping is working but not hostname ping then,

Your hostname resolvation setting in /etc/nsswitch.conf hosts: entries are not having enough informations in /etc/hosts or /etc/resolv.conf file.

You have to put hostname ip-address information in /etc/hosts file or DNS entry of nameserver in /etc/resolv.conf file.

-Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Need help

Use traceroute to find out which connect point it is losing connectivity.

-Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Need help

It is a routing problem, # traceroute will give more information. Update your routing table accordingly, # route add

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"