Mauvai routage ?

Mon réseau
…192.168.2.0/24…192.168.1.0/24
…| modem |…|firewall|
WAN----------> | routeur |---------------------------->| proxy |------->LAN
…| DNS |…| DHCP |
…192.168.2.2 …eth0…eth1
…192.168.2.254…192.168.1.254

#######voila ma config réseau pour mon serveur linux

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo eth1 eth0
iface lo inet loopback
allow-hotplug eth0

The primary network interface

iface eth0 inet static
address 192.168.2.254
netmask 255.255.255.0
broadcast 192.168.2.255
network 192.168.2.0
gateway 192.168.2.2
# dns-* options are implemented by the resolvconf package, if installed

iface eth1 inet static
address 192.168.1.254
netmask 255.255.255.0
broadcast 192.168.1.255

#######et ma table de routage est

Destination Passerelle Genmask Indic Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
default 192.168.2.2 0.0.0.0 UG 0 0 0 eth0
proxy:~#

Mon problème est le suivant :

Du réseau LAN il mais impossible de pinguer plus loin que 192.168.2.254 (eth0)

Le serveur debian lui ping par tout (internet le réseau eth0 et eth1) le cote eth0 ping jusqu a 192.168.2.254(eth1)

j ai bien activer /proc/sys/net/ipv4/ip_forward=1
C est peut être mes routes qui ne son pas bonne
Pourtant mes chaînes iptables sont vide et accepte tout

proxy:~# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

ainssi que mes tables nat

proxy:~# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Quelqu’un peut m aidé svp???

personne ???

hello,

Si tu commençais par nous faire un zoli petit plan…

C’est bon j’ai trouvé mon problème je n avais pas mis de route sur mon modem routeur donc il recevait mais ping mais il ne pouvait pas me répondre car il ne connaissait pas la route pour répondre a mon réseau 192.168.1.0.
je suis trop bête une erreur de débutant ^^^^

++++++++