Operating System - HP-UX
1834483 Members
3359 Online
110067 Solutions
New Discussion

Re: Command Help regarding mac address

 
SOLVED
Go to solution
Robert Axness
New Member

Command Help regarding mac address

What command can I use to find out the mac address and ip address on an interface card?
In SCO it is "ifconfig -a" but that or any variation of that doesn't work on HP-UX.
I have also tried "lanscan" which gives me three mac address and no ip address.
Any help would be appreciated.
Bob
5 REPLIES 5
Rick Garland
Honored Contributor

Re: Command Help regarding mac address

I believe you would need to issue both commands - ifconfig and lanscan
John Palmer
Honored Contributor

Re: Command Help regarding mac address

lanscan gives you the 'station address'
alberto vasquez
Trusted Contributor

Re: Command Help regarding mac address

# lanscan - will show mac address
# ifconfig lan0 - will show ip address
John Palmer
Honored Contributor
Solution

Re: Command Help regarding mac address

netstat -in also gives you the IP address.
Antoanetta Naghiu
Esteemed Contributor

Re: Command Help regarding mac address

What about lanadmin?