Operating System - HP-UX
1846888 Members
3439 Online
110256 Solutions
New Discussion

LAN inteface operation state --down

 
guru_1
Frequent Advisor

LAN inteface operation state --down

Hi,
I have two LAN cards in my N-Class system each having 4 lan ports .Son in all i have lan1 to lan 8 ethernet ports.Now I have configured lan 8 ipaddress in my netconf file as

INTERFACE_NAME[0]=lan8
IP_ADDRESS[0]=10.16.6.4
SUBNET_MASK[0]=255.0.0.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0


Now when i use lanadmin (menu) to display of the status of ppa no. 8 its says
administrative state up
operation state down.


i am not able to put my server on the n/w.
Any body having any idea how to make it up.


thnks
kuls
9 REPLIES 9
Amruth
Regular Advisor

Re: LAN inteface operation state --down

Hi,

Just a thought....
Have you changed the cable and checked ?. Change the network cable and give the command lanadmin->select the ppa no , then give a reset.

I feel this may solve the problem.

Best of luck,
An
If i am doing the same way you are doing to me then what is the difference between us.
guru_1
Frequent Advisor

Re: LAN inteface operation state --down

Hi
yes i did that...but problem persist.

thnks
Ron Kinner
Honored Contributor

Re: LAN inteface operation state --down

What it is telling you is that it doesn't have a link light. This could be because there is no cable, the cable is not a straight cable (assuming you are talking to a hub or switch), the cable is bad, the hub/switch port is bad, or most likely because autonegotiate didn't work and you have one end set to 10M and the other to 100M. You should set each end of the circuit to either 10HD or 100FD depending on what the card and hub/switch support. Also your idea of lan8 may differ from HP's so try plugging into the port at the other end of the card and try the other card too.

Also I assume that this is the first lan circuit you have administered. Otherwise you need to use a different index for each circuit (can't use 0 for all of them.)

Ron
guru_1
Frequent Advisor

Re: LAN inteface operation state --down

Hi,
Please clear my following doubts
1)I have 2 4 ports PC1 cards in my N-class .Now when i give lanscan it says
lan0-pci card
lan1 -lan8 -ports

now i have presumed that last port is lan8, starting rom left.Is there any way i can find out which port is lan0 or i have to by by presumption.

2)I am connecting my hp server to the swicth.So i have to use straight cabe ...right ???


thnks
Amruth
Regular Advisor

Re: LAN inteface operation state --down

Hi,

1, You will be able to understand by hardware address. Mostly it will written near to slot.
2. Being it is connecting to a switch the cable should be a straight one.

Best of luck,
AR
If i am doing the same way you are doing to me then what is the difference between us.

Re: LAN inteface operation state --down

One card cage on the N class is the other way up from the other, so if you have one card in either cage, don't assume the one on the far right is lan8.

Simplest way to figure this out...

-Plug in a LAN cable, and check you have a link light on the card
-cycle thro all the lan interfaces in lanadmin until you find one that is up... you don't need to have an IP stack bound to the card for this to show in lanadmin.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Sanjay_6
Honored Contributor

Re: LAN inteface operation state --down

Hi Kuls,

Take a ioscan printout for the lan ports,

ioscan -fnkC lan

Then chec kthe output of this ioscan against the physical address of the cards connected to the system. you'll see something like 0/1/2/3 or 1/2/3/4 written on the card which specifies which port is port 0 or 1 on that card. Then match that against the ioscan output and look for the 4th port on the lan card which is identified as lan8 on the ioscan output. This will help you in identifying the lan8 port on the network adapter.

Hope this helps.

Regds
Wilfred Chau_1
Respected Contributor

Re: LAN inteface operation state --down

You have 2 nic's? You shouldn't use index 0, then. Increment 0 by 1, so...

INTERFACE_NAME[1]=lan8
IP_ADDRESS[1]=10.16.6.4
SUBNET_MASK[1]=255.0.0.0
BROADCAST_ADDRESS[1]=""
INTERFACE_STATE[1]=""
DHCP_ENABLE[1]=0

from your console,
# route -f

Then
# /sbin/init.d/net start

do your lanadmin again and see the result.
Xavier Gutierrez
Frequent Advisor

Re: LAN inteface operation state --down

Hi,

The card you mean has two marks on it:

Beside the first port, there's a 1 and beside the last one there's a 4. That's the order they'll take in the ioscan.

Regards,

Xavier
Live fast, die young!