- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change of subnet mask for HP9000 system
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
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
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
тАО10-27-2003 02:44 PM
тАО10-27-2003 02:44 PM
Change of subnet mask for HP9000 system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 02:51 PM
тАО10-27-2003 02:51 PM
Re: Change of subnet mask for HP9000 system
To change it permanently, so it takes effect next time you reboot the machine, you need to edit the /etc/rc.config.d/netconf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 02:53 PM
тАО10-27-2003 02:53 PM
Re: Change of subnet mask for HP9000 system
From the console do the following:
1. Edit the following file:
/etc/rc.config.d/netconf
(Update the SUBNET_MASK parameter to the new subnet)
2. Then re-start networking:
# /sbin/init.d/net stop
# /sbin/init.d/net start
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 03:17 PM
тАО10-27-2003 03:17 PM
Re: Change of subnet mask for HP9000 system
Make sure the network and subnet mask settings are compatible, or your machine could drop right off the network and stay there.
A make_tape_recovery backup is also a good precaution. You never know when a little mistake will cascade into an all nighter.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 03:21 PM
тАО10-27-2003 03:21 PM
Re: Change of subnet mask for HP9000 system
Yes you can change the subnetmask without rebooting the machine use
#ifconfig
But this change remains only till the machine is up to make the effect permanent edit the file /etc/rc.config.d/netconf and assign the subnet mask there too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 03:35 PM
тАО10-27-2003 03:35 PM
Re: Change of subnet mask for HP9000 system
I would make a copy of the netconf before I do any changes:
#cp /etc/rc.config.d/netconf /tmp/netconf.old
# vi /etc/rc.config.d/netconf
scroll down to :
IP_ADDRESS[1]=192.168.1.1
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan1
BROADCAST_ADDRESS[1]=192.168.1.255
It depends on how many NICs you have in your system. above example is for NIC number 1, then changet he SUBNET_MASK.
Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 04:04 PM
тАО10-27-2003 04:04 PM
Re: Change of subnet mask for HP9000 system
All of them are the best answers.
Alternatively, on the command prompt
# set_parms addl_netwrk
you may see the interactive prompt Q&A .
Best Regards.
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 04:15 PM
тАО10-27-2003 04:15 PM
Re: Change of subnet mask for HP9000 system
Some background:
The server is at the remote relocation. And the analyst on site has very minimum knowledge on HPUX. So I cannot affort any downtime of the system.
Assume I changed the subnet mask via editing the file /etc/rc.config.d/netconf
What is the best way to make the change becomes effective? Thru reboot or net stop/start? I would like to minimize the down time of the system especially I am editing the subnet parameter from remote location.
Of course, I will perform make_recovery and file backup of /etc/rc.config.d/netconf prior the change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 04:26 PM
тАО10-27-2003 04:26 PM
Re: Change of subnet mask for HP9000 system
use ifconfig command as explained above
and parallely make /etc/rc.config.d/netconf file ready by editing for next reboot.
This way you can do it without rebooting the server or stoping any services.
Because if you stop /sbin/init.d/net you'll disconnect all users including you if you telnet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 06:42 PM
тАО10-27-2003 06:42 PM
Re: Change of subnet mask for HP9000 system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2003 06:48 PM
тАО10-27-2003 06:48 PM
Re: Change of subnet mask for HP9000 system
If you miss a double-quote the system won't come up at a reboot because all files in /etc/rc.config.d are parsed by the shell for each startup script, even though they contain parameters for other scripts.
But if you run the start script, it will only complain and not change anything, so you can correct it.
Also make sure your gateways are within the (new) subnet!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 02:13 PM
тАО10-28-2003 02:13 PM
Re: Change of subnet mask for HP9000 system
Are there any area or files (beside netconf file.) I should pay more attention if the HP9000 system is on MC Service Guard environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2003 02:58 PM
тАО10-28-2003 02:58 PM
Re: Change of subnet mask for HP9000 system
Ya thats the only file you have to concentrate, if you have MC/SG then you'll have to modify you'r package config files also if you have mentioned subnet there otherwise /etc/rc.config.d/netconf file is only you have to concentrate.
Also can you assign points looking at everyones replies, which you think benefited you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2003 03:28 AM
тАО10-29-2003 03:28 AM
Re: Change of subnet mask for HP9000 system
Hope this helps
-Brian.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:31 PM
тАО11-03-2003 08:31 PM
Re: Change of subnet mask for HP9000 system
Our plan is to change subnet mask in netconf from 255.255.255.0 to 255.255.254.00. The SUBNET in package.cfg and package.cntl are remain the same (please see below. those subnet in package files is the actual IP subnet.)
No change on package files (except netconf file, do we still need to re-apply the package via cmapplyconf command? DO advise.
package.cfg
SUBNET 158.25.0.0
package.cntl
IP[0]="158.25.112.5"
SUBNET[0]="158.25.0.0"