1849942 Members
2421 Online
104049 Solutions
New Discussion

ifconfig

 
SOLVED
Go to solution
SAM_24
Frequent Advisor

ifconfig

Hi,

What is the equivalent command for ifconfig -a ( this is on solaris ) on hp? I want to list all the interfaces configured on the system.

Thanks.
Never quit
6 REPLIES 6
T G Manikandan
Honored Contributor

Re: ifconfig

you can use lanscan to display all the configured Network cards on the system.

#lanscan
to find the particular card
#ifconfig
ex.ifconfig lan0


Thanks
Christian Gebhardt
Honored Contributor

Re: ifconfig

ifconfig
for example "ifconfig lan0" still works, but there is no "-a" Option

Chris
Christian Gebhardt
Honored Contributor
Solution

Re: ifconfig

Hi

lanscan | grep lan | awk '{print $5}' | xargs -l ifconfig

It's nearly the same as on Solaris ;-)

Chris
SAM_24
Frequent Advisor

Re: ifconfig

Hi TG,

Thanks.
Yes I can.
But my question is can I list all the interfaces configured using single command like ifconfig -a on solaris?

Raj
Never quit
Tim D Fulford
Honored Contributor

Re: ifconfig

just a couple for the pot

ioscan -funClan
netstat -in

Tim
-
T G Manikandan
Honored Contributor

Re: ifconfig

You are right -a option in solaris is for all the interfaces

There is no such option in HPUX.

Thanks