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
Forums
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
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
09-09-2005 07:09 AM
09-09-2005 07:09 AM
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 07:11 AM
09-09-2005 07:11 AM
Re: ifconfig
'ifconfig' exists. Do:
# whereis ifconfig
...to see "where'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 07:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 07:12 AM
09-09-2005 07:12 AM
Re: ifconfig
Some of the command options/switches may be different between the flavors
What are you attempting to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 07:14 AM
09-09-2005 07:14 AM
Re: ifconfig
What Unix you are looking to find the ifconfig.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 07:22 AM
09-09-2005 07:22 AM
Re: ifconfig
if config is available in HP-UX too.
its /usr/sbin/ifconfig
http://docs.hp.com/en/B2355-60103/ifconfig.1M.html
Standard output would be
#ifconfig lan1
lan1: flags=1843
inet 172.17.112.4 netmask ffffff00 broadcast 172.17.112.255
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 07:37 AM
09-09-2005 07:37 AM
Re: ifconfig
ifconfig is available in hp-ux and here is few details may help you :
1. /usr/sbin/ifconfig lan1 [ to see the details of the interface lan1 ]
2. ifconfig lan2 up [ you can make a down interface up ]
3. you can configure the interface like this:
# ifconfig lan0 10.110.5.1 netmask 255.255.255.224
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 07:46 AM
09-09-2005 07:46 AM
Re: ifconfig
Also you can see :
# man set_parms , and /etc/rc.config.d/netconf [The configuration file , which keeps the network related informations ] , for further details ,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 09:55 AM
09-09-2005 09:55 AM
Re: ifconfig
Thanks,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 09:59 AM
09-09-2005 09:59 AM
Re: ifconfig
Use lanscan to find the interface names (lan0, lan1, etc.)
Then use 'ifconfig lan0' (or whatever the interface name is) to see the details.
You can also use 'netstat -in' to see each interface and its ip address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 10:03 AM
09-09-2005 10:03 AM
Re: ifconfig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 10:05 AM
09-09-2005 10:05 AM
Re: ifconfig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 10:13 AM
09-09-2005 10:13 AM
Re: ifconfig
In HP-UX you can do:
lanscan |awk 'NR > 2 {print $5}'|while read line
> do
> ifconfig ${line}
> done
...to get a view of all interfaces with 'ifconfig'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 10:16 AM
09-09-2005 10:16 AM
Re: ifconfig
Here is a simple script that will help you finding all lan cards IP and details , in the system :
#########################################
for i in `lanscan | grep lan | awk '{print $5}' | sort `
do
echo $i
ifconfig $i
echo "-------------------------------------------------------------------"
done
###########################################
Enjoy , Have fun,
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 12:27 PM
09-09-2005 12:27 PM
Re: ifconfig
I know what you mean when you say ifconfig like other operating systems.
On HP UX ifconfig works with specific lan device only and there is nothing like ifconfig -a
To get everything, I use three commands complementing each other and providing information.
lanscan
netstat -in
ifconfig
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 05:41 PM
09-09-2005 05:41 PM
Re: ifconfig
i normally use the following script:
# more speed-lan.sh
#!/usr/bin/sh
PATH=/usr/sbin:/usr/bin
ppas=`lanscan | awk '$3~/^[0-9]$/{print $3}' | xargs`
for i in $ppas
do
printf "Card at PPA %s - " $i
ipa=`ifconfig lan${i} 2>/dev/null | awk '{ip=$2}END{if(ip==""){printf("Not assigned ")}else{printf("%s ",ip)}}'`
printf "IP Address: %15s- " "$ipa"
lanadmin -x $i 2>/dev/null | awk '{$1="";printf("%s",$0)}'
echo ""
done
#
hope this helps too!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 09:16 PM
09-09-2005 09:16 PM
Re: ifconfig
I think better to use (netstat -in)
sheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2005 09:16 PM
09-09-2005 09:16 PM
Re: ifconfig
I think better to use (netstat -in)
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2005 01:54 AM
09-11-2005 01:54 AM
Re: ifconfig
ifconfig is available on hpux as well as per following
#/usr/sbin/ifconfig
Please refer to man pages for details on options
Regards
Mahesh