Operating System - HP-UX
1820216 Members
3603 Online
109620 Solutions
New Discussion юеВ

Re: no such Device..or address?

 
mw_4
Frequent Advisor

no such Device..or address?

Hi
May I get your help?

attached device lan1 is not working.
it is connected 10.10.10.x.
other lans are reply very well.
but it is not

root@www:[/etc/rc.config.d]ping 10.10.10.255
PING 10.10.10.255: 64 byte packets
ping: sendto: No such device or address
ping: wrote 10.10.10.255 64 chars, ret=-1
ping: sendto: No such device or address
ping: wrote 10.10.10.255 64 chars, ret=-1
ping: sendto: No such device or address
ping: wrote 10.10.10.255 64 chars, ret=-1

root@www:[/]ioscan -funC lan
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 3 10/4/4 btlan1 CLAIMED INTERFACE HP HP-PB 100 Base TX card
lan 1 10/4/12 btlan1 CLAIMED INTERFACE HP HP-PB 100 Base TX card
lan 2 10/12/6 lan2 CLAIMED INTERFACE Built-in LAN
/dev/diag/lan2 /dev/ether2 /dev/lan2
what is problem
the Box is HP-UX www B.10.20 C 9000/819 1008601361

lan1 is connected switch properly..
Step by step
7 REPLIES 7
Michael Tully
Honored Contributor

Re: no such Device..or address?

First place to look is your routing table. Are you able to talk to your router.

/etc/ping 10.10.10.x (router)

Can you use 'nslookup' ?

What about traceroute ?

Anyone for a Mutiny ?
mw_4
Frequent Advisor

Re: no such Device..or address?

ther is no need connected outer netwok. just internal network

hpbaseconf is

# The station address and duplex are set through the lanadmin(1m) command.
#
#####################################################################

HP_BASET_INTERFACE_NAME[0]=lan1
HP_BASET_STATION_ADDRESS[0]=0x080009DA00EA
HP_BASET_DUPLEX[0]=0x080009DA00EA

netconf is not configured
Step by step
George Petrides_1
Honored Contributor

Re: no such Device..or address?

The HP_BASE.._DUPLEX cannot be the MAC address of the LAN card. The values for that variable is either auto or 10FD (10BT full duplex) 100FD, 10HD, 100HD, AUTO and so on. Look in the rc.config.d/hpbasetconf file for the exact names of the values. You might also want to post here the following outputs:
ifconfig lan0
ifconfig lan1
ifconfig lan2
netstat -rn
and finally, make sure that you do not have another script dealing with networking in /etc/rc.config.d Some people make copies of the netconf inside the rc.config.d and that's not right since the copied script will be executed as well during system startup.
George
mw_4
Frequent Advisor

Re: no such Device..or address?

root@www:[/etc/rc.config.d]ifconfig lan1
lan1: flags=863
inet 10.10.10.1 netmask ffffff00 broadcast 10.10.10.255
root@www:[/etc/rc.config.d]
Step by step
George Petrides_1
Honored Contributor

Re: no such Device..or address?

Can you post the rest of the info too? Sometimes, I have seen systems with two lan cards connected and configured on the same physical LAN and HP-UX does not support that. Also, post the netstat -rn output to make sure that the 10.10.10.0 network is actually routed internally through the right LAN interface.
So again, netstat -rn and ifconfig on all the lan cards.
George
mw_4
Frequent Advisor

Re: no such Device..or address?

root@www:[/]netstat -nr
Routing tables
Destination Gateway Flags Refs Use Interface Pmtu PmtuTime
10.10.10.1 127.0.0.1 UH 0 18 lo0 4608
127.0.0.1 127.0.0.1 UH 0 0 lo0 4608
211.237.50.1 127.0.0.1 UH 4 1803 lo0 4608
default 211.237.50.2 UG 0 266741 lan3 1500
10.10.10.0 10.10.10.1 U 0 4 lan1 1500
211.237.50 211.237.50.1 U 4 208254 lan3 1500

=============================
root@www:[/]ifconfig lan3
lan3: flags=863
inet 211.237.50.1 netmask ffffff00 broadcast 211.237.50.255
root@www:[/]ifconfig lan1
lan1: flags=863
inet 10.10.10.1 netmask ffffff00 broadcast 10.10.10.255
root@www:[/]ifconfig lo0
lo0: flags=1849
inet 127.0.0.1 netmask ff000000
Step by step
George Petrides_1
Honored Contributor

Re: no such Device..or address?

I don't really see anything wrong in your ifconfig and netstat -rn outputs. The only thing that goes through my mind right now is the device file for lan1. You might want to try an insf -e command to create any missing device files. Also, the only thing that is clearly wrong is the hpbasetconf file for the DUPLEX value (check your /etc/rc.log file for networking messages during startup). I would focus on the device file at this point. Also, check the syslog file if there are any apparent messages and I assume you are at a decent patch level on that machine.
It wouldn't hurt to do a lanscan command and then use landiag to examine information for the cards.
That's about it,
George