Pular para o conteúdo

ifconfig, iproute (interfaces)

Exemplo de configuração do arquivo interface. Esse arquivo é responsável por manter as configurações de rede. Seu caminho completo é /etc/networks/interfaces.
José Cleydson Ferreira da Silva cleysinhonv
Hits: 26.100 Categoria: Networking
  • Download
  • Indicar
  • Denunciar
Download interfaces

Esconder código-fonte

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface

auto eth0  # Levanta o dispositivo de rede
iface eth0 inet static
address 192.168.0.25    #Endereço IP
netmask 255.255.255.0  # Mascara da rede
gateway 192.168.0.1      # Gateway padrão

auto eth1  # Levanta o dispositivo de rede
iface eth1 inet static
address 192.168.1.25    #Endereço IP
netmask 255.255.255.0  # Mascara da rede


Apache (virtualhost.conf)

Apache Tomcat (tomcat-users.xml)

Apache Tomcat (server.xml)

Apache Tomcat (web.xml)

X11 (xorg.conf)

LTSP (lts.conf)

FreeS/Wan (ipsec.conf)

Squid (squid.conf)

Shaper/CBQ (cbq-002-ID001-OUT)

nagios (nagios.tar.gz)

#1 Comentário enviado por yuricolen em 06/05/2016 - 16:28h
teria como você colocar um exemplo com mais uma eth, só que com DHCP?

Yuri Martins Colen

Contribuir com comentário

Entre na sua conta para comentar.