- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: route add Network is unreachable
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
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
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
02-17-2006 12:56 PM
02-17-2006 12:56 PM
Re: route add Network is unreachable
For example, if we had systems
A-B-C-D
where the '-' is a network link. On A, we could use B as the gateway IP to reach C or D, but could not use C as the gateway IP to reach D because we only reach C via B - ie C is not local.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2006 02:10 AM
02-18-2006 02:10 AM
Re: route add Network is unreachable
This fixed My similar problem ( to add a default route)
route add default netmask 255.255.255.1 my-gateway_addr 1
(the 1 at the end is a must in my case)
netstan -rn ( just the last line shown here)
default my-gateway_addr UG 0 lan0 0
--------
to add other routes
route add ip-addr netmask 255.255.255.0 gw-addr 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 11:24 PM
02-19-2006 11:24 PM
Re: route add Network is unreachable
It appears on hpux when you are seting-up a static route for a single server, you must give a count of 1 atleast. It is not required when you specifing a network range
Man route would reveal this.
For example.
For Network range:
route add net 62.141.4.236 netmask 255.255.255.252 192.168.200.6
For Single Host:
route add host 62.141.4.235 192.168.200.6 1
thanks again to U all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2013 06:13 AM
12-17-2013 06:13 AM
Re: route add Network is unreachable
When I got this error message, with route add net ...
it was not the matter of adding the metrics number at the end.
All I had to do is: arp -d gateway_ip_address and then try again.
This time, the route add net command worked correctly!
The gateway ip address had to be deleted from the arp cache, funny enough !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2015 05:18 PM
07-03-2015 05:18 PM
Re: route add Network is unreachable
Another condition that will produce a Network unreachable error is if you try to add a route that conflicts with an existing route. For example, if you enter the following command:
route add net 1.1.0.0 netmask 255.255.0.0 2.2.2.2
and a route already exists for IP address 1.1.2.3, you have a conflict and this will produce the Network unreachable message. You can check the existing routes with "netstat -rn".
- « Previous
-
- 1
- 2
- Next »