Operating System - HP-UX
1826393 Members
3876 Online
109692 Solutions
New Discussion

Re: Network inder face cards

 

Network inder face cards

I am working on a new HP N-Class server, this server have 2 network interface cards, but I am able to see only on card (lan0). I tried through sam there also I am seeing only one card. How can I configure the second card. I need to give an ip address to the second card also.
no personal quote
10 REPLIES 10
Zafar A. Mohammed_1
Trusted Contributor

Re: Network inder face cards

Check the man pages for:
lanadmin
ifconfig



Thanks
Zafar
Helen French
Honored Contributor

Re: Network inder face cards

Did you add drivers for the second card? Is the card detected on ioscan -fn command? If it says UNCLAIMED, then you need to add drivers for that card (from application CD). If it's not detected, then check connections and compatibility.
Life is a promise, fulfill it!
LucianoCarvalho
Respected Contributor

Re: Network inder face cards

hi,

A new N-Class will have two stardand interface cards.
One 10/100BaseT that is the primary lan for the system (lan0).
And one 10BaseT that is for the Lan Console connection.
With this configuration, if we run an ioscan command, the system will show just the lan0 interface, the interface for lan console will not be showed.
To configure lan console connection you have to use the GSP.

Regards
S.K. Chan
Honored Contributor

Re: Network inder face cards

Do you know what's the part number of product name of the card that's not recognized by your server ? Run ..
# ioscan -fnC lan
and take note of what's the description of the card. If you only see one card, run ..
# ioscan -fn
and look for "unknown" or "unclaimed", that may be the card.
rick jones
Honored Contributor

Re: Network inder face cards

In addition to all the good suggestions thusfar...

Under HP-UX 11, until an interface is "plumbed" it will not show-up in an ifconfig command. So, until you ifconfig lan1 1.2.3.4 say, a simple "ifconfig lan1" will say "no such interface"


there is no rest for the wicked yet the virtuous have no pillows
Steven E. Protter
Exalted Contributor

Re: Network inder face cards

Note that unless you use Auto Port Agregation you can't have two lan's up on the same subnet.

What I mean is that if lan1 is:

192.168.0.10 netmask 255.255.255.0

lan2 can't be:

192.168.0.20 netmask 255.255.255.0

If you try it your entire network will go down.

If ioscan -fnC btlan (or maybe lan) shows two cards, thats great, but there are OS limitations on how you can set them up.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rick jones
Honored Contributor

Re: Network inder face cards

Not being able to have two physical interfaces in the same IP subnet is a myth.

Now, the default HP-UX 11 behaviour may not be what is desired - traffic will be accepted on any interface, but will only go-out one specific interface. If the interfaces are not all in the same broadcast domain that may mean that it will give the appearance of the network going down.

Ways to deal with this are:

*) Configuration of static routes pointing at specific interfaces for different destinations

*) use of ip_strong_es_model, which will cause the source IP address to be included in the route selection. (it also has the effect of only accepting inbound packets on the interface with the matching IP address)

still, life is better/easier with separate physical (from the perspective of the transport) interfaces in separate subnets, and APA is the better way to go for networking HA
there is no rest for the wicked yet the virtuous have no pillows
Alastair Donaldson
Frequent Advisor

Re: Network inder face cards

Check to see if the card is unclaimed.
# ioscan -fnk | grep -i un

If the card is unclaimed you will have to install the drivers for the card. These can be found on the applications CD # 1.
WARNING this will require a reboot.

Alastair Donaldson
Frequent Advisor

Re: Network inder face cards

As Lucindo states the N4000 (rp7400) has two RJ45 connections on the Core I/O for Lans. One of these connections is for remote console access to the GSP and will not show up from HP-UX (it is right next the to local console port). The card on the core I/O with hardware address 0/0/0/0 will be lan0.

If you are referring to a PCI card and you have tried all the previous suggestions it is possible that the card is not seated correctly. Try reseating the card in the slot or moving it to a different slot then redo the ioscan -fn command.

Re: Network inder face cards

Just like Luciano Pires mentioned, the second card ( the 10BaseT) is for the console connection, I install another network card and I am able to see that card when I did a " ioscan -funC lan"
no personal quote