1752777 Members
5979 Online
108789 Solutions
New Discussion юеВ

HOW TO CEHCK IP ADDRESS

 
Abubakkar
Frequent Contributor

HOW TO CEHCK IP ADDRESS

HOW TO CHECK IP ADDRESS IN HPUNIX11IV3
4 REPLIES 4
P Muralidhar Kini
Honored Contributor

Re: HOW TO CEHCK IP ADDRESS

Hi,

Check the following link -
http://www.filibeto.org/unix/hp-ux/lib/rel/11.31/installation-5991-6460.pdf
It has information on how to get the IP Address also.

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
singh sanjeev
Trusted Contributor

Re: HOW TO CEHCK IP ADDRESS

#netstat -in

OR

more /etc/rc.confiog.d/netconf

Sanjeev Singh
Ramesh kannan.S
Occasional Advisor

Re: HOW TO CEHCK IP ADDRESS

Hi,

In all HPunix flavours you can use the following command

#netstat -in

#man netstat


Regards

RAM
SoorajCleris
Honored Contributor

Re: HOW TO CEHCK IP ADDRESS

Hi Abubakkar?

You want to find oout the ipaddress of a lan interface ?

# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan2 1500 16.118.112.0 16.118.112.139 194405 0 70560 0 0
lan1 1500 192.168.0.0 192.168.112.139 227969 0 2 0 0
lo0 4136 127.0.0.0 127.0.0.1 49316 0 49316 0 0

Lanscan will give you the interface hardware details.

# 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 0x00306EEA92A3 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/0 0x00306EEA1264 1 UP lan1 snap1 2 ETHER Yes 119
0/4/1/0 0x00306E4AF883 2 UP lan2 snap2 3 ETHER Yes 119
[rx260-13]/


You can use #ifconfig comamand also

# ifconfig lan1
lan1: flags=843
inet 192.168.112.139 netmask ffff0000 broadcast 192.168.255.255


Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie