Operating System - HP-UX
1837937 Members
2171 Online
110124 Solutions
New Discussion

lan1 loose configuration rebooting the system

 
SOLVED
Go to solution
Andrea Corrado
New Member

lan1 loose configuration rebooting the system

Hi,
everytime i reboot my D380/1 HP-UX 10.20 (A3577AR) the lan1 interface card (100BT) loose the right
IP address (from 10.0.10.1 to 0.0.0.0).
I use SAM to reconfigure manually the card after rebooting the system.

I get the following message in /etc/rc.log

......
Configure LAN interfaces
Output from "/sbin/rc2.d/S008net.sd start":
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR: lan1 interface: ifconfig: ioctl (SIOCSIFADDR): Can't assign requested address
ERROR: add net xxx.xxx.xxx.xxx ........... Netmask is unreachable
" " "
" " "
"/sbin/rc2.d/S008net.sd start" FAILED
........
Configure HP100BT interfaces
Output from "/sbin/rc2.d/S320hpether start":
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
No 100BT device configured in system (btlan3)
"/sbin/rc2.d/S323hpbase100 start" SKIPPED

Configure HP GSC 100BT interfaces
Output from "/sbin/rc2.d/S331hpgsc100 start":
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ERROR: invalid duplex value for lan1 interface
......
"/sbin/rc2.d/S340net start" FAILED

and this is /etc/rc.config/netconf

......
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
........
RARPD=0
#IP_ADDRESS[1]=10.0.10.1
#SUBNET_MASK[1]=255.255.0.0
#INTERFACE_NAME[1]=lan1
#BROADCAST_ADDRESS[1]=10.0.255.255
#LANCONFIG_ARGS[1]="ether"
#DHCP_ENABLE[1]=0
DHCP_ENABLE[0]=0
DHCP_ENABLE[1]=0
.......

Any suggestion?
There is a way to resolve this problem?
Thanks.
2 REPLIES 2
Michael Steele_2
Honored Contributor
Solution

Re: lan1 loose configuration rebooting the system

Is 10.0.10.1 a valid IP address? Looks like a problem to me. Is this newly created also? This would also change your netmask if so.

All patched up?
Support Fatherhood - Stop Family Law
Marco Santerre
Honored Contributor

Re: lan1 loose configuration rebooting the system

Actually shouldn't the netmask for a Class A network be 255.0.0.0

10.0.10.1 being a Class A Ip Address, I think your netmask may be wrong.

One more thing to check cause I've seen this happen sometimes. Make sure that you don't have any old netconf, or netconf.old or any netconf files in your /etc/rc.config.d
Cooperation is doing with a smile what you have to do anyhow.