- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can ping default gateway but cant add the rout...
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
08-02-2012 07:17 AM
08-02-2012 07:17 AM
Hi
I'm trying to add route as below:
# route add default 172.20.0.250
add net default: gateway 172.20.0.250: Network is unreachable
#
However I can ping it:
# ping 172.20.0.250
PING 172.20.0.250: 64 byte packets
64 bytes from 172.20.0.250: icmp_seq=0. time=0. ms
64 bytes from 172.20.0.250: icmp_seq=1. time=0. ms
64 bytes from 172.20.0.250: icmp_seq=2. time=0. ms
64 bytes from 172.20.0.250: icmp_seq=3. time=0. ms
64 bytes from 172.20.0.250: icmp_seq=4. time=0. ms
64 bytes from 172.20.0.250: icmp_seq=5. time=0. ms
64 bytes from 172.20.0.250: icmp_seq=6. time=0. ms
Routing table is as follows:
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
172.20.0.12 172.20.0.12 UH 0 lan0 32808
172.20.0.0 172.20.0.12 U 2 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
I'm confused. Why can't i add the route as above and be told the netowrk is unreachable??
Regards
Tariq
Solved! Go to Solution.
- Tags:
- route
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2012 09:11 AM