1822845 Members
4026 Online
109645 Solutions
New Discussion юеВ

Re: Linkloop problem

 
SOLVED
Go to solution
Bolek Mynarski
Frequent Advisor

Linkloop problem

I try to run 'linkloop' command to test the state of my network card on a system running HP-UX 11.11 with the latest December 2003 patches.

When I run: 'linkloop 0x00306EF28AE9' I get the following error:

Link connectivity to LAN station: 0x00306EF28AE9
error: expected primitive 0x30, got DL_ERROR_ACK
dl_error_primitive = 0x2d
dl_errno = 0x04
dl_unix_errno = 57
error - did not receive data part of message

This is regardless whether a card is connected to the network or not (I tried both). It always returns that error. Are the any patches for this? I search for 'looplink' but no results were returned. I try to use this command on 9000/800/L3000-8x system using btlan and igelan.

Thanks.
It'snever too late to learn new things...
8 REPLIES 8
Jeff Schussele
Honored Contributor

Re: Linkloop problem

Hi Boleslaw,

linkloop is used to test connectivity to *another* device. You have to provide a MAC address of a device on the LAN. You can't use the local MAC address.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Bolek Mynarski
Frequent Advisor

Re: Linkloop problem

Strange. I just took a class in MC/ServiceGuard in which 'linkloop' command was used to test for network connectivity of a card on a local machine without having IP address assigned.

But just in case, I went to the other machine and tried to run 'linkloop' with the mac address of the card I want to connect to on the remote host. I get the same error....

Also, just to make absolutely sure, I went to one of my 11.00 machines and run the same command on the local card:

[user@system: ~user]$ linkloop 0x00306E09D1FF
Link connectivity to LAN station: 0x00306E09D1FF
-- OK

No problem there....
It'snever too late to learn new things...
Todd McDaniel_1
Honored Contributor
Solution

Re: Linkloop problem

I got the exact same errors when i ran it on my lan0..

You need to specify the PPA you are using....


linkloop -i 0

Mine worked perfectly after this...
Unix, the other white meat.
Todd McDaniel_1
Honored Contributor

Re: Linkloop problem

Jeff,

Actually you can use the local station addr(MAC addr)...

I just did it with the "-i 0" (PPA instance) option it worked just fine.
Unix, the other white meat.
Jeff Schussele
Honored Contributor

Re: Linkloop problem

Hi (again) Boleslaw,

Ok, then it may be that you have multiple NICs on this system & you need to specify which one to use with the -i parm.
Let's say you want to test link with the lan3 card - then the command would be
linkloop -i 3 0x00306EF28AE9

If you don't specify linkloop uses the first PPA encountered - which may not be the one you wish to test from.

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

Re: Linkloop problem

Hi Todd,

I stand corrected.
I've never looped the local I guess.
I've always used linkloop for actual network connectivity.

Thx,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!

Re: Linkloop problem

If you don't specify it with the '-i' option, linkloop will always send the data out of lan0. So if your card with the MAC address 0x00306EF28AE9 isn't lan0, or isn't connected to the same network as lan0 then this would fail.

So if this card is, for example lan3 then:

linkloop -i 3 0x00306EF28AE9

Should always work as the card should always be able to linkloop to itself.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Bolek Mynarski
Frequent Advisor

Re: Linkloop problem

Thanks everyone! -i CrdNum was the case indeed as pointed out. I did not mention in the post that I have indeed multiple NICs (4).

Thanks again.
It'snever too late to learn new things...