- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Networking
- >
- Configuring Multiple Default Gateways
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP