Caros,
Tenho a seguinte topologia e regras:
1) Modem ADSL > Roteador wi-fi 1 > Ubuntu 10.04 ( wlan -> lan ) > Roteador
wi-fi 2 > rede wi-fi
------------------------------------------------------------------------------------------------------
2) No Ubuntu:
/etc/network/intefaces
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.254.5
net 192.168.254.0
netmask 255.255.255.0
gateway 192.168.254.150
dns-nameservers 192.168.0.250
------------------------------------------------------------------------------------------------------
3) dhcpd para a eth0
ddns-update-style none;
subnet 192.168.254.0 netmask 255.255.255.0 {
range 192.168.254.1 192.168.254.2;
option domain-name-servers 201.10.120.3;
#Gateway
option routers 192.168.254.150;
option broadcast-address 192.168.254.255;
default-lease-time 600;
max-lease-time 7200;
}
------------------------------------------------------------------------------------------------------
4) Rotas
kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
localnet * 255.255.255.0 U 2 0 0 ra0
192.168.254.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.250 0.0.0.0 UG 0 0 0 ra0
------------------------------------------------------------------------------------------------------
... o Roteador wi-fi 2 recebe o ip 192.168.254.1
... e distribui com dhcp interno do 192.168.254.10 até o 192.168.254.20
... os notes da subrede wireless recebem o ip do roteador 2 mas não navegam.
ufa...
Se alguém pode me dar alguma luz?
Abraço,
Joe.
--
Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
Lista de discussão Ubuntu Brasil
Histórico, descadastramento e outras opções:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br