- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11.31 Default gateway not getting used
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
тАО04-12-2011 05:00 AM
тАО04-12-2011 05:00 AM
HP-UX 11.31 Default gateway not getting used
Here is an example of my routing table:
Destination Gateway Flags Refs Interface Pmtu
10.20.0.0 172.23.36.1 UG 0 lan1 1500
172.22.4.0 172.22.36.1 UG 0 lan0 1500
172.22.27.0 172.23.36.1 UG 0 lan1 1500
172.23.2.0 172.23.36.1 UG 0 lan1 1500
172.18.2.0 172.23.36.1 UG 0 lan1 1500
172.19.0.0 172.23.36.1 UG 0 lan1 1500
172.17.0.0 172.21.62.1 UG 0 lan2 1500
172.21.0.0 172.21.62.1 UG 0 lan2 1500
loopback localhost U 0 lo0 32808
default 172.21.62.1 UG 0 lan2 1500
As you can see from the bottom entries, I have 2 networks I need to reach over the default gateway (172.21.0.0 and 172.17.0.0), but without these static routes configured, traffic does not flow.
Now correct me if I'm wrong, but isn't the point of the default gateway to try and route traffic through it if no other rule is present to override it? What am I missing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2011 05:27 AM
тАО04-12-2011 05:27 AM
Re: HP-UX 11.31 Default gateway not getting used
The mask values are essential when figuring out how your network routing works. The default gateway entry should have mask 0.0.0.0 to match everything.
The outputs of "ifconfig lan0", "ifconfig lan1" and "ifconfig lan2" would be useful too.
At this point, without seeing any other information, my first guess would be that one of your netmasks (either in the routing table or in the network interface configuration) is perhaps set too wide: for example, it might be intended to refer only to 172.19.*.* but it is accidentally set to cover the entire 172.*.*.* segment.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2011 06:24 AM
тАО04-12-2011 06:24 AM
Re: HP-UX 11.31 Default gateway not getting used
Dest/Netmask Gateway Flags Refs Interface Pmtu
10.20.0.0/255.255.0.0 172.23.36.1 UG 0 lan1 1500
142.226.0.0/255.255.0.0 172.23.36.1 UG 0 lan1 1500
172.22.4.0/255.255.255.0 172.22.36.1 UG 0 lan0 1500
172.22.27.0/255.255.255.0 172.23.36.1 UG 0 lan1 1500
172.23.2.0/255.255.255.248 172.23.36.1 UG 0 lan1 1500
172.18.2.0/255.255.255.0 172.23.36.1 UG 0 lan1 1500
172.19.0.0/255.255.0.0 172.23.36.1 UG 0 lan1 1500
172.21.0.0/255.255.0.0 172.21.62.1 UG 0 lan2 1500
172.17.0.0/255.255.0.0 172.21.62.1 UG 0 lan2 1500
loopback/255.0.0.0 localhost U 0 lo0 32808
default/* 172.21.62.1 UG 0 lan2 1500
# ifconfig lan0
lan0: flags=1843
inet 172.22.36.21 netmask fffffc00 broadcast 172.22.39.255
# ifconfig lan1
lan1: flags=1843
inet 172.23.36.21 netmask fffffc00 broadcast 172.23.39.255
# ifconfig lan2
lan2: flags=1843
inet 172.21.62.22 netmask ffffff00 broadcast 172.21.62.255
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2011 12:32 AM
тАО04-13-2011 12:32 AM
Re: HP-UX 11.31 Default gateway not getting used
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2011 04:32 AM
тАО04-13-2011 04:32 AM
Re: HP-UX 11.31 Default gateway not getting used
This is a non-issue however, as we have many systems that have this gateway issue, in two different datacentres, some with ping enabled and some without. All experience the same gateway anomaly.
We also have many 11.11 and 11.31 systems in a different network environment (corporate flat network) which do not have the issue. the default gateway works fine even and the routers actually ROUTE the traffic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2011 08:32 AM
тАО04-13-2011 08:32 AM
Re: HP-UX 11.31 Default gateway not getting used
ndd -get /dev/ip ip_ire_status | grep IRE_GATEWAY
... does it have the gateway marked as dead? I'm wondering if you should diable dead gateway detection:
# ndd -h ip_ire_gw_probe
ip_ire_gw_probe:
Enable dead gateway probes. This option should only be disabled on
networks containing gateways which do not respond to ICMP echo
requests (ping).
[0-1] Default: 1 (probe for dead gateways)
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2011 09:09 AM
тАО04-13-2011 09:09 AM
Re: HP-UX 11.31 Default gateway not getting used
IRE rfq stq addr mask src gateway mxfrg rtt ref type flag
e00000049936c688 0000000000000000 0000000000000000 000.000.000.000 00000000 172.021.062.022 172.021.062.001 01500 00000 000 IRE_GATEWAY