Operating System - HP-UX
1827328 Members
5872 Online
109962 Solutions
New Discussion

Re: netstat -i output (Urgent)

 
SOLVED
Go to solution
John Ferro
Regular Advisor

netstat -i output (Urgent)

Hello,

I have 2 servers "ia64 hp superdome server SD64B" when i used command "netstat -i" on bothe of them i found different configured output @ address column, On 1 servers i found hostname only mentioned @ address column. but on 2 server i found hostname.xy.com

Which one is correct?

Regards,
10 REPLIES 10
likid0
Honored Contributor
Solution

Re: netstat -i output (Urgent)

That's only name resolution.

check with netstat -ni if the ip's are correct

check your /etc/hosts compaire both servers

Checkout your search domain in /etc/resolv.conf
Windows?, no thanks
John Ferro
Regular Advisor

Re: netstat -i output (Urgent)

Thanks, i mean which synatax is correct? can we use sometimes hostname and other time hostname.xyz.com , Is this true?
Steven E. Protter
Exalted Contributor

Re: netstat -i output (Urgent)

Shalom,

Could we see the command you used and the output from both servers please.

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
John Ferro
Regular Advisor

Re: netstat -i output (Urgent)

Hi
kindly see attached...
Suraj K Sankari
Honored Contributor

Re: netstat -i output (Urgent)

Hi,
post this commands output for both server

#hostname
#netstat -in

Suraj
John Ferro
Regular Advisor

Re: netstat -i output (Urgent)

Hi Suraj

I already posted, kinldy check my previous post in attachment.

Regards,
Steven E. Protter
Exalted Contributor

Re: netstat -i output (Urgent)

Shalom,

Node#1# netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll

lan0 1500 x.x.x.x hostname.xyz.com.ca
24511815 0 17680142 0 0


Node#2# netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll

lan0 1500 x.x.x.x hostname
24511815 0 17680142 0 0

netstat -in may be different than netstat -i
It is the same on my Linux systems, I have not turned on my HP-UX systems yet.

So I hope anyway.

Probable cause:

* Lack of a line in /etc/hosts identifying the second server with a fully qualified domain name.

* Lack of a DNS record on the DNS server identifying the second server identified as hostname.

* Check the hostname entry on both systems in /etc/rc.config.d/netconf

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
Suraj K Sankari
Honored Contributor

Re: netstat -i output (Urgent)

Hi,

You have post only netstat -i

Suraj
John Ferro
Regular Advisor

Re: netstat -i output (Urgent)

Thanks to all...
John Ferro
Regular Advisor

Re: netstat -i output (Urgent)

thanks