Operating System - HP-UX
1833875 Members
1535 Online
110063 Solutions
New Discussion

Configuring multi-port LAN card in HPUX 11.0

 
shreejesh
Advisor

Configuring multi-port LAN card in HPUX 11.0

Dear all,

I am having a HP L-class server loaded with HPUX 11.0. The server is having a multi-port LAN card in which one of the port is configured. When I give "ifconfig -a" I am getting the configuration of port3. Now I want to configure the other ports. I can see other ports in lanscan command. Please guide me for the same.

Regards,
Shreejesh.
6 REPLIES 6
Mridul Shrivastava
Honored Contributor

Re: Configuring multi-port LAN card in HPUX 11.0

you can configure them using ifconfig command, pls refer man pages for the same.
Teh other way to configure them using SAM--> go to n/w and select interfaces so u can configure them one by one from there.
If u r not confident enough then I would suggest u to use SAM.
Time has a wonderful way of weeding out the trivial
Ninad_1
Honored Contributor

Re: Configuring multi-port LAN card in HPUX 11.0

Hi,

I would suggest you to use SAM - as its simpler if you are not confident with the command line. [ Make sure you have the latest patches for SAM and networking applied ]

Using command line is also very simple -
use the ifconfig command to assign ip address to the required n/w port. e.g. if you want to configure lan1 port
ifconfig lan1 10.221.51.40 netmask 255.255.255.0

Also you need to add an entry in /etc/rc.config.d/netconf for this interface after the current interface entry.

Regards,
Ninad
Ninad_1
Honored Contributor

Re: Configuring multi-port LAN card in HPUX 11.0

Also refer this url from HP-UX Lan admin manual which details what you want.
http://docs.hp.com/en/B2355-90796/ch03s04.html


Regards,
Ninad
Florian Heigl (new acc)
Honored Contributor

Re: Configuring multi-port LAN card in HPUX 11.0

The ports are still in 'unconfigured' state (check in sam) and that's why they are not listed with the ifconfig command.

before You can assign an IP address, You somehow have to make them active. (I don't remember how - ifconfig lanX create? I doubt it. SAM can be used, but might mess up Your lan configuration)
yesterday I stood at the edge. Today I'm one step ahead.
Ninad_1
Honored Contributor

Re: Configuring multi-port LAN card in HPUX 11.0

AFAIK there is no such command as ifconfig -a in HP-UX, its in Solaris.
In HP-UX you can see the available interfaces using lanscan and then use ifconfig command for that specific interface to see its configuration thus you will need to give
ifconfig lan0 to see the ip address of lan0.

Please refer to the link I have provided - that will explain you in more detail than is possible here.

Regards,
Ninad
Ganesan R
Honored Contributor

Re: Configuring multi-port LAN card in HPUX 11.0


Hi,

Use the SAM to configure the ports. So that you don't need to put the entries in netconf file manually. SAM will do for you.

Just make sure that you are able view the ports(devices) via ioscan before configure it.
Best wishes,

Ganesh.