- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't ping gateway.
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
Forums
Discussions
Discussions
Discussions
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
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-23-2001 05:34 PM
09-23-2001 05:34 PM
Here's what I have in /etc/rc.config.d/netconf:
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=
ROUTE_GATEWAY[0]=192.168.0.1
ROUTE_COUNT[0]=
ROUTE_ARGS[0]=
No problems in rc.log and am able to run /sbin/rc2.d/S340net [stop|start] without any noticable problems.
the results from netstat -rn on lan0 are:
192.168.0.7 192.168.0.7 UH 0 222 lan0 4136
192.168.0.0 192.168.0.7 U 0 0 lan0 1500
default 192.168.0.1 UG 0 0 lan0 1500
If I try to do a:
route add 192.168.0.0 192.168.0.1
I get:
add net 192.168.0.0: gateway 192.168.0.1: Network is unreachable
Any suggestions?
Cheers,
Roger
PS I'm running HP-UX 11.0 and using an AUI->10baseT tranceiver. When I ping, I see the link lights on my hub turn on.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2001 06:43 PM
09-23-2001 06:43 PM
Re: Can't ping gateway.
First off there is an error ion your netconf file.
Where the entry reads:
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="10.53.10.10"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
Change your ROUTE_COUNT to be "1"
If this doesn't fix it, what are the actual results of the ping??
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2001 06:59 PM
09-23-2001 06:59 PM
Re: Can't ping gateway.
I just read your question again.
When you want to add a default route try
this:
# route add default 192.168.0.1 1
You need to tell the routing daemon how many
hops there are to the router. The answer I
posted previously will fix the route for the
next time your system is booted.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2001 07:50 PM
09-23-2001 07:50 PM
Solutionwhat is the speed of the port on the HUB / Switch. Is it set to 10 MBPS or autosensing. Can you set it to 10 and see if your network works.
Also why don't you try to configure your card and the gateway using sam. might work.
hope this helps.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:05 AM
09-24-2001 06:05 AM
Re: Can't ping gateway.
Sanjay has already suggested it could be a speed mismatch between your machine and the switch. If not and you can't ping anything else on the local subnet then perhaps it's a physical network issue. Is the cable ok? Is the port on the switch active? Is the transceiver ok? Does your machine have an RJ-45 port you could use instead of the AUI port? Is the port on your machine ok?
Depending on your NIC, you may have to set a jumper for the AUI port to be active. See http://us-support.external.hp.com/cki/bin/doc.pl/sid=c5de93cd15fcb8b62e/screen=ckiDisplayDocument?docId=200000053279165
There are other docs in the ITRC that may help. Search for AUI will list a number of them.
Elementary issues but I've been bitten by them numerous times.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:19 AM
09-24-2001 06:19 AM
Re: Can't ping gateway.
If speed mismatch was a problem, then you would atleast be able to ping the gateway and reach the network but don't think that is the problem here.
what you could try is do
netstat -nrv
(make sure the netmasks are ok)
also looking at your routing table looks like you have an entry for default, delete it first using route delete and then add it back using "route add default 192.168.0.1 1"
Again check your output of netstat -nrv
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:42 AM
09-24-2001 06:42 AM
Re: Can't ping gateway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 06:56 PM
09-24-2001 06:56 PM
Re: Can't ping gateway.
I wrote the wrong ROUTE_COUNT in my email. I had set ROUTE_COUNT="1" in netconf.
If I do
# route add default 192.168.0.1 1
it adds the line without any problem, but nothing happens. If I try
# route add default 255.255.255.0 192.168.0.1
it says network is unreachable.
As for checking to see if the problem is hardware related, here are the clues that I've gathered. Any suggestions are appreciated...
The ethernet card is using a AUI->10bT tranceiver, hooked up to a 10/100baseT autosensing (only) hub.
When I try pinging a machine on the local subnet, I see the link light on the hub blink, but ping simply does nothing after printing:
PING 192.168.0.1: 64 byte packets
Could this still signify a hardware problem? Ideas?
Thanks,
Roger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2001 07:28 PM
09-24-2001 07:28 PM
Re: Can't ping gateway.
As suggested, it was indeed a hardware problem. For some reason, my NetGear hub was not happy with the 10bT connection. I tried connecting directly to our 3com switch and things worked fine. So I am now bypassing the hub and connecting directly to the wall's patch panel.
Thanks for the help.
Cheers,
Rog