Operating System - HP-UX
1836438 Members
3427 Online
110100 Solutions
New Discussion

Re: I can ping/telnet to system

 
shashi kiran_3
Occasional Advisor

I can ping/telnet to system

We are having a switch on our network.
I can ping/telnet to this switch from server A.
I can ping/telnet to server B from server A.
I cannot ping/telnet to this switch from server A.
All the system are in same subnet.

Could u pls throw some hints regarding this problem

Thanks
Shashi



8 REPLIES 8
Bharat Katkar
Honored Contributor

Re: I can ping/telnet to system

Hi Shashi,
you are saying:
1.I can ping/telnet to this switch from server A.
2.I can ping/telnet to server B from server A.
3.I cannot ping/telnet to this switch from server A.

Statements 1 and 3 are contradictory. COuld you explain the scenario in details. Do you have two switches in your network.

What exactly is the problem?
1. Is it A is able to telnet B but B is not able to telnet A?
2. Is it that A is able to telnet to Switch but B is not able to telnet to switch?

Please clarify...
Regards,
You need to know a lot to actually know how little you know
Shaikh Imran
Honored Contributor

Re: I can ping/telnet to system

Hi,
I have a small doubt pls clarify...
Could you please confirm your post
your statement contradicts
"I can ping/telnet to this switch from server A."
"I cannot ping/telnet to this switch from server A."
Then what is the problem or is it the second time it's like
"I cannot ping/telnet to this switch from server B."

If this is the case then i would ask you compare the route settings on both the servers & match them.
Pls tell what is the O.S. on the servers.

Regards,



I'll sleep when i am dead.
Bharat Katkar
Honored Contributor

Re: I can ping/telnet to system

Also is it possible for you to post "netstat -rn" output from both the servers.
Regards,
You need to know a lot to actually know how little you know
monasingh_1
Trusted Contributor

Re: I can ping/telnet to system

I think you meant that you can not ping/telnet to switch from server B, right? And your systems are on the same subnet but your management IP of switch may be on a different subnet.

One situation may exist when the switch IP (used for telnet) is on a different subnet. Server A default route is defined correctly to get you to that IP of switch. Whereas server B's default gateway is not configured right to get you to switch's IP.

Also check the server B is nslooking up right for switch.

Other things I will try is to clear your arp table on server B , route -f, and add the default route again on server B to check.

check your nslookup for systems, switch and netstat -rn on both systems.The results of these should match.

hope this helps..
shashi kiran_3
Occasional Advisor

Re: I can ping/telnet to system


Sorry,
The question is ..


I can ping/telnet A from B.
I can ping/telnet B from C.
But i cant ping/telnet A from C.

These are within the LAN only..
It is in same subnet and there is no Frewall.

Thanks
Shashi




Shaikh Imran
Honored Contributor

Re: I can ping/telnet to system

hi,
I will again repeat to check the routing entries of the systems & if possible pls mention what is the O.S. on all the three servers.

Regards,
I'll sleep when i am dead.
monasingh_1
Trusted Contributor

Re: I can ping/telnet to system

Basic thing you should check is the nslookup on all systems for all systems. They all should match.clear arp from system C and system A for each other.

clear the arp from system C, post your nslookup from all system, post the /etc/hosts entry, /etc/resolv.conf entries from all systems, post the nsswitch.conf file from all system, ifconfig lanX from all system, netstat -rn from all systems..
Bharat Katkar
Honored Contributor

Re: I can ping/telnet to system

Check following things things on A,B, and C.

1. All should have same Subnet Mask
2. Default Gateway COnfigured properly..should be same if they are in same subnet
3. Check /etc/nsswitch file for correct entries.
4. Check DNS configuration in /etc/resolv.conf

I assume all the servers are running with HPUX.

Hope that helps.
Regards,
You need to know a lot to actually know how little you know