- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ifconfig -a not working on HP-UX , why ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2013 07:36 PM - last edited on 02-05-2013 10:04 PM by Maiko-I
02-05-2013 07:36 PM - last edited on 02-05-2013 10:04 PM by Maiko-I
ifconfig -a not working on HP-UX , why ?
Hi ,
Wont ifconfig -a work on HP-UX server ?
server version is :
HP-UX wlsms01 B.11.11 U 9000/800 3995265642 unlimited-user license
Is their any alternate command for this in HP-UX ?
regards,
aparna.
P.S. This thread has been moved from HP-UX > System Administration to HP-UX > networking - HP Forums Moderator
- Tags:
- ifconfig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2013 08:47 PM
02-05-2013 08:47 PM
Re: ifconfig -a not working on HP-UX , why ?
No, 'ifconfig -a' does not work on HP-UX. If you use ifconfig you must specify an interface to see its configuration.
# ifconfig lan0
If you just want to see ip addresses for all interfaces:
# netstat -in
- Tags:
- netstat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2013 11:37 PM
02-05-2013 11:37 PM
Re: ifconfig -a not working on HP-UX , why ?
>> ifconfig -a not working on HP-UX , why ?
The question is "why should it?" Just because thats how a command behaves on "A N other" UNIX/Linux system, you should never assume thats how it will work on another flavour... that's what man pages are there for...
Anyway Patrick has already given you a way of getting the IP addresses bound to NICs - if you want more detail/something more like "ifconfig -a" would give you on Linux, then try:
lanscan -p | while read lan do ifconfig lan${lan} done 2>/dev/null
I am an HPE Employee

- Tags:
- lanscan