Claudio,

Inicialmente, qual � o tipo de conex�o que deseja ter entre essas redes?

Experimente colocar suas regras NAT assim:

Gateway 1
ipfw add divert natd all from 192.168.0.0/24 to any via wi0 out
ipfw add divert natd all from any to 200.xxx.xxx.175 via wi0 in

Gateway 2
ipfw add divert natd all from 192.168.5.0/24 to any via wi0 out
ipfw add divert natd all from any to 200.xxx.xxx.146 via wi0 in


@bra�os,


--
"Se voc� tem dificuldade para enxergar a beleza, ent�o feche os olhos que
voc� a ver� por uma nova luz"


Cleiton Luiz Siqueira
Analista de Sistema
WebSystem Solu��es para Internet
(45) 9963-7429



--------- Mensagem Original --------
De: "Grupo Brasileiro de Usuarios FreeBSD" <[EMAIL PROTECTED]>
Para: "Grupo Brasileiro de Usuarios FreeBSD" <[EMAIL PROTECTED]>
Assunto: [FUGSPBR] Permitir acesso entre redes
Data: 23/10/03 09:34


Ainda estou precisando de ajuda. Ja pesquisei, fiz 1001 testes e nada.

Tenho 2 redes independentes com nat transparente para Ip v�lido em cada uma
e gostaria de ter acesso entre elas. Alguem poderia me ajudar ?
Os gateways s�o em picobsd.

Ser� que isto tem solu��o ?
Daria para fazer com route add -net, route add -host e novas regras de IPFW?

As regras do NAT nos gateways s�o:

Gateway 1
natd -m -s -n wi0
ipfw add 10 divert natd all from any to 200.xxx.xxx.175/32 in
ipfw add 20 divert natd all from 192.168.5.0/24 to any out

Gateway 2
natd -m -s -n wi0
ipfw add 10 divert natd all from any to 200.xxx.xxx.146/32 in
ipfw add 20 divert natd all from 192.168.0.0/24 to any out

---------------------------------------------------------------------
| rede interna 192.168.0.0 255.255.255.0 |
---------------------------------------------------------------------
|
|
|
---------------------------------------------------------------------
| 192.168.0.254 255.255.255.0 |
| gateway 1 |
| 200.xxx.xxx.175 255.255.255.192 |
---------------------------------------------------------------------
|
|
|
---------------------------------------------------------
| INTERNET via wireless mesmo AP os 2 gateways |
--------------------------------------------------------
|
|
|
--------------------------------------------------
| 200.xxx.xxx.146 255.255.255.192 |
| gateway 2 |
| 192.168.5.254 255.255.255.0 |
--------------------------------------------------
|
|
|
---------------------------------------------------
| rede interna 192.168.5.0 255.255.255.0 |
---------------------------------------------------



Desde j� agrade�o.
Claudio Cordeiro


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

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

Responder a