Você consegue habilitar o dhcp na configuração da interface de rede.


http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-dhcp-configuring-client.html

The /etc/sysconfig/network file should contain the following line:

NETWORKING=yes

The NETWORKING variable must be set to yes if you want networking to start at boot time.

The /etc/sysconfig/network-scripts/ifcfg-eth0 file should contain the following lines:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes


Em 29 de maio de 2014 07:54, Fábio de Sousa <fabiocs@gmail.com> escreveu:
Um Salve a todos!

Alguém saberia me dizer como inicializar do dhclient no boot do centOS?
Quero que o dhclient sempre fique rodando de modo que quando eu colocar o cabo de rede na placa, já seja solicitado o ip. No caso a placa de rede seria eth0.
Lembrando que nas máquinas que uso o centOS, não tem interface gráfica!
E também eu não queria instalar o NetworkManager.

Obrigado,


  ~   | Fábio de Sousa                                                                                                           
.ºvº. | Téc. Inf.
/(_)\ | Seja livre, use LINUX
.^.^. | Socialmente justo, economicamente viável e tecnologicamente sustentável






_______________________________________________
CentOS-pt-br mailing list
CentOS-pt-br@centos.org
http://lists.centos.org/mailman/listinfo/centos-pt-br




--
Gracco Guimarães - +55 (11) 98229-7272