Operating System - Linux
1821588 Members
3643 Online
109633 Solutions
New Discussion юеВ

listing the TCP/IP configuration

 
SOLVED
Go to solution
Norman_21
Honored Contributor

listing the TCP/IP configuration

Could anyone advise what's the command in HP-UX that will work like ipconfig/all in MS-Windows, to show the NICs as well as TCP/IP Current Configuration assigned to each NIC.

Thnx
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
5 REPLIES 5
Stuart Browne
Honored Contributor
Solution

Re: listing the TCP/IP configuration

Look at the 'ifconfig -a' command.

You might also want to look at the routing table ('netstat -nr'), and possibly the DNS configuration ('cat /etc/resolv.conf').

Whilst the commands I've written are things I'd use under Linux, they should also work for HP-UX.

You might want to ask in the HP-UX forums next time however.
One long-haired git at your service...
I_M
Honored Contributor

Re: listing the TCP/IP configuration

Hi

On HP-UX,
ifconfig lan0

On Linux
ifconifg eth0

see " man ifconifg " for more information.

Good luck
Tony Lowrie
Advisor

Re: listing the TCP/IP configuration

netstat -an (Show all TCP/IP Connections)

Double check /etc/services to cross check the output from above.

find a utility called lsof, it shows more detailed TCP/IP info.
Life is like MTB - Ups and Downs - and Adrenalin
Balaji N
Honored Contributor

Re: listing the TCP/IP configuration

Hi,

Try "netstat -i" or "netstat -ni".

HTH
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Norman_21
Honored Contributor

Re: listing the TCP/IP configuration

There is a script from Yogeeraj in a different thread under HP-UX. Check it out!
Thanks to everyone
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003