- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Changing the hostname,ip
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
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
тАО03-21-2003 02:16 AM
тАО03-21-2003 02:16 AM
Changing the hostname,ip
i have two machines that i would like to swap their hostnames and ip, what consideration do i have to know, which is the best way to do this?
Thanks in advance,
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 04:49 AM
тАО03-21-2003 04:49 AM
Re: Changing the hostname,ip
Either pick a 3rd (unused) hostname and ip to "park" the first system while you change the second, or take them off the network until you are done with the swap.
HTH,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 05:20 AM
тАО03-21-2003 05:20 AM
Re: Changing the hostname,ip
shutdown or pull one machine out of the network. if that is not possible, use a temporary host name and ip for it.
change host / ip for the other machine.
change host / ip for the first machine.
dont forget to update the host files and dns server for these entries if u have any. also, be aware of this change and as these might reflect in the logs as well. do u run any specific applications, firewall, etc. take care of them.
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2003 11:24 AM
тАО03-21-2003 11:24 AM
Re: Changing the hostname,ip
ifconfig eth0 (replace zero with actual value) down
Machine 2
ifconfig eth0 (replace zero with actual value) down
make permanent changes to /etc/sysconfig/network-scripts files
Then either reboot or
Machine 1
ifconfig eth0 ip_address network_mask
Machine 2
ifconfig eth0 ip_address network_mask
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
тАО03-22-2003 09:38 PM
тАО03-22-2003 09:38 PM
Re: Changing the hostname,ip
You can enter network configuration parameters in this window:
This machine's IP - enter IP number for this computer here
Network mask - enter netmask here. If omitted, mask will be calculated based on IP (which will not necessarily be right).
Broadcast address - enter network broadcast address here. If omitted broadcast address will be calculated based on IP (not mask! - which will not necessarily be right).
Default gateway - enter IP address of default network gateway (router) here.
Nameserver IP(s) - enter one or more (separated by spaces) name servers' IP addresses here. Can be omitted, but then domain names couldn't be used.
Default domain(s) - you can enter one or more (separated by spaces) domain names to search host if incomplete domain names will be used. It's optional.
http://dmacherowski.strony.wi.ps.pl/Pocket/manual.html.en.htm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2003 11:40 PM
тАО04-04-2003 11:40 PM
Re: Changing the hostname,ip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2003 07:22 PM
тАО04-06-2003 07:22 PM
Re: Changing the hostname,ip
To Author: These guys posted great answers. Why don't you give them a point or two?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com