- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Routing problem on HP-UX
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
04-17-2009 06:13 AM
04-17-2009 06:13 AM
In the document, youâ ll see another Windows host, called â julianvmâ , that is able to communicate with both â vpar2â and â hpoo72â , thanks to a persistent route to the 10.30.0.0 network, with netmask 255.255.0.0, via the gateway on 10.0.0.7 with metric 1.
I wanted to achieve the same behavior on HP-UX, and have tried the following commands with no success:
# route add net 10.30.0.0 netmask 255.255.0.0 10.0.0.7 1
# route add net 10.30.0.0 netmask 255.255.0.0 10.0.0.200 1
# route add net 10.30.0.0 netmask 255.255.0.0 10.30.0.2 1
# route add net 10.30.0.0 netmask 255.0.0.0 10.30.0.2 1
# route add net 10.30.0.0 netmask 255.0.0.0 10.0.0.200 1
Thank you in advance,
Julián
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2009 07:17 AM
04-17-2009 07:17 AM
Re: Routing problem on HP-UX
route add net 10.30.0.0 netmask 255.255.0.0 10.0.0.200 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 02:10 AM
04-20-2009 02:10 AM
Re: Routing problem on HP-UX
Still I'm not able to ping ...
vpar2.nsbc.compaq.es.root => netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 32808
10.20.0.53 10.20.0.53 UH 0 lan0 32808
10.0.0.0 10.20.0.53 U 2 lan0 1500
10.30.0.0 10.0.0.200 UG 0 lan0 1500
127.0.0.0 127.0.0.1 U 0 lo0 32808
default 10.0.0.7 UG 0 lan0 1500
vpar2.nsbc.compaq.es.root => ping 10.30.2.101
PING 10.30.2.101: 64 byte packets
----10.30.2.101 PING Statistics----
16 packets transmitted, 0 packets received, 100% packet loss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 02:19 AM
04-20-2009 02:19 AM
Re: Routing problem on HP-UX
You can also check at ip_ire_hash
( ndd -get /dev/ip ip_ire_hash)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 03:17 AM
04-20-2009 03:17 AM
SolutionIf you have a 10.0.0.0 network with a subnet mask of 255.0.0.0 then the 10.30.0.0 subnet is actually just part of the 10.0.0.0 network, so as HP-UX correctly interperts the rules in the RFCs around routing, anything for the 10.30 network is just going to be thrown out of the interface with address 10.20.0.53 as HP-UX is assuming (correctly according to the RFCs) that anything with a 10.30 address is on the same subnet.
You could *try* adding a route just to the host rather than to the subnet and that *might* work (can't remember the order that these things are checked in), try something like:
route add 10.30.2.101 10.0.0.200 1
But I wouldn't be surprised if that doesn't work either.
Remember its the windows hosts that are "broken" here, by allowing this invalid IP subnet configuration to work in the first place.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 07:40 AM
04-20-2009 07:40 AM
Re: Routing problem on HP-UX
# route add host 10.30.2.101 10.0.0.7 1
I forgot to say that 10.0.0.7, besides of being the default gateway, also has a route created that allows to reach network 10.30.0.0 via 10.0.0.200 interface.
Cheers,
Julián
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 11:57 AM
04-20-2009 11:57 AM
Re: Routing problem on HP-UX
JP