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

RE: Problema de enrutamiento o de forward?



> >> podrias mostrar lo que sale cuando colocas:
> >> route -n
> >> y lo que tenes en /etc/resolv.conf
> > 
> > Por supuesto, abajo lo pongo:
> > 
> > knipping:~# route -n
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags 
> Metric Ref    Use
> > Iface
> > 192.168.5.191   0.0.0.0         255.255.255.255 UH    0     
>  0        0 eth2
> > 192.168.5.0     0.0.0.0         255.255.255.0   U     0     
>  0        0 eth2
> > 172.16.2.0      192.168.1.250   255.255.255.0   UG    0     
>  0        0 eth0
> > 192.168.1.0     0.0.0.0         255.255.255.0   U     0     
>  0        0 eth0
> > 192.168.10.0    192.168.1.67    255.255.255.0   UG    0     
>  0        0 eth0
> > 192.168.223.0   192.168.1.82    255.255.255.0   UG    0     
>  0        0 eth0
> > 192.9.0.0       192.168.1.250   255.255.0.0     UG    0     
>  0        0 eth0
> > 0.0.0.0         192.168.5.191   0.0.0.0         UG    0     
>  0        0 eth2
> > 
> > 
> > y ahora el resolv.conf:
> > 
> > knipping:~# cat /etc/resolv.conf
> > search dominio.kesa             
> > nameserver 192.168.1.82         
> > nameserver 127.0.0.1            
> > 
> > El problema lo tengo con firewall y sin el.
> > 
> > Saludos y gracias de antemano
> > 
> > 
> 
> veo que usas eth0 y eth2 para hacer el gateway, no comprendo 
> por que te sale la linea . . .
> 192.168.5.191   0.0.0.0         255.255.255.255 UH    0      
> 0        0 eth2
> 
> esa es la direccion de la eth2 ? . . . mostrame la configuracion del 
> /et	c/network/interfaces

Esta linea sobra, esta en la configuracion del otro gateway y la copie
directamente. Te paso el interfaces "limpiado" (sigue haciendo lo mismo):

allow-hotplug eth0
iface eth0 inet static
address 192.168.1.82
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.1.82
dns-search dominio.kesa
up route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.1.67
up route add -net 172.16.2.0 netmask 255.255.255.0 gw 192.168.1.250
up route add -net 192.9.0.0 netmask 255.255.0.0 gw 192.168.1.250
up route add -net 192.168.223.0 netmask 255.255.255.0 gw 192.168.1.82

iface eth2 inet static
        address 192.168.5.192
        netmask 255.255.255.0
        network 192.168.5.0
        broadcast 192.168.5.255
        gateway 192.168.5.191
        # dns-* options are implemented by the resolvconf package, if
installed

> 
> estas usando filtros hace iptables -L para ver . . .

Aqui lo tengo todo en ACCEPT...

Ahora tengo los dos PCs conectados al router usando un switch, el viejo
funciona como siempre y el nuevo hace lo que estoy describiendo.


Saludos
> 



Reply to: