[FUGSPBR] Roteamento ou NATD ?

WagnerBrustolim zoiobrust em bol.com.br
Sex Jul 18 17:13:00 BRT 2003


Bom !!! Uso aqui ADSL ... e faço NATD para 12 pontos em uma rede wireless .
Do servidor de ADSL ele encherga todos os pontos .... e dos pontos só
encherga o servidor ADSL...  gostaria de acertar o roteamento.
pois quando pingo de um ponto para o outro o servidor não resolve pela rede
wireless ... manda direto pela ADSL dai não funciona !!!
o q pode ser feito pois já tentei varia coisas !!!

no servidor
bash-2.05a# ifconfig
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:e0:7d:c9:33:24
        media: Ethernet autoselect (10baseT/UTP)
Placa q é ligada a  ADSL
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.50.1 netmask 0xffffff00 broadcast 192.168.50.255
        ether 00:02:2d:3e:c5:df
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
Placa de Wireless q faz natd para rede wireless
        ssid milenium 1:milenium
        stationname internet
        channel 10 authmode OPEN powersavemode OFF powersavesleep 100
        wepmode MIXED weptxkey 1
        wepkey 1:64-bit
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
        inet 200.138.62.156 --> 200.181.195.254 netmask 0xffffff00
Tunel criado pela ADSL pela autenticação PPPoE
        Opened by PID 77


Pontos q estão ligados pela rede Wireless

bash-2.05a# arp -a
internet.milenium (192.168.50.1) at 00:02:2d:3e:c5:df on wi0 permanent
[ethernet]
? (192.168.50.2) at 00:02:2d:37:2b:55 on wi0 [ethernet]
? (192.168.50.4) at 00:02:2d:51:7f:f2 on wi0 [ethernet]
? (192.168.50.45) at 00:02:2d:42:0b:0e on wi0 [ethernet]
? (192.168.50.253) at 00:02:2d:4b:5d:6e on wi0 [ethernet]
? (192.168.50.255) at ff:ff:ff:ff:ff:ff on wi0 permanent [ethernet]
bash-2.05a#

Tabela de Rotas
bash-2.05a# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            200.181.195.254    UGSc       64    21088   tun0
127.0.0.1          127.0.0.1          UH          1       46    lo0
192.168.50         link#3             UC          6        0    wi0
192.168.50.1       00:02:2d:3e:c5:df  UHLW        0      737    lo0
192.168.50.2       00:02:2d:37:2b:55  UHLW        1    20205    wi0    136
192.168.50.4       00:02:2d:51:7f:f2  UHLW        0     2643    wi0   1193
192.168.50.45      00:02:2d:42:0b:0e  UHLW        1     3181    wi0    687
192.168.50.253     00:02:2d:4b:5d:6e  UHLW        2    22935    wi0    688
192.168.50.255     ff:ff:ff:ff:ff:ff  UHLWb       2      280    wi0
200.181.195.254    200.138.62.156     UH         63        0   tun0
bash-2.05a#


NATD e regras do firewall

00100 1887 173592 divert 8668 ip from any to any via wi0
00200    0      0 allow ip from any to 200.199.201.83
65535 3901 564786 allow ip from any to any
bash-2.05a#


Qual a solução para um ponto ping no outro ?
__________________________________________________________________ ICQ#:
170088932 Current ICQ status: + More ways to contact me
__________________________________________________________________



_______________________________________________________________
Sair da Lista: http://www2.fugspbr.org/mailman/listinfo/fugspbr
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/



Mais detalhes sobre a lista de discussão freebsd