Probleme reseau Gigabit mandriva

Probleme reseau Gigabit mandriva - réseaux et sécurité - Linux et OS Alternatifs

Marsh Posté le 12-09-2005 à 23:45:13    

Bonjour,
 
J'au un pc sous mandriva avec une carte reseau gigabit dlink 530t (sk98lin).
 
Un ordi sous windows avec une carte reseau gigabit intégrée à la carte mere.
 
Un switch gigabit dlinl.
 
En FTP les transferts sont :
 
linux => XP : entre 3 Mo et 8 Mo/s
 
XP => linux : 30 Mo/s
 
 
J'ai essayé les parametres ethtool mais ca change pas grand chose !
 
Quelqu'un a une idée ?
 
J'ai regardé la : http://forum.hardware.fr/hardwaref [...] 5443-1.htm
 
mais rien


Message édité par ryo le 12-09-2005 à 23:50:46
Reply

Marsh Posté le 12-09-2005 à 23:45:13   

Reply

Marsh Posté le 12-09-2005 à 23:56:28    

tu peux donner le résultat d'un ifconfig -a


---------------
« Ce qui ne vous tue pas vous rend plus fort » F. Nietzsche | « Vise_ la Lune. Si tu rates, au pire, t'es dans la merde » Un poète disparu dans le cercle
Reply

Marsh Posté le 12-09-2005 à 23:59:52    

Zzozo a écrit :

tu peux donner le résultat d'un ifconfig -a


Code :
  1. eth1      Lien encap:Ethernet  HWaddr 00:11:95:C9:E9:1F
  2.           inet adr:192.168.2.1  Bcast:192.168.2.255  Masque:255.255.255.0
  3.           adr inet6: fe80::211:95ff:fec9:e91f/64 Scope:Lien
  4.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  5.           RX packets:4552191 errors:0 dropped:0 overruns:0 frame:0
  6.           TX packets:4902499 errors:0 dropped:0 overruns:0 carrier:0
  7.           collisions:0 lg file transmission:1000
  8.           RX bytes:318628159 (303.8 Mb)  TX bytes:3044115286 (2903.0 Mb)
  9.           Interruption:5 Mémoire:fc020000-0


Message édité par ryo le 13-09-2005 à 00:01:09
Reply

Marsh Posté le 13-09-2005 à 00:23:34    

c'est quoi les configs des 2 machines  (plus spécialement des DD) ?


---------------
« Ce qui ne vous tue pas vous rend plus fort » F. Nietzsche | « Vise_ la Lune. Si tu rates, au pire, t'es dans la merde » Un poète disparu dans le cercle
Reply

Marsh Posté le 13-09-2005 à 08:48:40    

Zzozo a écrit :

c'est quoi les configs des 2 machines  (plus spécialement des DD) ?


 
 
linux :  
 
DD seagate 160 Go IDE,p4C 3Ghz, 1 Go RAM
 

Code :
  1. hdparm -Tt /dev/hda
  2. /dev/hda:
  3. Timing cached reads:   3404 MB in  2.00 seconds = 1700.56 MB/sec
  4. Timing buffered disk reads:  154 MB in  3.03 seconds =  50.90 MB/sec


 
 
 
 
Windows :  
DD SCSI 36 Go 15k, p4 3e, 1 Go RAM


Message édité par ryo le 13-09-2005 à 08:53:05
Reply

Marsh Posté le 13-09-2005 à 13:25:34    

le pb vient de la résolution de noms Linux -> windows.
 
 
Donne le résultat des commandes suivantes :


cat /etc/resolv.conf
cat /etc/hosts
hostname
ping NOM_ORDI_XP
ping IP_ORDI_XP
ping NOM_ORDI_LINUX
ping IP_ORDI_LINUX
iptables -L


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
Reply

Marsh Posté le 13-09-2005 à 19:13:28    

Dark_Schneider a écrit :

le pb vient de la résolution de noms Linux -> windows.
 
 
Donne le résultat des commandes suivantes :


cat /etc/resolv.conf
cat /etc/hosts
hostname
ping NOM_ORDI_XP
ping IP_ORDI_XP
ping NOM_ORDI_LINUX
ping IP_ORDI_LINUX
iptables -L



 
cat /etc/resolv.conf


nameserver 212.27.54.252
nameserver 212.27.39.134


 
cat /etc/hosts

127.0.0.1               shuttle localhost


 
hostname

shuttle


 
ping NOM_ORDI_XP à partir de Linux
 

ping : Unknown host XP


 
ping IP_ORDI_XP à partir de Linux
 

