[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 757
  • Last Modified:

LInux (Red Hat 6.5) clone on VMWare

When I clone a Linux (Red Hat 6.5)  from 1 VM to another, and bring them both up, they will have identical IP's

What steps do I take to change the IP, and hostname

Are there any other steps I need to take other than the IP and hostname to make the two machines unique.  Did I miss something?

Thanks
0
Anthony Lucia
Asked:
Anthony Lucia
2 Solutions
 
Seth SimmonsSr. Systems AdministratorCommented:
you change the IP address in /etc/sysconfig/network-scripts/<adapter name>

replace adapter name with the name of the interface such as ifcfg-eth0
restart the network service (service network restart) or just the adapter (ifdown <interface> ; ifup <interface>)

modify the host name in /etc/sysconfig/network
use hostname <new name> for the change to be immediate

after changing the host name, re-register with RHN (subscription-manager register)
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
How are you CLONING?

Is the IP Address the same in the VM, or is the MAC Address the same ?

Because the MAC Address should change?

HOW TO: Select the right answer to "I Moved It" or "I Copied It" in VMware vSphere (ESXi)
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now