How to identify unused NICs - HP UX

This is a discussion on How to identify unused NICs - HP UX ; 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 ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: How to identify unused NICs

  1. How to identify unused NICs

    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





  2. Re: How to identify unused NICs

    Spook wrote:

    >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
    >
    >
    >

    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 |
    | |
    | Nunawading, Victoria , Australia |
    ================================================== ============

  3. Re: How to identify unused NICs

    see also lanadmin (link up, actual speed,...)

  4. Re: How to identify unused NICs


    "Spook" ha scritto nel messaggio
    news:dc063601-879e-4113-a916-f3a0a8bf756a@j33g2000pri.googlegroups.com...
    > 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
    >

    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
    >
    >




+ Reply to Thread