ping 192.168.2.252
PING 192.168.2.252 (192.168.2.252) 56(84) bytes of data.
64 bytes from 192.168.2.252: icmp_seq=1 ttl=128 time=0.214 ms
64 bytes from 192.168.2.252: icmp_seq=2 ttl=128 time=0.241 ms
64 bytes from 192.168.2.252: icmp_seq=3 ttl=128 time=0.211 ms
 
--- 192.168.2.252 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.211/0.222/0.241/0.013 ms


 
ping NOM_ORDI_LINUX à partir de XP
 
 

La requˆte Ping n'a pas pu trouver l'hote shuttle. Vérifiez le nom et essayez … nouveau.


 
ping IP_ORDI_LINUX à partir de XP
 


Envoi d'une requˆte 'ping' sur 192.168.2.1 avec 32 octets de donnees:
 
Reponse de 192.168.2.1ÿ: octets=32 temps<1ms TTL=64
Reponse de 192.168.2.1ÿ: octets=32 temps<1ms TTL=64
Reponse de 192.168.2.1ÿ: octets=32 temps<1ms TTL=64
R‚ponse de 192.168.2.1ÿ: octets=32 temps<1ms TTL=64
Statistiques Ping pour 192.168.2.1:
 
Paquets: envoyes = 4, recus = 4, perdus = 0 (perte 0%),
 
Duree approximative des boucles en millisecondes :
 
    Minimum = 0ms, Maximum = 0ms, Moyenne = 0ms


 
iptables -L
 


Chain AllowICMPs (2 references)
target     prot opt source               destination          
ACCEPT     icmp --  anywhere             anywhere            icmp fragmentation-needed  
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded  
 
Chain Drop (1 references)
target     prot opt source               destination          
RejectAuth  all  --  anywhere             anywhere            
dropBcast  all  --  anywhere             anywhere            
AllowICMPs  icmp --  anywhere             anywhere            
dropInvalid  all  --  anywhere             anywhere            
DropSMB    all  --  anywhere             anywhere            
DropUPnP   all  --  anywhere             anywhere            
dropNotSyn  tcp  --  anywhere             anywhere            
DropDNSrep  all  --  anywhere             anywhere            
 
Chain DropDNSrep (2 references)
target     prot opt source               destination          
DROP       udp  --  anywhere             anywhere            udp spt:domain  
 
Chain DropSMB (1 references)
target     prot opt source               destination          
DROP       udp  --  anywhere             anywhere            udp dpt:135  
DROP       udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn  
DROP       udp  --  anywhere             anywhere            udp dpt:microsoft-ds  
DROP       tcp  --  anywhere             anywhere            tcp dpt:135  
DROP       tcp  --  anywhere             anywhere            tcp dpt:netbios-ssn  
DROP       tcp  --  anywhere             anywhere            tcp dpt:microsoft-ds  
 
Chain DropUPnP (2 references)
target     prot opt source               destination          
DROP       udp  --  anywhere             anywhere            udp dpt:1900  
 
Chain INPUT (policy DROP)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            
eth0_in    all  --  anywhere             anywhere            
eth1_in    all  --  anywhere             anywhere            
eth2_in    all  --  anywhere             anywhere            
Reject     all  --  anywhere             anywhere            
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:INPUT:REJECT:'  
reject     all  --  anywhere             anywhere            
 
Chain FORWARD (policy DROP)
target     prot opt source               destination          
eth0_fwd   all  --  anywhere             anywhere            
eth1_fwd   all  --  anywhere             anywhere            
eth2_fwd   all  --  anywhere             anywhere            
Reject     all  --  anywhere             anywhere            
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:FORWARD:REJECT:'  
reject     all  --  anywhere             anywhere            
 
Chain OUTPUT (policy DROP)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            
fw2net     all  --  anywhere             anywhere            
fw2loc     all  --  anywhere             anywhere            
fw2loc     all  --  anywhere             anywhere            
Reject     all  --  anywhere             anywhere            
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:OUTPUT:REJECT:'  
reject     all  --  anywhere             anywhere            
 
Chain Reject (4 references)
target     prot opt source               destination          
RejectAuth  all  --  anywhere             anywhere            
dropBcast  all  --  anywhere             anywhere            
AllowICMPs  icmp --  anywhere             anywhere            
dropInvalid  all  --  anywhere             anywhere            
RejectSMB  all  --  anywhere             anywhere            
DropUPnP   all  --  anywhere             anywhere            
dropNotSyn  tcp  --  anywhere             anywhere            
DropDNSrep  all  --  anywhere             anywhere            
 
Chain RejectAuth (2 references)
target     prot opt source               destination          
reject     tcp  --  anywhere             anywhere            tcp dpt:auth  
 
