[CentOS-pt-br] Dhclient

Gracco Guimarães gracco.cerqueira em gmail.com
Quinta Maio 29 12:34:31 UTC 2014


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 em 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 em centos.org
> http://lists.centos.org/mailman/listinfo/centos-pt-br
>
>


-- 
Gracco Guimarães - +55 (11) 98229-7272
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.centos.org/pipermail/centos-pt-br/attachments/20140529/fa8cd945/attachment.html 


Mais detalhes sobre a lista de discussão CentOS-pt-br