- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lan config
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
11-13-2003 10:19 PM
11-13-2003 10:19 PM
lan config
someone can explain how can i introduce my station into the actual lan
ip 10.32.250.22
netmask 255.255.255.0
gateway 10.32.250.254 (optionnal but iwant only make connection behind a HUB)
What files can i modify?
What parameters can i introduce?
if my interface lan is "lan0"
Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 10:25 PM
11-13-2003 10:25 PM
Re: lan config
#set_parms ip_address
then
#set_parms addl_netwrk
you can also do like
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=10.32.250.22
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.32.250.254
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
Make/Change the above entry in /etc/rc.config.d/netconf file and then do a
/sbin/init.d/net stop
/sbin/init.d/net start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 10:26 PM
11-13-2003 10:26 PM
Re: lan config
route add default gateway 10.32.250.254 1
Then edit /etc/rc.config.d/netconf and fill up all the fields.
Should be OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 10:39 PM
11-13-2003 10:39 PM
Re: lan config
# set_parms ip_address
# set_parm addl_netwrk
Please note that change IP address (like using the set_parms command) will lead you a reboot, which is required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 10:52 PM
11-13-2003 10:52 PM
Re: lan config
You do not need to re-boot the machine to change an IP address. It may or may not be kinder to shut the interface down first "ifconfig lan0 down" but is almost certainly not actually required.
You may get the odd application waiting for things that it'll never get but in practice this doesn't cause any problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2003 10:56 PM
11-13-2003 10:56 PM