System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to ping serverA from serverB but able to ping server B from server A

 
SOLVED
Go to solution
senthil_kumar_1
Super Advisor

Not able to ping serverA from serverB but able to ping server B from server A

Hi All,

I have two servers ServerA (HP-UX 11.31) and ServerB (HP-UX 10.20).

Not able to ping serverA from serverB but able to ping server B from server A.

How to solve this.
17 REPLIES
Suraj K Sankari
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

Hi,
>>Not able to ping serverA from serverB
Some time we are disable ping for security policy.

There are so many reasons 1st server A's ping might be disable.

or add route entry into server A .

Suraj
senthil_kumar_1
Super Advisor

Re: Not able to ping serverA from serverB but able to ping server B from server A

1)How to enable ping.

2)Route has been added in ServerA.

Steven Schweda
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

> I have two servers [...]

How much network hardware lies between them?

> Not able to [...]

This is not a useful problem description. It
does not show what you did. It does not show
what happened when you did it.

Is "ping" the only thing which fails? Do
normal services (Telnet, FTP, remsh, ...)
work?

> 2)Route has been added in ServerA.

Perhaps the psychics here know what your
routes are on both hosts, but some of us are
still in the dark. If we knew any of the
(secret?) IP addresses, then this might help:

netstat -rn


> How to solve this.

To start, provide even a little bit of useful
information?
Suraj K Sankari
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

HI,

Did you try telnet, ssh, rlogin ?
from server B to server A.
Ask from your network team they might block ping for server A.
Are you able to ping server A from other server from your network.

Suraj
Raj D.
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

Senthil,

> Not able to ping serverA(v3) from serverB(v1)

-Is it a new occurrence or was it working earlier.?
-Can you check ssh and telnet from ServerB to A.
- if telnet/ssh working and ping not, then the ping may be disabled in the firewall rule.
- Are they in same subnet and same network.
- check # netstat -rn for both the server.
- You will have some understanding after checking the above.



Hth,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Viveki
Trusted Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

Hi Senthil?

What are the OSs runnig on both the servers? Are both are HP-UX? If yes, are telnet, ftp etc are working? If working, contact your network team as in HP-UX the ping cannot be disabled without implementing utilities like IPfilter.

If telnet,ftp all are not working check the network configuration of server B. Also check are you able to ping other hosts in the server A's network. Or atleast you are able to ping the gateway.
Hakki Aydin Ucar
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

Hi ,
there is lots of answers, in the first place I thought ping blocked between these servers in a router but in one way, so you are able to ping in one direction but in other direction is not. Easy way to test to try other service like telnet, ftp .. And to be sure the path between servers:additionaly;

traceroute serverA
from serverB may be useful.
Steven Schweda
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

> [...] Do normal services (Telnet, FTP,
> remsh, ...) work?

> Did you try telnet, ssh, rlogin ? [...]

> -Can you check ssh and telnet from ServerB
> to A.

> [...] are telnet, ftp etc are working?

> [...] try other service like telnet, ftp ..


Is there some pool bet going on, where the
hundredth person to make this suggestion
wins some amazing prize? (At this rate, we
should have a winner soon.)
senthil_kumar_1
Super Advisor

Re: Not able to ping serverA from serverB but able to ping server B from server A

Hi All,

I am able to connect rlogin, telnet, FTP and SSH running in ServerA.

Actually now it is pinging, but taking about 2mins to get first icmp message. (May be it was pinging before also, that time i did not wait for more than 5 seconds).

Why it is taking some time to view the first ICMP message.
Steven Schweda
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

> How much network hardware lies between them?

Still wondering.

Have you checked the hardware? (Speed and
duplex settings, cables, hub/switch ports,
...?)

> I am able to connect rlogin, telnet, FTP
> and SSH running in ServerA.

And are they slow, too?


Don't let too much information leak out all
at once.
senthil_kumar_1
Super Advisor

Re: Not able to ping serverA from serverB but able to ping server B from server A

How to check the duplex and speed of NIC in HP-UX 11.31.


Alex Glennie
Honored Contributor
Solution

Re: Not able to ping serverA from serverB but able to ping server B from server A

see http://sysdigg.blogspot.com/2007/12/check-ethernet-settings-speed-in-hp-ux.html

"found by typing How to check the duplex and speed of NIC in HP-UX"dirctly into google
Torsten.
Acclaimed Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

I doubt about your network settings like gateway and netmask - better check this.

However, NIC details in 11.31:

# nwmgr -g -v -c lan0
lan0:
Interface State =UP
MAC Address = 0x00306E4B1234
Subsystem = igelan
Interface Type = 1000Base-T
Hardware Path = 0/1/2/0
NMID = 1
Feature Capabilities = Physical Interface
IPV4 Recv CKO
IPV4 Send CKO
VLAN Tag Offload
64Bit MIB Support
IPV4 TCP Segmentation Offload
UDP Multifrag CKO
Feature Settings = Physical Interface
VLAN Tag Offload
64Bit MIB Support
MTU = 1500
Speed = 100 Mbps Full Duplex (Autonegotiation : On)


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Suraj K Sankari
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

Hi,
Senthil you can use "newmgr" command

nwmgr command performs the functions previously served by the (now deprecated) commands:
â ¢ lanadmin
â ¢ lanscan
â ¢ linkloop
See nwmgr(1M) for details on using the

read the attached file Page no 133

Suraj
Suraj K Sankari
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

Hi,

Sorry to attached the pdf.

here is the link, file size is too big not able to attached. find the link below.

http://docs.hp.com/en/5992-6573/5992-6573.pdf

Plz No point for this post

Suraj
Johnson Punniyalingam
Honored Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

>>How to check the duplex and speed of NIC in HP-UX 11.31.<<

man lanadmin

Example :-

# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E037A17 0 UP lan0 snap0 1 ETHER Yes 119

# lanadmin -x 0
Current Config = 100 Full-Duplex AUTONEG

Problems are common to all, but attitude makes the difference
Viveki
Trusted Contributor

Re: Not able to ping serverA from serverB but able to ping server B from server A

Hi Senthil,

Is the 2 minutes delay happens for geting telnet login prompt also?