CentOS 7 – IP Fixo
Configuração de rede bem simples para CentOS 7.
Incluí DNS,, IP, GATEWAY e ROTA.
Download do vídeo:
.mp4
https://mega.nz/#!ahdwUSxL!lS4US4pl8sTzX4Lxkog_d-tPtuz91YYlFGPLxBC6UHQ
* Abaixo os Comandos *
#ip a
para linstar interface.
#ethtool enp0s3 | grep Link
para verificar a conexao.
caso esteja em ON use o comando
#ip link set enp0s3 up
Configurando ip statico
#vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
BOOTPROTO=static
IPADDR=10.0.0.2
NETMASCK=255.255.255.0
ONBOOT=yes
Configurando rota default.
#vi /etc/sysconfig/network
NETWORKING=yes
GATEWAY=10.0.0.1
Configurando DNS
#vi /etc/resolv.conf
nameserver=8.8.8.8
#systemctl restart networki
ou para garantir
#reboot
https://www.evernote.com/shard/s581/sh/5ed9c5cc-3ce2-4e85-b372-2fd6a165bdd8/7de08b56e73daf27f2e7398aa8cc021a
por Flávio Lages
centos 7