- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ifconfig commands
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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
05-08-2002 12:37 PM
05-08-2002 12:37 PM
ifconfig lan0 plumb
ifconfig lan0 192.168.0.53 netmask 255.255.255.0
What else to I need to route out the interface?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:47 PM
05-08-2002 12:47 PM
Re: ifconfig commands
# ifconfig lanX up
Also configure it in the /etc/rc.config.d/netconf file for next reboot.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:48 PM
05-08-2002 12:48 PM
Re: ifconfig commands
to add route
#route add default 10.20.25.1 1
Will add default gatway on my system with one hop.
#netstat -rn (to check)
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:49 PM
05-08-2002 12:49 PM
Re: ifconfig commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:52 PM
05-08-2002 12:52 PM
Re: ifconfig commands
The lanadmin -X command not necessary. If you want to set up driver specific options, then you need to use that. For eg: to set up the lan interface speed.
# man lanadmin for more details
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:54 PM
05-08-2002 12:54 PM
Re: ifconfig commands
#lanadmin -s 0 (if ppa is 0) will display the speed of card.
#lansdmin -S 0 newspeed (to setup new speed)
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 12:58 PM
05-08-2002 12:58 PM
Re: ifconfig commands
Edit the lan card configuration card.
/etc/rc.config.d/hpbase100conf to reflect the lancard speed and others.
Then either run the ifconfig lanX ip_address up netmask XXX.XXX.XXX.XXX or
run the stop and start scripts of the net as fast as posible. ie
/sbin/init.d/net stop ;/sbin/init.d/net start
users will not know the changes but make sure all is well with your configuration and setup.
The subnetmask, the broadcast and others are entered well in the /etc/rc.config.d/netconf file.
using the ifconfig may not give you the actual broadcast address if you do not set it well.
I am back
Lolu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 01:01 PM
05-08-2002 01:01 PM
Re: ifconfig commands
You answered my question.
-Yates