Chain RejectSMB (1 references)
target     prot opt source               destination          
reject     udp  --  anywhere             anywhere            udp dpt:135  
reject     udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn  
reject     udp  --  anywhere             anywhere            udp dpt:microsoft-ds  
reject     tcp  --  anywhere             anywhere            tcp dpt:135  
reject     tcp  --  anywhere             anywhere            tcp dpt:netbios-ssn  
reject     tcp  --  anywhere             anywhere            tcp dpt:microsoft-ds  
 
Chain all2all (0 references)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED  
Reject     all  --  anywhere             anywhere            
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:all2all:REJECT:'  
reject     all  --  anywhere             anywhere            
 
Chain dropBcast (2 references)
target     prot opt source               destination          
DROP       all  --  anywhere             anywhere            PKTTYPE = broadcast  
DROP       all  --  anywhere             anywhere            PKTTYPE = multicast  
 
Chain dropInvalid (2 references)
target     prot opt source               destination          
DROP       all  --  anywhere             anywhere            state INVALID  
 
Chain dropNotSyn (2 references)
target     prot opt source               destination          
DROP       tcp  --  anywhere             anywhere            tcp flags:!FIN,SYN,RST,ACK/SYN  
 
Chain dynamic (6 references)
target     prot opt source               destination          
 
Chain eth0_fwd (1 references)
target     prot opt source               destination          
dynamic    all  --  anywhere             anywhere            state INVALID,NEW  
net2all    all  --  anywhere             anywhere            
net2all    all  --  anywhere             anywhere            
 
Chain eth0_in (1 references)
target     prot opt source               destination          
dynamic    all  --  anywhere             anywhere            state INVALID,NEW  
net2fw     all  --  anywhere             anywhere            
 
Chain eth1_fwd (1 references)
target     prot opt source               destination          
dynamic    all  --  anywhere             anywhere            state INVALID,NEW  
loc2net    all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
 
Chain eth1_in (1 references)
target     prot opt source               destination          
dynamic    all  --  anywhere             anywhere            state INVALID,NEW  
loc2fw     all  --  anywhere             anywhere            
 
Chain eth2_fwd (1 references)
target     prot opt source               destination          
dynamic    all  --  anywhere             anywhere            state INVALID,NEW  
loc2net    all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            
 
Chain eth2_in (1 references)
target     prot opt source               destination          
dynamic    all  --  anywhere             anywhere            state INVALID,NEW  
loc2fw     all  --  anywhere             anywhere            
 
Chain fw2loc (2 references)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED  
ACCEPT     all  --  anywhere             anywhere            
 
Chain fw2net (1 references)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED  
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:http  
ACCEPT     all  --  anywhere             anywhere            
 
Chain loc2fw (2 references)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED  
ACCEPT     udp  --  anywhere             anywhere            multiport dports 5901,5900,3333,radius,datametrics  
ACCEPT     tcp  --  anywhere             anywhere            multiport dports ssh,krb524  
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:squid  
ACCEPT     all  --  anywhere             anywhere            
 
Chain loc2net (2 references)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED  
ACCEPT     all  --  anywhere             anywhere            
 
Chain net2all (3 references)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED  
Drop       all  --  anywhere             anywhere            
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:net2all:DROP:'  
DROP       all  --  anywhere             anywhere            
 
Chain net2fw (1 references)
target     prot opt source               destination          
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED  
ACCEPT     udp  --  anywhere             anywhere            multiport dports 5901,5900,3333,radius,datametrics  
ACCEPT     tcp  --  anywhere             anywhere            multiport dports ssh,krb524  
net2all    all  --  anywhere             anywhere            
 
Chain reject (11 references)
target     prot opt source               destination          
DROP       all  --  anywhere             anywhere            PKTTYPE = broadcast  
DROP       all  --  anywhere             anywhere            PKTTYPE = multicast  
DROP       all  --  192.168.1.255        anywhere            
DROP       all  --  192.168.2.255        anywhere            
DROP       all  --  255.255.255.255      anywhere            
DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere            
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset  
REJECT     udp  --  anywhere             anywhere            reject-with icmp-port-unreachable  
REJECT     icmp --  anywhere             anywhere            reject-with icmp-host-unreachable  
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited  
 
Chain shorewall (0 references)
target     prot opt source               destination          
 
Chain smurfs (0 references)
target     prot opt source               destination          
LOG        all  --  192.168.1.255        anywhere            LOG level info prefix `Shorewall:smurfs:DROP:'  
DROP       all  --  192.168.1.255        anywhere            
LOG        all  --  192.168.2.255        anywhere            LOG level info prefix `Shorewall:smurfs:DROP:'  
DROP       all  --  192.168.2.255        anywhere            
LOG        all  --  255.255.255.255      anywhere            LOG level info prefix `Shorewall:smurfs:DROP:'  
DROP       all  --  255.255.255.255      anywhere            
LOG        all  --  BASE-ADDRESS.MCAST.NET/4  anywhere            LOG level info prefix `Shorewall:smurfs:DROP:'  
DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere      
 
 
 
 
 


 

