- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: output order of netstat -in
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
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
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
тАО02-22-2003 01:50 AM
тАО02-22-2003 01:50 AM
I recently installed a HP-UX 11.0 (with multiple LAN cards running in MC/SG). I found that the output of "netstat -in" is totally different from the output in HP-UX 10.20.
The output is attached for your reference.
In HP-UX 10.20, the output of netstat is in order, lo0 first, then lan0 (the real IP), then lan0 (the cluster IP), then lan1,.....
But in HP-UX11.0, the output of netstat is a mess, no order at all.
The /etc/rc.config.d/netconf are configured similar in both cases. Is there any other configuration I should set in HP-UX11.0 to get an order output?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2003 02:03 AM
тАО02-22-2003 02:03 AM
Re: output order of netstat -in
Do you have the PHNE_17434 netstat patch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2003 02:13 AM
тАО02-22-2003 02:13 AM
Re: output order of netstat -in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2003 02:17 AM
тАО02-22-2003 02:17 AM
Re: output order of netstat -in
See in 10.20 if you added any package or created a virtual interface(assign an IP to a package) you'll have it always as that interface name. i.e why you have more lan0. You output of 10.20 explains you have 3 interface lan2 is standby lan1 has a Ip and lan0 and other are packages bound to lan0.
Now in 11.00 when you create a virtual interface using ifconfig or assign IP to a package it create a new virtual name like lan0:1 and so on. So your output of 11.00 explains you have 4 interfaces. With 3 IP to lan0, lan1, lan2 and lan3 a standby interface. lan0:1 & lan0:2 are 2 packages in guess (virtual IP assigned to package). So i dont feel there is a mess in output of netstat -in. Just you need to understand.
Cheers
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2003 02:45 AM
тАО02-22-2003 02:45 AM
Re: output order of netstat -in
I dont see any thing messed, this is the way the output of 11.00 is.
Let me know what you feel is messy.
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2003 08:20 AM
тАО02-22-2003 08:20 AM
Re: output order of netstat -in
e.g using which lan as the source IP for ping or snmpwalk?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2003 04:28 PM
тАО02-22-2003 04:28 PM
Re: output order of netstat -in
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2003 11:29 AM
тАО02-24-2003 11:29 AM
SolutionOutbound interface is selected based on routes (netstat -rn). The most complete match for the destination IP will be the route used (host route, then (sub)net route, then default).
Now, if you ifconfig multiple interfaces into the same IP subnet, the order of _ifconfig_ will determine which is used for outbound traffic. However, such configurations, while possible, and even "supported" are not something one should do without strong knowledge of routing, and the effects of ndd settings like ip_strong_es_model. (ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2003 04:23 AM
тАО03-05-2003 04:23 AM
Re: output order of netstat -in
Actually, what you said is my concern.
Because I have several interfaces configured within the same subnet, when I tried to execute "snmpwalk" to a specific node, I found that there must be some failure and some succeed.
I suspect that the snmpwalk use different outbound interfaces each time. Because each specific node is configure SNMP access control, only specific IP can SNMP query to those nodes.
I would like to know that any method to configure the snmpwalk (and other snmp command) to use fixed outbound interface.
Thank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2003 03:30 PM
тАО03-05-2003 03:30 PM
Re: output order of netstat -in
The _best_ way to put multiple NICs into the same subnet (particularly if HA is a concern) is to use Auto Port Aggregation, and bind the N NICs into an aggregate. Then ifconfig the IPs to the aggregate and away you go.
Otherwise, you need to start doing creative things with ndd to set ip_strong_es_model and/or explicit host routes pointing at explicit local IPs. ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2003 08:50 PM
тАО03-06-2003 08:50 PM
Re: output order of netstat -in
I see your attachment.I think that
lan0 is configured 3 IP address.
Lan2 is your dedicative heardbeat IP.
Lan3 is your standby NIC.So it isn't configured IP address.Your lan0 and lan1 are in the same subnet.I don't know your application ,so I cann't tell you which is your fixed IP and which is your floating IP.
Best regards.
Weit