Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to identify unused NICs

2 views
Skip to first unread message

Spook

unread,
Jul 18, 2008, 6:01:29 PM7/18/08
to
Hello,
Help a Solaris Admin out ...I'm a newby to HP-UX 11 and I inherited
a HP-UX 11 server.

I visually see an open unused NIC. There are multiple NIC in use
which I do not want to disturb as this is a production server.

What native tools do I have to confirm which is the *free* interface
to use and configure on this server?
The free NIC port I saw was one of a 2 x port NIC which one was
already in use.

I posted some details below, this server is part of a 2 node
ServiceGuard Cluster. So some NIC's - I guess - are used for the
heartbeat which I want to avoid.


Looking at the output below it might be lan2 as the unused interface
but how can I be sure?

I'm not a ServiceGuard expert but does the NICS involved with the
heartbeat show in the netstat output as well?

...
0/2/1/0 0x00156004BA5C 2 UP lan2 snap2 4 ETHER
Yes 119
0/2/1/1 0x00156004BA5D 3 UP lan3 snap3 5 ETHER
Yes 119
...


Thanks In Advance...

++++++++++++++++++++++++++++++++++


-XXXX-:/homeroot> uname -a:
HP-UX -XXXX- B.11.11 U 9000/800 3825352606 unlimited-user license

-XXXX-:/homeroot> lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-
DLPI DLPI
Path Address In# State NamePPA ID Type
Support Mjr#
0/1/2/0 0x00156004AC94 0 UP lan0 snap0 1 ETHER
Yes 119
0/1/2/1 0x00156004AC95 1 UP lan1 snap1 2 ETHER
Yes 119
0/5/2/0 0x00156004BE1A 4 UP lan4 snap4 3 ETHER
Yes 119
0/2/1/0 0x00156004BA5C 2 UP lan2 snap2 4 ETHER
Yes 119
0/2/1/1 0x00156004BA5D 3 UP lan3 snap3 5 ETHER
Yes 119
0/5/2/1 0x00156004BE1B 5 UP lan5 snap5 6 ETHER
Yes 119


--XXXX--:/homeroot> netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.10.10.2 10.10.10.2 UH 0 lan3 4136
10.48.148.169 10.48.148.169 UH 0 lan0:1 4136
10.48.148.183 10.48.148.183 UH 0 lan0 4136
10.48.47.236 10.48.47.236 UH 0 lan1 4136
208.33.52.42 10.48.148.251 UGH 0 lan0 0
192.168.21.39 10.48.47.251 UGH 0 lan1 0
65.247.37.114 10.48.148.251 UGH 0 lan0 0
192.168.21.125 10.48.47.251 UGH 0 lan1 0
10.48.148.0 10.48.148.183 U 3 lan0 1500
10.48.148.0 10.48.148.169 U 3 lan0:1 1500
10.48.47.0 10.48.47.236 U 2 lan1 1500
10.10.10.0 10.10.10.2 U 2 lan3 1500
10.48.63.0 10.48.47.251 UG 0 lan1 0
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.48.148.251 UG 0 lan0 0


Ted Linnell

unread,
Jul 18, 2008, 6:34:43 PM7/18/08
to
Spook <spe...@xtra.co.nz> wrote:

On each node:-

lanscan will give a list of NICs

ifconfig lanx will show if it is configured

Also the network config that is set up at boot time, along with routes
is contained in /etc/rc.config.d/netconf.

Regards,

Ted.
==============================================================
| Ted Linnell <edli...@acslink.net.au> |
| |
| Nunawading, Victoria , Australia |
==============================================================

Alain

unread,
Jul 19, 2008, 12:53:04 PM7/19/08
to
see also lanadmin (link up, actual speed,...)

Antonio

unread,
Jul 21, 2008, 3:47:06 PM7/21/08
to

"Spook" <spe...@xtra.co.nz> ha scritto nel messaggio
news:dc063601-879e-4113...@j33g2000pri.googlegroups.com...
From your output of netstat -rn, lan0 lan1 and lan3 are used.
use netstat -in to see other configured lan (standby used from cluster).
use lanadmin -x Y where Y is you ppa number to see if you have a cable
connect to other lan.
example
lanadmin -x 0
Speed = 1000 Full-Duplex.
Autonegotiation = On.


Regards
Antonio
>
>


0 new messages