
adircastro
(usa Debian)
Enviado em 15/08/2007 - 12:33h
Olá a todos,
Vejam meu arquivo interfaces, ele mostra a interface eth0:0, mas no ifconfig não aparece e nem responde a ping... também fiz o comando: ifup eth0:0, mas quando desligo o servidor, as configurações se perdem.
Alguém pode me dá uma dica?
cyber:/etc/network# cat interfaces
# 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 - internet
allow-hotplug eth0
iface eth0 inet static
address 192.168.100.14
netmask 255.255.255.0
broadcast 192.168.100.255
network 192.168.100.0
gateway 192.168.100.100
# dns-* options are implemented by the resolvconf package, if installed
#
# Interface virtual - internet
auto eth0:0
iface eth0:0 inet static
address 10.10.0.186
netmask 255.255.255.252
broadcast 10.10.0.255
network 10.10.0.184
gateway 10.10.0.185
# dns-* options are implemented by the resolvconf package, if installed
#
# Segunda placa - rede local
auto eth2
iface eth2 inet static
address 192.168.0.14
netmask 255.255.255.0
broadcast 192.168.0.255
network 192.168.0.0
Aqui está o arquivo hosts...
cyber:/etc/network#
cyber:/etc/network# cat /etc/hosts
127.0.0.1 localhost
192.168.100.14 cyber.cybernet.com.br cyber
10.10.0.186 virtual
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts