Operating System - HP-UX
1847203 Members
3311 Online
110263 Solutions
New Discussion

Re: lan interface configuration

 
SOLVED
Go to solution
j.bobby
Frequent Advisor

lan interface configuration

Dear HP-UX Experts,

I want to view the configuration of Each lan interface like IP Address and Physical Address etc.i am unable to get those from ifconfig,lanscan,lanadmin.

pls help me out
7 REPLIES 7
john123
Trusted Contributor

Re: lan interface configuration

Check /etc/rc.config.d/netconf

Regards
John
Aneesh Mohan
Honored Contributor
Solution

Re: lan interface configuration


Hi ,

You can get it from

For IP details:-
------------------
#netstat -ni
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Col
lan1 1500 192.168.10.0 192.168.10.1 0 0 0 0 0
lan0 1500 10.51.10.0 10.51.10.19 72444 0 61892 0 0
lo0 4136 127.0.0.0 127.0.0.1 14581 0 14581 0 0

For Physical address
---------------------

#lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLP
Path Address In# State NamePPA ID Type Support Mjr
0/0/0/0 0x00306EC3C29E 0 UP lan0 snap0 1 ETHER Yes 119
0/2/0/0 0x00306EE9BF13 1 UP lan1 snap1 2 ETHER Yes 119
0/4/0/0 0x00306EE9BF1D 2 UP lan2 snap2 3 ETHER Yes 119

For Routing Tables:-
----------------

# netstat -nr
Routing tables
Destination Gateway Flags Refs Interface Pmtu
127.0.0.1 127.0.0.1 UH 0 lo0 4136
10.51.10.19 10.51.10.19 UH 0 lan0 4136
192.168.10.1 192.168.10.1 UH 0 lan1 4136
10.51.10.0 10.51.10.19 U 2 lan0 1500
192.168.10.0 192.168.10.1 U 2 lan1 1500
127.0.0.0 127.0.0.1 U 0 lo0 0
default 10.51.10.250 UG 0 lan0 0


Or else check in SAM for all the details.


Aneesh
Suraj K Sankari
Honored Contributor

Re: lan interface configuration

Hi,

Apart from //etc/rc.config.d/netconf
You can used netstat -rn also to see the ipaddress of your NIC card's.

Suraj
j.bobby
Frequent Advisor

Re: lan interface configuration

Thank u all for ur quick response.

i got it now.

Thanks

Jagan.
Aneesh Mohan
Honored Contributor

Re: lan interface configuration

Hi Jagan,

If our repies helped you to solve your problems then assign points to the helpfull answers.

Aneesh
j.bobby
Frequent Advisor

Re: lan interface configuration

sure,

i am sorry for not giving the points.from now onwards,definitely i will do that.

Regards

Jagan
Dennis Handly
Acclaimed Contributor

Re: lan interface configuration

>i am sorry for not giving the points. from now onwards, definitely i will do that.

See the following on how to reopen a thread so you can assign points now:
http://forums.itrc.hp.com/service/forums/helptips.do?#41