1747984 Members
4338 Online
108756 Solutions
New Discussion юеВ

Re: Network Issue

 
install new client from
Occasional Contributor

Network Issue

I am not able to ping default gateway from server also server not reachable from out side.

I am getting below error please help me on this.

Link connectivity to LAN station: 0x0016357300AA
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

linkloop -i 3 0x00306EF43C60
----------------------
Link connectivity to LAN station: 0x00306EF43C60
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

linkloop -i 2 0x001321BDECA9
----------------------
Link connectivity to LAN station: 0x001321BDECA9
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
9 REPLIES 9
Hakki Aydin Ucar
Honored Contributor

Re: Network Issue

it seems your PPA number and address are not match you put is wrong OR you have disabled ethernet in your machine OR really lost connection
try first lanscan to find the correct address and PPA number in one line; and try again like :

# linkloop -i 1 0x000E7F4F659C


additionally you can try to ping that address by using IP.



Hakki Aydin Ucar
Honored Contributor

Re: Network Issue

# linkloop -i 0 0x000F201D4EC9


did you try PPA = 0 ?


as lan0
Prashantj
Valued Contributor

Re: Network Issue

Hi,

Please check with below mention setup.
1) #traceroute or
2) #cat /etc/hosts file chk the getway ip updated properly or not.
3) Chk #cat/etc/rc.config.d/netconf file update with gateway IP and other setting.
4) # netstat -rn chk gateway field.

Prashant
Good judgment comes from experience and experience comes from bad judgment.
Laurent Menase
Honored Contributor

Re: Network Issue

57 =ENOLINK
so interfaces are not connected apparantly
rick jones
Honored Contributor

Re: Network Issue

Here is the fishing pole that was used to arrive at what errno 57 means:

$ grep 57 /usr/include/sys/errno.h
#define ENOLINK 57 /* the link has been severed */

One you do have the NIC connected, are you certain that the default gateway will respond to linkloop? It may indeed, but remember that linkloop is a "ping" at the link-layer only, not at IP, and not all devices will respond to that link-layer "ping" frame.

there is no rest for the wicked yet the virtuous have no pillows
Viktor Balogh
Honored Contributor

Re: Network Issue

Hi "you-with-the-strange-name",

Simply put what Rick said: are you sure that the default gateway is on the same subnet as your server? And are you sure that it is also an HP-UX? The linkloop command only works between HP-UX, machines. (Ok, it also has a gnu linux implementation, which stands from a client and server part.)
****
Unix operates with beer.
rick jones
Honored Contributor

Re: Network Issue

Linkloop does use "standardized" IEEE frame types, so there is the prospect of it working with other devices besides HP-UX and Linux ports - I am told by what I consider reliable sources that managed HP ProCurve switches will respond to the frames emitted by linkloop.
there is no rest for the wicked yet the virtuous have no pillows
Hakki Aydin Ucar
Honored Contributor

Re: Network Issue

I think is that message;

define ENOLINK 57 /* the link has been severed */

generic.
It means those NIC are somehow not in use as indicated by PPA number 1 2 3 in asker's example.
If they are in use, you have to get a messge like this;

# linkloop -i 2 0x001321BDECA9
Link connectivity to LAN station: 0x001321BDECA9
error: get_msg2 getmsg failed, errno = 4
-- FAILED
frames sent : 1
frames received correctly : 0
reads that timed out : 1

#define EINTR 4 /* interrupted system call */
Hakki Aydin Ucar
Honored Contributor

Re: Network Issue

and besides,
I recommend you to use this snippet to not make any mistake during display stations:

> lanscan |awk '/[0-9]/{print $3,$2}' | while read lan station
> do
> echo LAN "${lan}" "${station}"
> echo "----------------------"
> linkloop -i "${lan}" "${station}"
> echo
> done