Operating System - HP-UX
1835064 Members
1988 Online
110073 Solutions
New Discussion

Problem with Lan1 address on HP9000

 
Matteo_9
Occasional Contributor

Problem with Lan1 address on HP9000

In my system I have OS HPUX 10.2 and in my /etc/rc.config.d/netconf i have these parameters:
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=33.127.0.1
SUBNET_MASK[0]=255.255.0.0
BROADCAST_ADDRESS[0]=33.127.255.255
LANCONFIG_ARGS[0]="ether"
#DHCP_ENABLE[0]=0
INTERFACE_NAME[1]=lan1
IP_ADDRESS[1]=10.0.10.1
SUBNET_MASK[1]=255.255.0.0
BROADCAST_ADDRESS[1]=10.0.255.255
LANCONFIG_ARGS[1]="ether"
#DHCP_ENABLE[1]=0

In SAM we configure the two cards with the same hostname.
When I reboot the system it doesn't accept the values for lan1(100Mbit) and I have to put it manually using SAM.
Can you help us?
3 REPLIES 3
Jdamian
Respected Contributor

Re: Problem with Lan1 address on HP9000

What is the error message shown in /etc/rc.log ?
Rajeev  Shukla
Honored Contributor

Re: Problem with Lan1 address on HP9000

Hi,
comment LANCONFIG_ARGS[1]="ether" in /etc/rc.config.d/netconf and reboot the system that will initialize the lan1 interface.
Bernhard Mueller
Honored Contributor

Re: Problem with Lan1 address on HP9000

Matteo,

the settings for LAN card speed are in /etc/rc.config./hp...

e.g. hpbasetconf for cards that are claimed by driver btlan1 or hpbase100conf for cards claimed by driver btlan3...

Assuming you used SAM to set it to 100Mbit full duplex you could:

grep -i 100FD /etc/rc.config.d/hp*

and see where you have such lines.

If I understand you correctly you can set the speed via SAM, but upon reboot it does not run at the desired speed (lanadmin -x )

So this could be a wrong setting on the side of the switch (if you set the card to 100FD you should also set the switch port to 100FD)
Most likely the switch port still tries Autonegotition which fails and they resort to run on 100 half duplex or so.

If that chance has been ruled out, it could be a patching issue. If this is a precision bus card you definitely need current patches for 100FD.

Regards,
Bernhard