passa o resultado do route...<br><br><br>vai ajudar...<br><br><div><span class="gmail_quote">Em 29/11/06, <b class="gmail_sendername">Felipe Tocchetto</b> <<a href="mailto:felipe@tocchetto.com">felipe@tocchetto.com</a>> escreveu:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Esse FreeBSD tem servidor de DNS instalado?<br><br>No fedora, especifique o Default Gw: 
<a href="http://10.10.1.253/32">10.10.1.253/32</a><br><br>Quanto a ter máscaras iguais, nao tem nenhum problema, a unica<br>limitação é ter endereços da mesma rede na mesma máquina, o que não<br>acontece.<br><br>Talvez nem seja preciso utilizar a regra de mascaramento no fedora,
<br>nao tenho certeza, teria que realizar o teste.<br><br>2006/11/29, Leonardo Korndorfer <<a href="mailto:leokorndorfer@gmail.com">leokorndorfer@gmail.com</a>>:<br>> Como ficaria teu route se tu tivesse que fazer isso?
<br>><br>><br>> On 11/29/06, Felipe Tocchetto <<a href="mailto:felipe@tocchetto.com">felipe@tocchetto.com</a>> wrote:<br>> > Por que não?<br>> ><br>> > 2006/11/29, Leonardo Korndorfer < 
<a href="mailto:leokorndorfer@gmail.com">leokorndorfer@gmail.com</a>>:<br>> > > Tu nao podes usar a mesma netmask em duas interfaces de rede.<br>> > ><br>> > ><br>> > > On 11/29/06, Rafael Gomes <
<a href="mailto:rafael@gnufacs.org">rafael@gnufacs.org</a>> wrote:<br>> > > > posta o resultado de:<br>> > > > #route -n<br>> > > ><br>> > > > Obrigado,<br>> > > >
<br>> > > ><br>> > > > 2006/11/29, Bruno Galindro da Costa <<a href="mailto:bruno.galindro@gmail.com">bruno.galindro@gmail.com</a> >:<br>> > > > ><br>> > > > > Olá para todos.
<br>> > > > ><br>> > > > >   Eu gostaria de saber como montar um gateway no fedora core 6 x64<br>> na<br>> > > seguinte topologia:<br>> > > > ><br>> > > > >                           LAN
<br>> > > > >                    <a href="http://192.168.1.0/28">192.168.1.0/28</a><br>> > > > ><br>> > > > >                              |<br>> > > > >                              |
<br>> > > > >                              |<br>> > > > ><br>> > > > >                    Fedora core<br>> > > > > eth0: <a href="http://192.168.1.1/28">192.168.1.1/28
</a> | eth1: <a href="http://10.10.1.1/24">10.10.1.1/24</a><br>> > > > ><br>> > > > >                              |<br>> > > > >                              |<br>> > > > >                              |
<br>> > > > ><br>> > > > >                        FreeBSD<br>> > > > >                   <a href="http://10.10.1.253/24">10.10.1.253/24</a><br>> > > > ><br>> > > > >                              |
<br>> > > > >                              |<br>> > > > >                              |<br>> > > > ><br>> > > > >                          Router<br>> > > > >                          
x.x.x.x<br>> > > > ><br>> > > > >                              |<br>> > > > >                              |<br>> > > > >                              |<br>> > > > >
<br>> > > > >                         WAN<br>> > > > >                         <a href="http://0.0.0.0">0.0.0.0</a><br>> > > > ><br>> > > > > O FreeBSD já esta configurado e funcionando perfeitamente para a
<br>> rede<br>> > > <a href="http://10.10.1.0/24">10.10.1.0/24</a>. Nem foi eu que configurei, foi outro admin.<br>> > > > ><br>> > > > > Já o Fedora, é o sistema que eu preciso configurar para a rede
<br>> > > <a href="http://192.168.1.0/28">192.168.1.0/28</a> acessar a internet através da rede <a href="http://10.10.1.0/24">10.10.1.0/24</a>. Eu<br>> coloquei<br>> > > as seguintes regras para abilitar este funcionamento:
<br>> > > > ><br>> > > > > echo 1 > /proc/sys/net/ipv4/ip_forward<br>> > > > > iptables -t nat -F<br>> > > > > iptables -A POSTROUTING -t nat -p all -s <a href="http://192.168.1.0/24">
192.168.1.0/24</a> -o eth1 -j<br>> > > MASQUERADE<br>> > > > ><br>> > > > > Configuração dos micros clientes:<br>> > > > ><br>> > > > > IP:                    
192.168.1.x<br>> > > > > Máscara:          <a href="http://255.255.255.240">255.255.255.240</a><br>> > > > > Gateway:         <a href="http://192.168.1.1">192.168.1.1</a><br>> > > > > DNS Primário:  
<a href="http://10.10.1.253">10.10.1.253</a><br>> > > > ><br>> > > > > Colocando esta regra, surgem os seguintes problemas:<br>> > > > ><br>> > > > > 1º - se um micro da rede 
<a href="http://192.168.1.0">192.168.1.0</a> (ex.: <a href="http://192.168.1.2">192.168.1.2</a>) quiser<br>> pingar a<br>> > > eth0 ou a eth1 do fedora, ele não consegue.<br>> > > > ><br>> > > > > 2º - se este mesmo micro 
<a href="http://192.168.1.2">192.168.1.2</a> quiser pingar o FreeBSD (<br>> > > <a href="http://10.10.1.253">10.10.1.253</a>), ele consegue. Com a internet o ping também funciona, tanto<br>> > > pingando para IP quanto para nome. Mas, no browser, a internet não
<br>> funciona.<br>> > > > ><br>> > > > > Alguém pode me ajudar?<br>> > > > ><br>> > > > > --<br>> > > > > Fedora-users-br mailing list<br>> > > > > 
<a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>> > > > ><br>> <a href="https://www.redhat.com/mailman/listinfo/fedora-users-br">https://www.redhat.com/mailman/listinfo/fedora-users-br
</a><br>> > > > ><br>> > > > ><br>> > > > ><br>> > > ><br>> > > ><br>> > > ><br>> > > > --<br>> > > > Rafael Brito Gomes
<br>> > > > Sistema de Informação<br>> > > > Universidade de Salvador (UNIFACS)<br>> > > ><br>> > > > Linux User - 430086<br>> > > ><br>> > > > O Tabareu - A Arte em sua forma mais Pura!
<br>> > > > <a href="http://tabareu.wordpress.com/">http://tabareu.wordpress.com/</a><br>> > > ><br>> > > > Blog do Sinot<br>> > > > <a href="http://sinot.wordpress.com/">http://sinot.wordpress.com/
</a><br>> > > > --<br>> > > > Fedora-users-br mailing list<br>> > > > <a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>> > > ><br>> <a href="https://www.redhat.com/mailman/listinfo/fedora-users-br">
https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br>> > > ><br>> > > ><br>> > > ><br>> > ><br>> > ><br>> > ><br>> > > --<br>> > > Leonardo Korndorfer
<br>> > ><br>> x50/x6F/x72/x20/x66/x61/x76/x6F/x72/x21/x20/x4E/x61/x6F/x20/x61/x63/x72/x65/x64/x69/x74/x6F/x20/x71/x75/x65/x20/x74/x75/x20/x74/x65/x20/x64/x65/x73/x74/x65/x20/x6F/x20/x74/x72/x61/x62/x61/x6C/x68/x6F/x20/x64/x65/x20/x74/x72/x61/x64/x75/x7A/x69/x72/x20/x69/x73/x73/x6F/x21/x20
<br>> > ><br>> > > alt.not.root.coffe.coffe.coffe<br>> > ><br>> > > A monk asked Joshu, "Does a dog have the Buddha nature?<br>> > > Joshu retorted, "Mu!"<br>> > >
<br>> > > MSN: <a href="mailto:leokorndorfer@hotmail.com">leokorndorfer@hotmail.com</a><br>> > > ICQ: 102788426<br>> > > Slack + Gentoo<br>> > > --<br>> > > Fedora-users-br mailing list
<br>> > > <a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>> > > <a href="https://www.redhat.com/mailman/listinfo/fedora-users-br">https://www.redhat.com/mailman/listinfo/fedora-users-br
</a><br>> > ><br>> > ><br>> > ><br>> ><br>> ><br>> > --<br>> > Felipe L. Tocchetto<br>> > <a href="http://felipe.tocchetto.com">http://felipe.tocchetto.com</a><br>> >
<br>> > --<br>> > Fedora-users-br mailing list<br>> > <a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>> > <a href="https://www.redhat.com/mailman/listinfo/fedora-users-br">
https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br>> ><br>><br>><br>><br>> --<br>> Leonardo Korndorfer<br>> x50/x6F/x72/x20/x66/x61/x76/x6F/x72/x21/x20/x4E/x61/x6F/x20/x61/x63/x72/x65/x64/x69/x74/x6F/x20/x71/x75/x65/x20/x74/x75/x20/x74/x65/x20/x64/x65/x73/x74/x65/x20/x6F/x20/x74/x72/x61/x62/x61/x6C/x68/x6F/x20/x64/x65/x20/x74/x72/x61/x64/x75/x7A/x69/x72/x20/x69/x73/x73/x6F/x21/x20
<br>><br>> alt.not.root.coffe.coffe.coffe<br>><br>> A monk asked Joshu, "Does a dog have the Buddha nature?<br>> Joshu retorted, "Mu!"<br>><br>> MSN: <a href="mailto:leokorndorfer@hotmail.com">
leokorndorfer@hotmail.com</a><br>> ICQ: 102788426<br>> Slack + Gentoo<br>> --<br>> Fedora-users-br mailing list<br>> <a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/fedora-users-br">
https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br>><br>><br>><br><br><br>--<br>Felipe L. Tocchetto<br><a href="http://felipe.tocchetto.com">http://felipe.tocchetto.com</a><br><br>--<br>Fedora-users-br mailing list
<br><a href="mailto:Fedora-users-br@redhat.com">Fedora-users-br@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-users-br">https://www.redhat.com/mailman/listinfo/fedora-users-br</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Rafael Brito Gomes<br>Sistema de Informação<br>Universidade de Salvador (UNIFACS)<br><br>Linux User - 430086<br><br>O Tabareu - A Arte em sua forma mais Pura!<br><a href="http://tabareu.wordpress.com/">
http://tabareu.wordpress.com/</a><br><br>Blog do Sinot<br><a href="http://sinot.wordpress.com/">http://sinot.wordpress.com/</a>