martes, 13 de agosto de 2013

Configure a VM IP Address on redhat or centos


First go to virtual Box, your VM ->Settings -> Network ->Advanced

Display the Advance options and click the refresh button for Mac Address, then click OK

Now start the VM and login.

Remove from  HWADDR line from /etc/sysconfig/network-scripts/ifcfg-eth0

You should remove something like:

HWADDRR ="08:00:27:B2:F8L58"

Change eth0 by eth1 from ifcfg-eth0

DEVICE="eth1"

Then add

BOOTPROTO="dhcp"

Now restart network:

#sudo /etc/init.d/network restart


ifconfig will show you now your new IP address

Enjoy!
P.S. most common flag colors are...

No hay comentarios:

Publicar un comentario