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

Re: Roteamento



Henrique,

Em Ter, 2004-07-06 às 09:21, Henrique Carvalho escreveu:
> hydra:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:50:BA:61:B0:A4
>           inet addr:200.163.81.147  Bcast:200.163.81.255  Mask:255.255.255.248
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>  
> eth1      Link encap:Ethernet  HWaddr 00:50:BA:62:B5:0F
>           inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>  
> eth2      Link encap:Ethernet  HWaddr 00:08:54:0D:75:B5
>           inet addr:10.85.0.1  Bcast:10.85.0.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>  
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>  
> hydra:~#
> hydra:~# netstat -rn
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
> 200.163.81.144  0.0.0.0         255.255.255.248 U        40 0          0 eth0
> 10.85.0.0       0.0.0.0         255.255.255.0   U        40 0          0 eth2
> 192.168.10.0    0.0.0.0         255.255.255.0   U        40 0          0 eth1
> 0.0.0.0         200.163.81.145  0.0.0.0         UG       40 0          0 eth0
> hydra:~#
> 

Até aqui parece que está tudo ok. As rotas estão devidamente
configuradas.

As próximas suspeitas/perguntas seriam:
- vc tá usando algum filtro? ipchains ou iptables? Se sim, já tem alguma
regra que libera a passagem de pacotes entre as redes servidas pela eth1
e eth2?
- só pra tirar a dúvida - como está o seu dhcpd.conf? Gostaria de saber
como está configurado a rede das máquinas das duas redes. Se as máquinas
forem windows, vc pode executar na linha de comando "ipconfig".


> 
> Obrigado;
> 
> Falow
> 
> 
> ----- Original Message ----- 
> From: "Feng Sian" <redbrick1@terra.com.br>
> To: "debian-user-portuguese" <debian-user-portuguese@lists.debian.org>
> Sent: Tuesday, July 06, 2004 2:45 AM
> Subject: Re: Roteamento
> 
> 
> > Henrique,
> >
> > vc pode mandar a saída de:
> >
> > gateway$ ifconfig; netstat -rn
> > qq-maq-rede-matriz$ ifconfig; netstat -rn
> > qq-maq-rede-filial$ ifconfig; netstat -rn
> >
> >
> > Em Seg, 2004-07-05 às 15:53, Henrique Carvalho escreveu:
> > > Fala galera,
> > >
> > > Quero utilizar o servidor debian como roteador, tenho 3(três) placas
> > > ethernet; eth0 DHCP ligada no cable modem pra internet, eth0 rede
> > > matriz 192.168.10.1 ligada no switch1 e eth2 rede filial 10.85.0.1
> > > ligada no switch2, ativei o forward (echo "1" >
> > > /proc/sys/net/ipv4/ip_forward), as estações da rede 192.168.10.x com
> > > gateway 192.168.10.1 pinga nas 3(três) placas mas não pinga nos
> > > esdereços da rede 10.85.0.x que por sua vez tem o gateway 10.85.0.1,
> > > resumindo, o linux não está roteando os pacotes da rede 192.168.10.x
> > > com destino 10.85.0.x e vice-versa, pesquisei e não encontrei uma
> > > solução ou não entendi, acho que esá faltando alguma coisa na
> > > configuração.
> > >
> > > OBS: ambas as redes estão navegando na internet com seus respectivos
> > > gateway.
> > >
> > > Obrigado antecipado.
> > >
> > >
> > > Falow
> > >
> > -- 
> > Feng Sian <redbrick1 at terra dot com dot br>
> > Linux user #160781
> >
> >
> > -- 
> > To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
-- 
Feng Sian <redbrick1 at terra dot com dot br>
Linux user #160781



Reply to: