Operating System - HP-UX
1834254 Members
2247 Online
110066 Solutions
New Discussion

Error while changing the IP address

 
SOLVED
Go to solution
Abhishek_Kumar
Advisor

Error while changing the IP address

We are trying to change the ip address of LAN0
The error we are getting is
/usr/sbin/hpintl100_init script failed
ERROR: lan0 interface | PPA 0 : error: expected primitive 0x06, got DL_ERROR_ACK | |-|
dl_error_primitive = 0x33
dl_errno = 0x04
dl_unix_errno = 57
change_phys_addr: unable to change physical address
Old Station Address =0x00306ef38e77

13 REPLIES 13
Avinash20
Honored Contributor
Solution

Re: Error while changing the IP address

dl_unix_errno = 57

>> This might be the issue with switch, hub, or cable connector.

>> Please check with the lancable
Try to run
# linkloop -i 0
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Error while changing the IP address

>> Mac address could be found via
# lanscan
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Abhishek_Kumar
Advisor

Re: Error while changing the IP address

lanscan:

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/3/0 0x00306EF3AE5E 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/0 0x00306EF30EC9 1 UP lan1 snap1 2 ETHER Yes 119
0/2/1/0 0x001560044024 2 UP lan2 snap2 3 ETHER Yes 119
0/2/1/1 0x001560044025 3 UP lan3 snap3 4 ETHER Yes 119


ioscan -fnC lan
Class I H/W Path Driver S/W State H/W Type Description
====================================================================
lan 0 0/0/3/0 intl100 CLAIMED INTERFACE Intel PCI Pro 10/100Tx Server Adapter <<<<
lan 1 0/1/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
lan 2 0/2/1/0 iether CLAIMED INTERFACE HP A7012-60001 PCI/PCI-X 1000Base-T Dual-port Adapter
lan 3 0/2/1/1 iether CLAIMED INTERFACE HP A7012-60001 PCI/PCI-X 1000Base-T Dual-port Adapter

For lan0 where the issue of not able to change IP address arise

ifconfig: lan0: flags=843
inet 192.168.2.1 netmask ffffff80 broadcast 192.168.2.1

linkloop:
Link connectivity to LAN station: 0x00306EF3AE5E
-- FAILED
frames sent : 1
frames received correctly : 0
reads that timed out : 1

ping:
PING 192.168.2.1: 64 byte packets
64 bytes from 192.168.2.1: icmp_seq=0. time=0. ms
64 bytes from 192.168.2.1: icmp_seq=1. time=0. ms
64 bytes from 192.168.2.1: icmp_seq=2. time=0. ms

----: PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
Avinash20
Honored Contributor

Re: Error while changing the IP address

Ah !! linkloop not working.
Hence there is a connectivity issue at the Physical layer..

What is the OS version
What is the H/W Platform
Try to swap the lan cables and check if linkloop works fine

Probably you could try to directly connect the server to you laptop and check if linkloop is working.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Abhishek_Kumar
Advisor

Re: Error while changing the IP address

Same error
Steven E. Protter
Exalted Contributor

Re: Error while changing the IP address

Shalom,

Best bet is to manually change /etc/rc.config.d/netconf IP address and boot the system.

Yes you CAN do it without a reboot but it will take longer and likely lead to more hassle than its worth.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Abhishek_Kumar
Advisor

Re: Error while changing the IP address

OS : 11.23 and its a rx2600 server.
Avinash20
Honored Contributor

Re: Error while changing the IP address

Hi Avinash/Steven,

I am able to change the IP address connected to the other lancards. I have used the same cable to connect to the other lan card and am able to change the IP of other lans.. Only the issue is with lan0

Any help is highly appreciated.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Error while changing the IP address

Sorry.. This was for Steven and not for me..

I have already put the comments which Abhishek should has shared with me,,
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Abhishek_Kumar
Advisor

Re: Error while changing the IP address

Thanks Avinash !!
Abhishek_Kumar
Advisor

Re: Error while changing the IP address

Thanks Avinash !!

The issue is resolved..

Lan cable was connected to MP instead of lan0 slot

After connecting the cable to the lan0 slot the issue is resolved.
Abhishek_Kumar
Advisor

Re: Error while changing the IP address

see above
sreekanthtm
Trusted Contributor

Re: Error while changing the IP address

Anyway the problem is solved.... cheers :)
One observasion.....
The broadcat addr is set wrong. It should be 192.168.2.255

Rgds
Sreekanth