Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

Configurando interface de rede em servidores RedHat e CentOS imprimir

  • adicionar interface de rede, centos, redhat, rede
  • 403


Acesse o arquivo.

vi /etc/sysconfig/network-scripts/ifcfg-eth0


Adicione as seguintes Linhas ao arquivo.

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=yes
TYPE=Ethernet
NETMASK=255.255.255.255
IPADDR=SEU.ENDEREÇO.IP
GATEWAY=SEU.GATEWAY
ARP=yes


Adionar rotas para seu servidor.

vi /etc/sysconfig/network-scripts/route-eth0


Adicione as seguintes Linhas ao arquivo.

SEU.GATEWAY dev eth0
default via SEU.GATEWAY dev eth0

Adicione os DNS ao arquivo.

vi /etc/resolv.conf


Adicione as seguintes linhas

nameserver 8.8.8.8
nameserver 8.8.4.4

Esta resposta lhe foi útil?

« Retornar

Powered by WHMCompleteSolution