1834454 Members
1996 Online
110067 Solutions
New Discussion

LAN adapter problem

 
Luca Frigatti
Contributor

LAN adapter problem

Hi all!!
I've the following problem:
I change the IP address on my server HP-UX (version 11.00).
I modified the /etc/rc.configi.d/netconf file with the new ip address, the new subnet mask and the new defaul gateway of the new LAN.
When I reboot the server I have the following error message (taken from /etc/rc.log file after rebbot) :
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 :
add net default: gateway 172.16.200.70: Network is unreachable
"/sbin/rc2.d/S340net start" FAILED

I try to add the rule for the defualt gateway and this command correctly works.
The command I used is the following :
route -p 1500 add default 172.16.200.70 1)
Why?
Any idea to solve this problem?
Thanks in advance for your support and your help.

Luca
4 REPLIES 4
Ian Dennison_1
Honored Contributor

Re: LAN adapter problem

Luca,

How is the default route command formatted within 'netconf' file?

ROUTE_GATEWAY[0]=53.202.164.203
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default

This is what mine looks like. Can you check the lan card it is referring to and the [n] number of the default route?

Share and Enjoy! Ian
Building a dumber user
T G Manikandan
Honored Contributor

Re: LAN adapter problem

Post your netconf file contents.


MANOJ SRIVASTAVA
Honored Contributor

Re: LAN adapter problem

Also the o/p of netstat -nr .

you may try
route delete 172.16.200.70

the gateway should ideally be

172.16.200.1

you may like to ping 172.16.200.1 or 70 to see if the saem is reachable then only u can add the route .


you may like tor efer to this document :

http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=200000049791567


Manoj Srivastava

Eric Hess
Advisor

Re: LAN adapter problem

Make sure you only have one default route located in /etc/rc.config.d/netconf and that it is a reachable address. Your system will try to configure the first default route within this file.
I didn't do it. He did!