- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: IP ADDRESS CHANGE
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
тАО05-28-2001 07:19 AM
тАО05-28-2001 07:19 AM
IP ADDRESS CHANGE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 07:40 AM
тАО05-28-2001 07:40 AM
Re: IP ADDRESS CHANGE
One easy way is to run:
# /sbin/set_parms ip_address
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 07:51 AM
тАО05-28-2001 07:51 AM
Re: IP ADDRESS CHANGE
if you don't want to reboot you can do the follow:
1. Get your net-interface with lanscan.
2. Set the ip address of this interface with ifconfig. For example:
#ifconfig lan0 192.168.1.1
3.Modify /etc/rc.config.d/netconf changing the old IP address with the new.
4. Change in /etc/hosts the old IP for the new IP.
Best regards
Juan Gonzalez
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 08:25 AM
тАО05-28-2001 08:25 AM
Re: IP ADDRESS CHANGE
2. /etc/rc.config.d/netconf,/etc/hosts the old IP for the new IP,/sbin/init.d/net stop|start and restart swagentd (no reboot).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 07:51 PM
тАО05-28-2001 07:51 PM
Re: IP ADDRESS CHANGE
One more way , try doing it using SAM it also ensures taht all the respective files get updated.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2001 09:50 PM
тАО05-28-2001 09:50 PM
Re: IP ADDRESS CHANGE
change the /etc/rc.config.d/netconf with the new ip adress .
also change the /etc/host or the nis if you are working with nis.
you can change the ip with set_params .
my advise is to run /sbin/init.d/net stop
/sbin/init.d/net start
but my advise is to do reboot because i dont knowwith applic you have install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 02:57 AM
тАО05-30-2001 02:57 AM
Re: IP ADDRESS CHANGE
and change the IP Address
edit /etc/hosts and change th IP
reboot the machine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 04:51 AM
тАО05-30-2001 04:51 AM
Re: IP ADDRESS CHANGE
similar to James & Vincezo, but be careful if you have some applications(Tuxedo,staffware or uniface) which listen to the IP adress& the node name or not before you the change it,if it is so then I'll go with the opion of James just reboot your server.
Goodluck,
Hamdy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-30-2001 06:59 AM
тАО05-30-2001 06:59 AM
Re: IP ADDRESS CHANGE
Also, I saw your other post for the IP address change, which is identical to this. Edit the /etc/rc.config.d/netconf, and modify the IP, Netmask, and broadcast address if it is defined in that file. Then modify /etc/hosts to reflect the change. Best bet is to reboot as opposed to running /sbin/init.d/net stop
/sbin/init.d/net start
See below...
As others said, modify the HOSTNAME variable defined in "/etc/rc.config.d/netconf", then change /etc/hosts to reflect the change. Dont do this in the other order, as you could hose your X desktop!
Rebooting is the safest, as there are many sub-applications that will require updates for the system to function properly. These are not updated nor restarted by running the "net" boot script. X is a great example, but anything that creates/uses a socket based on the hostname or IP address can be affected.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-31-2001 07:35 AM
тАО05-31-2001 07:35 AM
Re: IP ADDRESS CHANGE
thanks for the help.