Reply

Marsh Posté le 13-09-2005 à 19:34:36    

les 2 pings montrent que les ordis ne peuvent pas se connecter entre eux en utilisant le nom d'hote.
 
XP ne fais pas la recherche de nom inverse ( IP -> nom d'hôte ), tandis que Linux ( ou tout au moins profTPd ) le fait.
 
Pour régler le pb du côté de Linux, ajoute la ligne suivante dans /etc/hosts
 


192.168.2.252 xp


 
Bien sûr je suppose que l'ordi ayant l'IP 192.168.2.252 est ton ordi sous Xp et que l'ordi sous XP s'apelle xp
 
A toi d'adapter.
 
Sous XP tu peux faire la même chose ( mais cette fois en avec L'IP du linux et comme nom d'hôte shuttle ) en modifiant le fichier c:\windows\system\drivers\etc\hosts


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
Reply

Marsh Posté le 13-09-2005 à 19:37:31    

au fais tu utilises koi comme serveur FTP ?


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
Reply

Marsh Posté le 13-09-2005 à 19:51:58    

Dark_Schneider a écrit :

les 2 pings montrent que les ordis ne peuvent pas se connecter entre eux en utilisant le nom d'hote.
 
XP ne fais pas la recherche de nom inverse ( IP -> nom d'hôte ), tandis que Linux ( ou tout au moins profTPd ) le fait.
 
Pour régler le pb du côté de Linux, ajoute la ligne suivante dans /etc/hosts
 


192.168.2.252 xp


 
Bien sûr je suppose que l'ordi ayant l'IP 192.168.2.252 est ton ordi sous Xp et que l'ordi sous XP s'apelle xp
 
A toi d'adapter.
 
Sous XP tu peux faire la même chose ( mais cette fois en avec L'IP du linux et comme nom d'hôte shuttle ) en modifiant le fichier c:\windows\system\drivers\etc\hosts


 
 
Merci Dark je viens de tester mais ca change rien  :cry:

Reply

Marsh Posté le 13-09-2005 à 19:51:58   

Reply

Marsh Posté le 13-09-2005 à 19:52:08    

Dark_Schneider a écrit :

au fais tu utilises koi comme serveur FTP ?


 
proftpd

Reply

Marsh Posté le 13-09-2005 à 20:02:30    

En utilisant filezilla, le debit des donnes semble s'interrompre et reprendre ....

Reply

Marsh Posté le 13-09-2005 à 20:30:11    

pour reprendre un autre post dans un autre topic  
 

Citation :


tu peux me donner le contenu de /etc/hosts ?
 
donne moi aussi le nom et l'IP des différents ordis impliqués dont le serveur.
 
si tu ne vexu pas voici à koi doit ressembler /etc/hosts sur ton serveur


127.0.0.1 localhost localhost.localdomain nom_du_serveur
ADDR.IP.DE.CLIENT nom_du_client


 
de plus tu peux désactiver le reverse lookup de proftp en ajoutant dans le fichier de conf


UseReverseDNS off  
IdentLookups off


 
http://www.proftpd.org/localsite/U [...] c1070.html
http://www.proftpd.org/localsite/U [...] seDNS.html
http://www.proftpd.org/localsite/U [...] okups.html


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
Reply

Marsh Posté le 13-09-2005 à 20:39:16    

Dark_Schneider a écrit :

pour reprendre un autre post dans un autre topic  
 

Citation :


tu peux me donner le contenu de /etc/hosts ?
 
donne moi aussi le nom et l'IP des différents ordis impliqués dont le serveur.
 
si tu ne vexu pas voici à koi doit ressembler /etc/hosts sur ton serveur


127.0.0.1 localhost localhost.localdomain nom_du_serveur
ADDR.IP.DE.CLIENT nom_du_client


 
de plus tu peux désactiver le reverse lookup de proftp en ajoutant dans le fichier de conf


UseReverseDNS off  
IdentLookups off


 
http://www.proftpd.org/localsite/U [...] c1070.html
http://www.proftpd.org/localsite/U [...] seDNS.html
http://www.proftpd.org/localsite/U [...] okups.html



 
 
meme avec samba c'est lent :/  

Reply

Marsh Posté le 14-09-2005 à 22:02:54    

samba c'est un autre problème, c'est NETBIOS et le fichier lmhosts qu'il faut corriger


---------------
Mandriva : parce que nous le valons bien ! http://linux-wizard.net/index.php
Reply

Marsh Posté le 15-09-2005 à 20:11:42    

Tjrs le meme probleme  transfert a 4 MO/S en gigabit  /:

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed