- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ping:send to:no route to host
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 03:28 AM
тАО09-11-2002 03:28 AM
ping:send to:no route to host
I running 10.20 on hpux but, have a problem that ping test.
I recieved like that under message when tried to ping to another host(machine1)
#ping 192.XXX.XXX.XXX(machine1)
ping:send to: no route to host
ping:wrote 192.XXX.XXX.XXX 64 chars,ret=-1
my route table on host
[/]# netstat -rn
Routing tables
Dest/Netmask Gateway Flags Use Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 1459024 lo0 4136
192.xxx.xxx.xxx 192.xxx.xxx.xxx UH 0 9265 lan0 4136
192.xxx.xxx.0 192.xxx.xxx.xxx U 2 0 lan0 1500
default 192.xxx.xxx.254 UG 0 0 lan0 1500
[/]#
question)
what are these mean?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 03:35 AM
тАО09-11-2002 03:35 AM
Re: ping:send to:no route to host
Seems the problem is with your routing table.
If you don't mind give all ip addresses in the
scene.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 03:36 AM
тАО09-11-2002 03:36 AM
Re: ping:send to:no route to host
(old part)
#ping 192.XXX.XXX.XXX(machine1) -->
#ping 192.xxx.xxx.3(another host)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 03:37 AM
тАО09-11-2002 03:37 AM
Re: ping:send to:no route to host
first you need to check
1. ping loopback (127.0.0.1)
if it's responding check with cable
2.ping your router
if not check with /etc/rc.config.d/netconf file.
this should suffice your need, still doesn't working then you need to check up the lan card.
(lanadmin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 03:50 AM
тАО09-11-2002 03:50 AM
Re: ping:send to:no route to host
Is the network configured on this system. Also have you configured the defaule gateway. Can you ping this server ip from another server / workstation.
Try this link from hp cookbook from itrc,
http://us-support2.external.hp.com/iv/data/documents/DE_SW_UX_swrec_EN_01_E/NetConnectivity.pdf
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 04:10 AM
тАО09-11-2002 04:10 AM
Re: ping:send to:no route to host
Can you post the ACTUAL results of the "netstat -rnv" without modifying the IP addresses.
It is not a security risk to post IP addresses.
Can you also post the output from "lanscan -v", and "cat /etc/nsswitch.conf"
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 04:59 AM
тАО09-11-2002 04:59 AM
Re: ping:send to:no route to host
(127.0.0.1)
if that doesn't work, networking is set up correctly.
2) if that does work, ping the IP of the host your on (should be the one maked UH).
if that doesn't work, networking is set up correctly.
3) if that does work, you've probably got an incorrect netmask somewhere in a route.
use
netstat -rnv
to check the actual network address for the route.
If things still seem weird, post the _real_ output of netstat -rnv. The 192 network is RFC 1597 reserved space (we use it too). There should be no security implications when posting that space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 04:59 AM
тАО09-11-2002 04:59 AM
Re: ping:send to:no route to host
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 06:20 AM
тАО09-11-2002 06:20 AM
Re: ping:send to:no route to host
I tried what ping test for localhost(127.0.0.1)that was got a result good status.
I will try that above suggested the solutions.
anyway, what does these mean under lines about ping test result.
I don't know who anyone can explain to me under situation?
--->
#ping 192.XXX.XXX.XXX
ping:send to: no route to host
ping:wrote 192.XXX.XXX.XXX 64 chars,ret=-1
<---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 06:40 AM
тАО09-11-2002 06:40 AM
Re: ping:send to:no route to host
Let's verify that we have a good network connection before we start to blame the routing.
landadmin
lan
display
should show the status of the network connection. If it's good you should see:
Administration Status (value) = up(1)
Operation Status (value) = up(1)
You might also verify that the speed is the same as your switch or hub thinks it is.
You can also run
lanscan
which should tell you the status but I like lanadmin since I can also check the speed and errors (second page of display) and see if I am getting any packets in or sending any out.
Test the Ethernet connection with
linkloop -n 5 -v macaddress
where macaddress is the mac of another host on the same ethernet hub. This is a hex number so you have to prefix it with 0x and leave off any dots which may have been stuck in it for readability. Since you only have one lan I don't think you need the -i option to tell it which one you want to do it on.
If the network is not up then check the cable, the speed on both end, the switch or hub port, the NIC.
If all of the above is good then check your masks on all machines involved. Can you ping the gateway?
On an aside note: 192.168 is the private address. Any other 192 subnetwork address can be a valid registered internet address. The smart thing to do if you are talking about a real address is to substitute the Network octets with letters:
A.B.C.0 is your network address.
A.B.C.254 would be your router. That way if you are trying to ping A.B.C.1 we know it's on the same subnet whereas A.B.D.1 would not be on the subnet.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2002 07:50 AM
тАО09-11-2002 07:50 AM
Re: ping:send to:no route to host
Dest Gateway int
127.0.0.1 127.0.0.1 lo0
192.x.x.x 127.0.0.1 lo0 (192.x.x.x should be full ip of stations via local loop address)
192.x.x 192.x.x.x lan0(dest entry should be network address assuming default subnet mask via full ip address of station)
Check your lan0 configuration in /etc/rc.config.d/netconf and try again.
Good Luck.
Steve