- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
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
тАО02-17-2006 03:36 AM - last edited on тАО12-17-2013 05:46 PM by Maiko-I
тАО02-17-2006 03:36 AM - last edited on тАО12-17-2013 05:46 PM by Maiko-I
route add Network is unreachable
I can ping the gate way, but when I try to set-up an static route I get the following. However, seting up network range to it has no probelm. Here is a listing of what I get.
rhpweb01:/$ ping 192.168.200.6
PING 192.168.200.6: 64 byte packets
64 bytes from 192.168.200.6: icmp_seq=0. time=0. ms
64 bytes from 192.168.200.6: icmp_seq=1. time=0. ms
64 bytes from 192.168.200.6: icmp_seq=2. time=0. ms
----192.168.200.6 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
rhpweb01:/$
rhpweb01:/$ route add host 62.141.4.235 192.168.200.6
add host 62.141.4.235: gateway 192.168.200.6: Network is unreachable
Please note tried all combination of giving netmask etc.
P.S. This thread has been moved from HP-UX > System Administration to HP-UX > networking. - Hp Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 03:40 AM
тАО02-17-2006 03:40 AM
Re: route add Network is unreachable
Also check you netstat -nr
if possible post it.
Try with count 2
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 03:47 AM
тАО02-17-2006 03:47 AM
Re: route add Network is unreachable
Thaks, but this will open the whole net range which would have severe result for other system. As I explained giving a net work range works. But not single host.
For example following works.
route add net 62.141.4.236 netmask 255.255.255.252 192.168.200.6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 03:49 AM
тАО02-17-2006 03:49 AM
Re: route add Network is unreachable
The default gateway that is.
Should be a listing in your routing table with the UG flag. Do the netstat -nr to view.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 03:50 AM
тАО02-17-2006 03:50 AM
Re: route add Network is unreachable
Could you post your current netstat -rn output in this query.
Regards
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 03:52 AM
тАО02-17-2006 03:52 AM
Re: route add Network is unreachable
Bit confusing isn't it..:-(
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 04:00 AM
тАО02-17-2006 04:00 AM
Re: route add Network is unreachable
rhpweb01:/$ netstat -nr | grep default
default 192.168.200.1 UG 0 0 lan0 1500
rhpweb01:/$ netstat -nr | grep 62
62.141.4.236 192.168.200.6 UG 0 0 lan0 1500
rhpweb01:/$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 04:07 AM
тАО02-17-2006 04:07 AM
Re: route add Network is unreachable
200.6 is not the target host. It is a gateway for 62.141.4 range. Which fowards to external router.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 04:21 AM
тАО02-17-2006 04:21 AM
Re: route add Network is unreachable
The suggestion is use a layer 3 switch or use firewall with NAT. That is the possible solution.
Where in layer 3 switch you can define what is the post which can send/route to which IP.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2006 04:24 AM
тАО02-17-2006 04:24 AM
Re: route add Network is unreachable
Add an additonal lan card and use that for your routing users. There by this will be a seperate net. Only users who has access to your system will be able to work.
Note: In this case you have to disbale IP forwarding
Chan