Configurando ip fixo em LAN Outubro 3, 2007
Posted by gilbertosilva in Linux, Redes.5 comments
Para configurar uma rede lan utilizando o ip-fixo basta estar como root e entrar com o comando:
ifconfig eth0 10.0.0.12 netmask 255.255.255.0
Na outra linha digite:
route add default gw (ip do gateway)
Depois é só entrar no resolv.conf e adicionar os DNS
para entrar no resolv.conf digite no terminal:
nano /etc/resolv.conf
Depois adicione as seguintes linhas:
nameserver 201.10.128.3
nameserver 201.10.120.02
Pronto, agora é só reiniciar a placa de rede:
/etc/init.d/network restart