Operating System - HP-UX
1820553 Members
3542 Online
109626 Solutions
New Discussion юеВ

Configure LAN interfaces Failed

 
A.K.
Frequent Advisor

Configure LAN interfaces Failed

Hi
When I reboot my L2000 class HPUX 11.00
I get the following message in /etc/rc.log

Configure LAN interfaces
Output from "/sbin/rc2.d/S340net start":
----------------------------
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
netmask: bad value
"/sbin/rc2.d/S340net start" FAILED

When I tryed manually to /sbin/init.d/net start I get the same message
Anyone ? any idea why?

Thanks.
5 REPLIES 5
Jeff Schussele
Honored Contributor

Re: Configure LAN interfaces Failed

Hi AK,

Do you have the network I/F & route parameters defined int /etc/rc.config.d/netconf?

They have to be there to survive reboots.

If you initially set these up with SAM or the installer, they should be. If done manually vi ifconfig & route commands they won't. You'll have to add them manually

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Michael Tully
Honored Contributor

Re: Configure LAN interfaces Failed

Make sure that you have set up the correct information in the /etc/rc.config.d/netconf file. Depending on the type of interface used, as to what file should be used.

btlan hpbtlanconf
btlan0 hpeisabtconf
btlan1 hpbasetconf
btlan3 hpbase100conf Internal (core) LAN card
btlan4 hpgsc100conf
btlan5 hppci100conf "external" PCI card A5230A
btlan6 hpsppci100conf V-class PCI lan card
gelan hpgelanconf GigaBit card A4926A
Anyone for a Mutiny ?
Michael Steele_2
Honored Contributor

Re: Configure LAN interfaces Failed

I've seen this when either there was no default route or a "route add" command was added to the bottom of netconf file instead of using the route_destination variable in netconf.

#For default route

ROUTE_DESTINATION[0]=0.0.0.0
ROUTE_MASK[0]=255.0.0.0
ROUTE_GATEWAY[0]=192.168.100.2
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""

#For additional route

ROUTE_DESTINATION[1]=net 12.0.0.0
ROUTE_MASK[1]=255.0.0.0
ROUTE_GATEWAY[1]=192.168.100.2
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""

NOTE the indices [0] and [1]
Support Fatherhood - Stop Family Law
Ron Kinner
Honored Contributor

Re: Configure LAN interfaces Failed

You have probably run afoul of 11.0 subnet checking routine. The RFC is checks against is obsolete but it doesn't know that.

ndd -set /dev/ip ip_check_subnet_addr 0

To make it survive the reboot:

edit /etc/rc.config.d/nddconf file:


TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_check_subnet_addr
NDD_VALUE[0]=0

Use the next higher integer in the []'s if you already have entries.

Ron

Jon Finley
Honored Contributor

Re: Configure LAN interfaces Failed

The other thought is that the IP address you're using isn't the correct one for the subnet mask your using.

i.e. 255.255.255.252

1 - subnet/network address

2 - host addresses, and

1 - broadcast address.


And you're using either the network address, or the broadcast address.

Jon
"Do or do not. There is no try!" - Yoda