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

problème de lenteur sur une seule interface à en perdre son latin



Bonjour à tous,
J'ai mis en place une machine linux avec une woody , noyau 2.2.20, trois cartes ethernet

eth0 -> réseau privé
eth2 -> DMZ
eth1->vers routeur adsl

les routes:

Kernel IP routing table
Destination         Gateway                 Genmask         Flags Metric Ref    Use Iface
$IP_routeur_adsl    0.0.0.0             255.255.255.255 UH    0      0        0 ppp0
10.0.0.0                    0.0.0.0             255.255.255.0   U     0      0        0 eth1
192.168.2.0             0.0.0.0                 255.255.255.0   U     0      0        0 eth2
192.168.1.0             0.0.0.0                 255.255.255.0   U     0      0        0 eth0
0.0.0.0                     $IP_routeur_adsl  0.0.0.0         UG    0      0        0 ppp0

la machine en front fait du port  forward et du masquarading
qq règles:

ipchains -F
ipchains -i ! eth0 -A forward -s 192.168.1.0/24 -j MASQ
ipchains -i ! eth2 -A forward -s 192.168.2.0/24 -j MASQ

/usr/sbin/ipmasqadm portfw -f
/usr/sbin/ipmasqadm portfw -a -P tcp -L $IP_ADSL -R 192.168.2.3 21
/usr/sbin/ipmasqadm portfw -a -P tcp -L  $IP_ADSL 21 -R 192.168.2.2 21
/usr/sbin/ipmasqadm portfw -a -P tcp -L $IP_ADSL  2401 -R 192.168.2.2 2401
 
 

voila le fichier interface:

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255

auto eth1
iface eth1 inet static
        address 10.0.0.10
        netmask 255.255.255.0
        broadcast 10.0.0.255

auto eth2
iface eth2 inet static
        address 192.168.2.1
        netmask 255.255.255.0
        network 192.168.2.0
        broadcast 192.168.2.255

PAr ailleurs, elle fait du relaying smtp, du dns
les machines en DMZ quant à elle, font du dns, du web,cvs,ftp

Lorsque je pingue  de la machine en front vers le réseau privé les résultats sont de l'ordre de 0.1 ms/0.2ms , tout à fait normal.
Par contre, si je pingue vers ma DMZ, j'ai des résultats aléatoires  suivant les jours .
exemple du résultat d'un pingue :

PING 192.168.2.2 (192.168.2.2): 56 data bytes
64 bytes from 192.168.2.2: icmp_seq=0 ttl=255 time=5.5 ms
64 bytes from 192.168.2.2: icmp_seq=1 ttl=255 time=2.4 ms
64 bytes from 192.168.2.2: icmp_seq=2 ttl=255 time=2.4 ms
64 bytes from 192.168.2.2: icmp_seq=3 ttl=255 time=2.8 ms
64 bytes from 192.168.2.2: icmp_seq=4 ttl=255 time=9.0 ms
64 bytes from 192.168.2.2: icmp_seq=5 ttl=255 time=946.9 ms
64 bytes from 192.168.2.2: icmp_seq=6 ttl=255 time=171.2 ms
64 bytes from 192.168.2.2: icmp_seq=7 ttl=255 time=262.2 ms
64 bytes from 192.168.2.2: icmp_seq=8 ttl=255 time=317.8 ms
64 bytes from 192.168.2.2: icmp_seq=9 ttl=255 time=1305.8 ms
64 bytes from 192.168.2.2: icmp_seq=10 ttl=255 time=306.0 ms
64 bytes from 192.168.2.2: icmp_seq=11 ttl=255 time=5.5 ms
64 bytes from 192.168.2.2: icmp_seq=12 ttl=255 time=999.2 ms
64 bytes from 192.168.2.2: icmp_seq=13 ttl=255 time=14.4 ms
64 bytes from 192.168.2.2: icmp_seq=14 ttl=255 time=767.9 ms

--- 192.168.2.2 ping statistics ---
16 packets transmitted, 15 packets received, 6% packet loss
round-trip min/avg/max = 2.4/341.2/1305.8 ms

Quelqu'un aurait -il un début de réponse, ou ne serais -ce un début de piste.
 

-- 
lionel
lionel.cadet@naxos-fr.net
 
Reply to: