- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Configuring Multiple Default Gateways
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
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
10-10-2012 05:34 AM
10-10-2012 05:34 AM
Hi all!
I have an HP-UX 11iv3 with two network interfaces, each one is connected to a vlan.
Let's say:
lan0 - 10.10.70.38 netmask 255.255.255.0
gateway is: 10.10.70.254
and
lan1 - 192.168.7.126 netmask 255.255.255.0
gateway is: 192.168.7.1
I've configured gateways via SMH and i double checked the config in /etc/rc.config.d/netconf.
The problem is that the servers respond on just one gateway and not the other.
I've googled a bit and I've found that this can be resolved using iproute utility but that's for LINUX systems
(check out this blog, that's exactly the configuration that I need to set up configuring-multiple-default-routes-in-linux ).
Can someone tell me the alternative of this iproute2 in HP-UX or explain to how to configure two default gateways on the server each one on a seperate network interface.
Thanks!
Solved! Go to Solution.
- Tags:
- gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2012 06:20 AM
10-10-2012 06:20 AM
Re: Configuring Multiple Default Gateways
ROUTE_DESTINATION[0]="net 192.6.12.192"
ROUTE_MASK[0]="255.255.255.224"
ROUTE_GATEWAY[0]="192.6.12.130"
ROUTE_COUNT[0]="1"
ROUTE_DESTINATION[1]="net 192.6.12.33"
ROUTE_MASK[1]="255.255.255.240"
ROUTE_GATEWAY[1]="192.6.12.131"
ROUTE_COUNT[1]="1"
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2012 08:52 AM
10-10-2012 08:52 AM
SolutionSee pages 10-15 of this excellent document by Olivier S. Massé:
http://mayoxide.com/presentations/Understanding_hpux_routing.pdf
It describes this common behavior on multi-homed hosts, its root cause and some ways to fix it on HP-UX.
If you really need both network interfaces to have world-wide connectivity, you'll probably need the ip_strong_es_model setting described on page 13.
But if at least one of your NICs only needs to connect to a small number of network segments, setting up segment-specific route entries (like Torsten suggested) might be appropriate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2012 03:42 PM
10-12-2012 03:42 PM
Re: Configuring Multiple Default Gateways
Thank you very much Matti. It the document was very helpful and solved my problem.