- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ifconfig -a
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
Forums
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
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
тАО06-20-2007 03:44 AM
тАО06-20-2007 03:44 AM
ifconfig -a
so far I have,
# for i in `lanscan | awk '{print $5}' | grep lan`
> do
> ifconfig $i
> done
lan0: flags=1843
inet 4.248.207.179 netmask fffff800 broadcast 4.248.207.255
ifconfig: no such interface
ifconfig: no such interface
ifconfig: no such interface
But this does not show any of the virtual interfaces like the one I have on lan0:801
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2007 04:08 AM
тАО06-20-2007 04:08 AM
Re: ifconfig -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2007 04:10 AM
тАО06-20-2007 04:10 AM
Re: ifconfig -a
# netstat -in | awk 'NR>1 {print $1}' | xargs -n1 ifconfig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2007 04:14 AM
тАО06-20-2007 04:14 AM
Re: ifconfig -a
for LAN in $(netstat -in | awk 'NR>1 {print $1}' | sed 's/*//')
do
ifconfig $LAN
done
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2007 04:24 AM
тАО06-20-2007 04:24 AM
Re: ifconfig -a
# netstat -in | awk 'NR>1{printf("%s\n",$1~/\*/?z[split($1,z,"*")-1]:$1)}' | xargs -n1 ifconfig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2007 04:39 AM
тАО06-20-2007 04:39 AM