Operating System - HP-UX
1838629 Members
2615 Online
110128 Solutions
New Discussion

Re: Network configuration lost

 
SOLVED
Go to solution
GRANDIERE
Frequent Advisor

Network configuration lost

One of my serveur went KO. The ethernet connexion is lost. The route commande shows that it losts all his network configuration.

The lanscan commande shows only one interface (lan2). But the commande ifconfig lan2 says "no such interface".

How can i be sure that the lan2 is the physical connexion that i connected on my serveur ?

Thanks for help.

Regards.
8 REPLIES 8
Suraj Singh_1
Trusted Contributor

Re: Network configuration lost

Hi,

What is the output of ioscan -fnC lan?

How many lan cards do you have in your system? (Look physically). Does ioscan show all the n/w cards connected physically in the system?

Seems to me that one of the network cards stopped getting sensed by the OS.

You may try refixing the card after shutting down the system.

Regards
What we cannot speak about we must pass over in silence.
GRANDIERE
Frequent Advisor

Re: Network configuration lost

Hi,
Thanks a lot for help.
The commande ioscan says
Class : lan
HW path : 10/12/6
State : CLAIMED
... : /dev/diag/lan2 /dev/ether2

Regards.

Suraj Singh_1
Trusted Contributor

Re: Network configuration lost

Ok,

Try "/sbin/init.d/net stop" and "/sbin/init.d/net start"

Or else,

"init 1" and "init 3"

Regards
What we cannot speak about we must pass over in silence.
GRANDIERE
Frequent Advisor

Re: Network configuration lost

At startup i have that message :
ERROR : lan0 interface : ifconfig : no such interface.

Why can't i see this interface lan0 with ioscan ?

I wonder if my lan0 interface is not KO.



Regards.
Devesh Pant_1
Esteemed Contributor
Solution

Re: Network configuration lost

GRANDIERE,
I think in your /etc/rc.config.d/netconf file lan0 has been configured.

Please check the file and change lan0 to a lan2 as you see it in the ioscan output.
after that you can do a

/sbin/init.d/net stop and
/sbin/init.d/net start
and that should do it
or else if you have the liberty go for a reboot and that should make things much cleaner.

thanks
Devesh
GRANDIERE
Frequent Advisor

Re: Network configuration lost

That works !!!

Thanks you very much for your help.

I use now the another ethernet lan2 interface to access my lan. But i don't understand why my the ioscan doesn't report the other ethernet interface lan0 (that works before). How can i be sur that it already works ?

Thank again.

By.
GRANDIERE
Frequent Advisor

Re: Network configuration lost

How can i retrieve the lan2 interface rate ?

Thanks.

GRANDIERE
Frequent Advisor

Re: Network configuration lost

To close the thread.
Thanks.