- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HPUX and routing
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
Forums
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
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-10-2004 01:08 PM
08-10-2004 01:08 PM
HPUX and routing
We have a Server running HPUX 11.x and
1)when using Mib browser to see the routing table we are seeing big routing table. Also the default gateway is not there
2)When using netstat -rn we don't see this big routing table and the default gateway is there.
The sys admin for this box is telling us that the routing protocol is disabled "this server has two NIC".
Why we have two different output?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 01:46 PM
08-10-2004 01:46 PM
Re: HPUX and routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 02:20 PM
08-10-2004 02:20 PM
Re: HPUX and routing
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 03:51 PM
08-10-2004 03:51 PM
Re: HPUX and routing
Michael is very likely correct in his statement about routed/gated running. It is typical of those protocols to remove the default route and to have huge routing tables. However, without access to the system, and root access at that, there isn't much you can do about the routing tables or the routing protocols that are managing those tables.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 04:07 PM
08-10-2004 04:07 PM
Re: HPUX and routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 04:54 PM
08-10-2004 04:54 PM
Re: HPUX and routing
# ndd -get /dev/ip ip_ire_hash
It will give all informations about your routing. ( root permission needed to do)
you can no more informations on /etc/rc.config.d/netconf . Any user can view the settings
Can you give the examples of differences which u find over in mib and in netstat -rn
or ndd (if you have root permission)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 06:09 AM
08-11-2004 06:09 AM
Re: HPUX and routing
I am network Analyst and sys Admin is pointing this to be network problem and we want fix this routing problem with this server.
Only this server is doing this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 06:30 AM
08-11-2004 06:30 AM
Re: HPUX and routing
You can use snmpwalk from the remote system to find out the processes running in the HP-UX system.
# snmpwalk
The above command will list all the processes runnign in the remote node.
If the get community name is set to somethign other than the default, you might need to mention it with the snmpwalk command
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 07:11 AM
08-11-2004 07:11 AM
Re: HPUX and routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 07:40 AM
08-11-2004 07:40 AM
Re: HPUX and routing
I realize that the ip_ire_hash list is different than the routing table returned by the "netstat -rn" command, but I'm trying to understand your question specific to the MIB browser. If the MIB browser is returning the same routing list as the ip_ire_hash list then I guess your question becomes: "Why are the routing lists returned by ndd and netstat different?"
Let me know if the ip_ire_hash list and the list from the MIB browser are the same and we can proceed from there.
Thanks,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 07:53 AM
08-11-2004 07:53 AM
Re: HPUX and routing
I am getting the same result from:
1)"ndd -get /dev/ip ip_ire_hash", SMPWALK, OPENVIEW MIB Browser, SolarWinds, Getif utility that I download from the net.
2) The result is completely different from "netstat -rn".
The tools listed in 1) show as default Gateway the same IP as the box "142.205.151.245"
But "netstat -rn" and netconf show the default Gateway "142.205.148.1"
See attached file
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 07:57 AM
08-11-2004 07:57 AM
Re: HPUX and routing
1)OpenView Mib browser
2) GEIF
3)SOlarWinds
See attached file
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 08:04 AM
08-11-2004 08:04 AM
Re: HPUX and routing
Honestly, I wouldn't worry about the difference very much at all. I really don't think there is a problem.
My question now is -- What led your unix administrator(s) to question this? What do they perceive the problem to be? Are they seeing network performance issues?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 08:18 AM
08-11-2004 08:18 AM
Re: HPUX and routing
The problem is with only this machine. We have 4 other HPUX working fine in local and remote subnet.
The result of "netstat -rn", "OpenView Mib browser", Getif, ... are the same on the 4 HPUX machine that user have no problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 10:00 AM
08-11-2004 10:00 AM
Re: HPUX and routing
Just to close the loop on why the output from "netstat -rn" and "ndd -get /dev/ip ip_ire_hash" return different values - the ndd command returns the full ire hash contents while the netstat command filters out specific entries.
Looking at the code, one of the first things netstat does is eliminate any of the entries whose route type is MIB2_ROUTE_other. These entries show up in Solarwinds and GetIF as type "other". If you look at the "type" column in GetIF or the ipRouteType column in Solarwinds and eliminate any entries of type "other" you will end up with a list very similar to the netstat -rn output. The remaining entries are organized according to whether they are host route entries, gateway entries, etc.
So, the ndd command does return the full route table and netstat returns a filtered version of the route table.
As for having systems where the netstat and ndd output return exactly the same entries? I haven't seen a system where that is the case in my network. Every system I've tried this on has many ndd entries that don't show up in the netstat output.
Bottom line, I don't consider having extra entries in your ndd ip_ire_hash list compared to the "netstat -rn" output to be a problem or a source of concern.
As for why things work fine on one subnet and not on another, I'd start looking at things like network traces of a working system and compare them to a failing system and look for differences. Is the failing trace showing packets not making it from client to server or vice versa? While this could indicate a routing problem, it is not necessarily a routing problem.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 10:47 AM
08-11-2004 10:47 AM
Re: HPUX and routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 02:10 PM
08-11-2004 02:10 PM
Re: HPUX and routing
Can you provide with netstat code and highlight where netstat code eliminate any of the entries whose route type is MIB2_ROUTE_other.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2004 06:11 PM
08-11-2004 06:11 PM
Re: HPUX and routing
The code function I was referring to is called route_report_ipv4, and it get called from a while() loop in the main code path as netstat processes the route MIBs it retrieved from its SNMP call. There are a number of condition checks inside a for() loop within route_report_ipv4, one of which is:
if (re->ipRouteType == MIB2_ROUTE_other)
continue;
If it encounters an ipRouteType of MIB2_ROUTE_other it skips it and the for() loop goes to the next entry.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 02:11 AM
08-12-2004 02:11 AM
Re: HPUX and routing
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 02:23 AM
08-12-2004 02:23 AM