Operating System - HP-UX
1832988 Members
2437 Online
110048 Solutions
New Discussion

Need a help to configure LAN adapter

 
Abhijeet_3
Frequent Advisor

Need a help to configure LAN adapter

I have installed HP 10.20 on a D330 server.

I have assisgned IP address to this lan interface ( lan0 )

But when I use lanscan command , it shows Hardware state is UP , but Interface is DOWN ,
so I have tried to UP the interface using "ifconfig lan0 up '.

But still interface shows down.
Looking forward your help to resolve this issue.
6 REPLIES 6
malay boy
Trusted Contributor

Re: Need a help to configure LAN adapter

Hi,
Try used landamin.Reset the Lan card.

# lanadmin


LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0
Sun, Aug 10,2003 02:14:05

Copyright 1994 Hewlett Packard Company.
All rights are reserved.

Test Selection mode.

lan = LAN Interface Administration
menu = Display this menu
quit = Terminate the Administration
terse = Do not display command menu
verbose = Display command menu

Choose lan.

next change the nmid/ppa to reflect the one that you need to reset.

Next choose reset.

Good luck.

regards
mB
There are three person in my team-Me ,myself and I.
Abhijeet_3
Frequent Advisor

Re: Need a help to configure LAN adapter

Malay ,

When I tried to reset using lanadmin, it gives me an error.

Expected premitive 0x06, got DL_ERROR_ACK.
Unable to reset LAN interface.

Is there any way to resolve this issue ?
twang
Honored Contributor

Re: Need a help to configure LAN adapter

To add ip to interface lan0:
# ifconfig lan0:1 1.2.3.4 netmask 255.255.255.0 up

To activate:
# ifconfig lanX:Y 1.2.3.4 up

where "lanX" is the device name, "Y" is a number start with 1.

To deactivate:
# ifconfig lanX:Y 1.2.3.4 down
malay boy
Trusted Contributor

Re: Need a help to configure LAN adapter

Hi,
This might be a patch problem.I saw in one of the post regarding this.

May be try a linkloop command and post the output.


regards
mB
There are three person in my team-Me ,myself and I.
Abhijeet_3
Frequent Advisor

Re: Need a help to configure LAN adapter

No Luck , Got a error , unable to reset LAN Interface
Tim D Fulford
Honored Contributor

Re: Need a help to configure LAN adapter

Hi

If the OS is 10.X ifconfig lan0:1 WONT work you will need to use ifconfig lan0 (as normal) & then ifalias lan0 add 193.164.192... (etc)

However try & check out the connectivity with linkloop, thi may give you a clue as to what is & is not working!!!

linkloop -i

You can get the MAC address of af a remote machine using lanscan.

If the linkloop fails you have either
a - used the command incorrectly
b - connectivity problem
c - a failed interface.
You need to use you skill & judgement to decide which!

Regards

Tim
-