[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Interfaces virtuais (Acesso Externo)



Tente criar a eth0:1 em vez de eth0:0.

Veja de funciona.


Junior
100% movido a linux

2008/10/30 Allison Vollmann <allisonvoll@yahoo.com.br>
Olá,

Criei uma interface virtual (eth0:0) com a mesma mascara e rede da interface física, dentro da rede interna é possível acessá-la normalmente, porém quanto ao acesso externo não é possível, essa interface esta utilizando um endereço de ip roteável e o mesmo esta livre para uso.

Tentei adicionar as rotas para essa interface e nada, mas pelo que vi nos man pages, se utiliza a mesma rede não é necessário criar rotas para ela.

/etc/network/interfaces:

allow-hotplug eth0
auto eth0 eth0:0
iface eth0 inet static
      address xxx.xxx.xxx.44
      netmask 255.255.255.248
      network xxx.xxx.xxx.0
      broadcast xxx.xxx.xxx.xxx
      gateway xxx.xxx.xxx.1
iface eth0:0 inet static
      address xxx.xxx.xxx.45
      netmask 255.255.255.248
      network xxx.xxx.xxx.0


# route -n:

xxx.xxx.xxx.0   0.0.0.0             255.255.255.248   U     0      0        0 eth0
0.0.0.0             xxx.xxx.xxx.1   0.0.0.0                  UG    0      0        0 eth0

A[]'s


--
To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: