- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing IP-address on LAN
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
08-24-2000 11:33 PM
08-24-2000 11:33 PM
Changing IP-address on LAN
How can I best do this if I don't want to do a reboot and at the same time don't want to use SAM. I've got to learn to do Unix the professional way sometime don't I
;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 11:40 PM
08-24-2000 11:40 PM
Re: Changing IP-address on LAN
I would take the safe route and add the new IP and GW into /etc/rc.config.d/netconf and then reboot the server. (And make a backup first just in case something goes wrong!)
But, if you really cant afford downtime then log onto the console, shut the system down to single user more (in case any apps are using network connections), make the changes to /etc/rc.config.d/netconf, do an /sbin/init.d/net stop, then ifconfig lanX down,
then ifconfig lanX up, /sbin/init.d/net start, restart to multiuser mode (init 3)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 12:06 AM
08-25-2000 12:06 AM
Re: Changing IP-address on LAN
I did this once a few years ago, I changed on all concerned machines the IP/lan etc, then once all finished rebooted them all together, other you will have lan address conflict
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 02:05 AM
08-25-2000 02:05 AM
Re: Changing IP-address on LAN
Editting /etc/rc.config.d/netconf and rebooting is the way I have always done this, as Stefan first suggests. Don't forget to change the Gateway address (if necessary) -- it's easy to overlook if you hurry.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 02:07 AM
08-25-2000 02:07 AM
Re: Changing IP-address on LAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 05:22 AM
08-25-2000 05:22 AM
Re: Changing IP-address on LAN
Hope this helps,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 07:09 AM
08-25-2000 07:09 AM
Re: Changing IP-address on LAN
You can have multiple IPs on one card.
ifconfig lan0:1 NewIP netmask NewNetmask 1
route add default NewDefaultRouteIP 1
You could then test using the new IPs.
Since the original IP is on lan0 (or whatever) you would think you could:
ifconfig lan0 down
But this doesn't seem to work, probably since this was the one used at boot.
Edit the /etc/rc.config.d/netconf to put in the new IP information, and the next time you have to boot, the old IP will be gone at lan0 and the new IP at lan0.
- Chris Wong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2000 06:05 AM
08-28-2000 06:05 AM
Re: Changing IP-address on LAN
Play it save and reboot regardless of your apps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2000 07:13 AM
09-13-2000 07:13 AM
Re: Changing IP-address on LAN
Maarten, This sounds like what I have to do this weekend. How did things work out for you? Any other pitfalls I should be aware of?
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2000 04:41 AM
10-11-2000 04:41 AM
Re: Changing IP-address on LAN
In addition the LISTENER.ORA and TNSNAMES.ORA in the $ORACLE_HOME/network/admin will also need to be amended and the listener restarted.
Regards
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2000 06:40 AM
10-11-2000 06:40 AM
Re: Changing IP-address on LAN
school...I asked the instructor the same question you are asking here....he answered immediately...make backups of the files then change to the new IP address and REBOOT!!!
He said that if you try to peacemeal it, you will have problems....
hope this helps..Jay