Operating System - HP-UX
1834449 Members
2451 Online
110067 Solutions
New Discussion

Re: netstat -i ->thisaddressdoesnotexist?

 
Steve Lewis
Honored Contributor

netstat -i ->thisaddressdoesnotexist?

We have a small token ring network of 4 servers. On every server when I type netstat -i we get this message:
Name Mtu Network Address Ipkts Opkts
lan1 4500 thisaddressdoesnotexist
devT 23250268 23192137

But when we type netstat -in we get the IP address:
[dba]dev:/home/dba> netstat -in
Name Mtu Network Address Ipkts Opkts
lan1 4500 192.9.200.0 192.9.200.12 23250386 23192253

Can anyone explain this?

The subnet mask of lan1 is 255.255.255.0 on all nodes. e.g.
lan1: flags=843
inet 192.9.200.12 netmask ffffff00 broadcast 192.9.200.255
The lanscan output for this interface is
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/12/0/0 0x0060948AC84E 1 UP lan1 3 802.5 Yes 119

The contents of netconf for this interface is:
IP_ADDRESS[1]=192.9.200.12
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=192.9.200.255
INTERFACE_STATE[1]=up
and there are not duplications. Any ideas?
5 REPLIES 5
Robin Wakefield
Honored Contributor

Re: netstat -i ->thisaddressdoesnotexist?

Hi Steve,

Is your hostname being defined correctly, and if so what is the order in your nsswitch.conf file for hosts? If DNS first, check DNS has valid entry for the IP address, and if NIS is in there, verify the NIS hosts database.

Rgds, Robin.
Steve Lewis
Honored Contributor

Re: netstat -i ->thisaddressdoesnotexist?

The nsswitch file has:
hosts: files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns [NOTFOUND=return UNAVAIL=continue T
RYAGAIN=return]
The hosts file has (for this server's IP)
192.9.200.12 devT hpdevT # Token-Ring DEV server N4000
where the hostname is actually dev, not any of the aliases given in the hosts file. There are 3 interfaces in use on this server and one of the others has dev as the hostname next to it. I tried adding an alias for this hostname next to the token ring IP in the hosts file but it made no difference to netstat -i output.
Its an N4000, HPUX-11.00 patched to Dec2001 (critical and QP).
Is this going to be an error with the DNS server?
Ron Kinner
Honored Contributor

Re: netstat -i ->thisaddressdoesnotexist?

do
nslookup 192.9.200.12

and see what it says.

Ron
Steven Gillard_2
Honored Contributor

Re: netstat -i ->thisaddressdoesnotexist?

Its telling you that the *network* address cannot be resolved - ie 192.9.200.0. Your hostname is being resolve fine as devT.

Try adding an entry in your /etc/networks file - see the networks(4) man page for more info.

Regards,
Steve
Steve Lewis
Honored Contributor

Re: netstat -i ->thisaddressdoesnotexist?

dev:/home/dba> nslookup 192.9.200.12
Using /etc/hosts on: dev

looking up FILES
Name: devT
Address: 192.9.200.12
Aliases: hpdevT, dev

Then I had a look at man 4 networks, mmm... I tried adding
token 192.9.200 tok
to the /etc/networks file, it made no difference to the output of netstat -i
Then I tried
token 192.9.200.0 tok which also made no difference.
Do I need to stop/start networking for this file change to have an effect? I doubt it, since nsswitch.conf shows:
networks: files [NOTFOUND=return UNAVAIL=continue]
Any other ideas of how I can remove the 'thisaddressdoesnotexist'. The other servers in the loop do not show this.