|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Nov 2001
Città: Torino
Messaggi: 1267
|
Problema velocità LAN
Salve, ho un problema con la rete locale:
premettendo che ho 2 computer collegati tra loro tramite uno switch che a sua volta è collegato all'HAG Fastweb (fibra). Su uno pc ho Winxp SP2, mentre sull'altro ho Debian Sarge, i due computers sono dotati di 2 schede Gbit, e anche lo switch è Gbit, e tutto viene riconosciuto alla perfezione, sia da Win sia da Debian. Ora veniamo al problema vero e proprio: nei trasferimenti ftp in locale non ho problemi se col mio pc (winxp) scarico da serverino, vado tranquillamente a 18mbps (non son 50mbps, ma va bene così, i dischi non son performanti e mi accontento), mentre invece se da winxp uppo sul server la connessione si pianta circa a 500kb/s !!! Però fortunamente non succede sempre così, infatti se provo a trasferire un file di notevoli dimensioni (da winxp al server linux) dopo aver trasferito 120-150mb scatta di colpo alla velocità normale: 18-19mbps. E poi dopo se provo a trasferire anche files più piccoli va tutto come deve. Ma inesorabilmente dopo 10-20min di inattività tutto ritorna come prima. La cosa a me ignota è il motivo per il quale la cosa si manifesta SOLO winxp->linux, perchè linux->winxp va *sempre* a banda piena. Ho sostituito il cavo di rete, senza risultato. Ho provato 2 sk pci diverse sulla macchina linux, senza risultato. Ho cambiato il pc con winxp (Athlon 4400+ 2gb ram dual channel, 2 sk gbit integrate), senza risultato. Ho cambiato lo switch con un Belkin 5 porte 1Gbit, senza risultato. Pensando poi che fosse Zonealarm l'ho disinstallato, ma niente. Ormai non so proprio più dove sbattere la testa.. ![]() Qualcuno ha qualche idea su come risolvere? Grazie per l'attenzione. |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Feb 2003
Città: Padova
Messaggi: 5905
|
come è impostata la rete? non è per caso che durante alcuni trasferimenti i file passano attraverso l'hag? ripeti le prove con i due pc collegati allo switch senza che quest'ultimo sia collegato all'hag, ovvero, isola la lan durante queste prove
se il problema persiste allora non è quello il problema, se invece scompare.. :P |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Nov 2001
Città: Torino
Messaggi: 1267
|
Ma lo switch per definizione non è isolato dall'hag?
Se ho uno switch gbit, 2 pc gbit A e B + C bloccato a 10mbit (esempio), tra A e B non dovrei andare tranquillo a 1gbit, mentre solo tra A-C o B-C dovrei andare a 10mbit? Sennò mi sarei comprato un Hub e non uno switch.. :\ Ad ogni modo provo, grazie per la dritta. |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Feb 2003
Città: Padova
Messaggi: 5905
|
la preoccupazione è che i pacchetti seguano questo percorso
pc1--> switch --> hag --> switch --> pc2 in questo percorso l'hag è il collo di bottiglia in quanto va a soli 10mbit la scelta più semplice (ma più costosa) sarebbe stata quella di acquistare un router ethernet al posto dello switch, così avresti anche sopperito al limite di pc collegabili (infatti fastweb ti dà a disposizione un lotto di 3 ip privati consecutivi se sei adsl, 5 se sei fibra) con un router che funga da nat isoli la lan (e la rendi anche più sicura dall'esterno (rete fastweb)); uno switch funge solo da "ripetirore" delle porte dell'hag e non gestisce i protocolli (infatti nel modello ISO/OSI è su un layer inferiore); anche un hub si colloca sullo stesso livello, con l'unica differenza che i segnali in entrata in un hub vengono ripetuti su tutte le porte, mentre in uno switch solo su quella effettiva del pc di destinazione, con una diminuizione del traffico rispetto all'hub e una maggiore efficenza nel caso di lan medio/grandi Comunque questo è uno dei tanti modi. Ora vediamo che esito danno le prove e troviamo una soluzione adatta alle tue esigenze Ultima modifica di Devil! : 18-12-2005 alle 21:32. |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Nov 2001
Città: Torino
Messaggi: 1267
|
Allora adesso confo la rete tramite il server linux, ci manca ancora che spendo altri soldi per un router, tanto ho 2 sk sul server. Speriam in bene
Grazie per le dritte e per il tempo ![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Feb 2003
Città: Padova
Messaggi: 5905
|
infatti, ci son mille modi, anche io ad esempio uso un server linux che funge da router e al quale si connettono gli altri pc
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Nov 2001
Città: Torino
Messaggi: 1267
|
Ora sto impazzendo con ipmasq, non ho i moduli del masqueing (se mi ricordo bene) inclusi nel kernello.. ho messo tutti i moduli richiesti che facevano riferimento al masquering sotto Networking (iptables + un altra voce, con tutte le relative sottovoci)..
prob dimentico qualcosina ![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Feb 2003
Città: Padova
Messaggi: 5905
|
la mia cfg nel kernel 2.6.12.3 (sezione network) è questa se ti può aiutare
Codice:
# # Networking support # CONFIG_NET=y # # Networking options # CONFIG_PACKET=y CONFIG_PACKET_MMAP=y CONFIG_UNIX=y # CONFIG_NET_KEY is not set CONFIG_INET=y CONFIG_IP_MULTICAST=y CONFIG_IP_ADVANCED_ROUTER=y # CONFIG_IP_MULTIPLE_TABLES is not set # CONFIG_IP_ROUTE_MULTIPATH is not set # CONFIG_IP_ROUTE_VERBOSE is not set # CONFIG_IP_PNP is not set # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_IP_MROUTE is not set # CONFIG_ARPD is not set # CONFIG_SYN_COOKIES is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_TUNNEL is not set CONFIG_IP_TCPDIAG=y # CONFIG_IP_TCPDIAG_IPV6 is not set # # IP: Virtual Server Configuration # # CONFIG_IP_VS is not set # CONFIG_IPV6 is not set CONFIG_NETFILTER=y # CONFIG_NETFILTER_DEBUG is not set # # IP: Netfilter Configuration # CONFIG_IP_NF_CONNTRACK=y # CONFIG_IP_NF_CT_ACCT is not set # CONFIG_IP_NF_CONNTRACK_MARK is not set # CONFIG_IP_NF_CT_PROTO_SCTP is not set CONFIG_IP_NF_FTP=y CONFIG_IP_NF_IRC=y # CONFIG_IP_NF_TFTP is not set # CONFIG_IP_NF_AMANDA is not set # CONFIG_IP_NF_QUEUE is not set CONFIG_IP_NF_IPTABLES=y CONFIG_IP_NF_MATCH_LIMIT=y CONFIG_IP_NF_MATCH_IPRANGE=y CONFIG_IP_NF_MATCH_MAC=y CONFIG_IP_NF_MATCH_PKTTYPE=y CONFIG_IP_NF_MATCH_MARK=y CONFIG_IP_NF_MATCH_MULTIPORT=y CONFIG_IP_NF_MATCH_TOS=y CONFIG_IP_NF_MATCH_RECENT=y CONFIG_IP_NF_MATCH_ECN=y CONFIG_IP_NF_MATCH_DSCP=y CONFIG_IP_NF_MATCH_AH_ESP=y CONFIG_IP_NF_MATCH_LENGTH=y CONFIG_IP_NF_MATCH_TTL=y CONFIG_IP_NF_MATCH_TCPMSS=y CONFIG_IP_NF_MATCH_HELPER=y CONFIG_IP_NF_MATCH_STATE=y CONFIG_IP_NF_MATCH_CONNTRACK=y CONFIG_IP_NF_MATCH_OWNER=y # CONFIG_IP_NF_MATCH_ADDRTYPE is not set # CONFIG_IP_NF_MATCH_REALM is not set # CONFIG_IP_NF_MATCH_SCTP is not set # CONFIG_IP_NF_MATCH_COMMENT is not set # CONFIG_IP_NF_MATCH_HASHLIMIT is not set CONFIG_IP_NF_FILTER=y CONFIG_IP_NF_TARGET_REJECT=y CONFIG_IP_NF_TARGET_LOG=y CONFIG_IP_NF_TARGET_ULOG=y CONFIG_IP_NF_TARGET_TCPMSS=y CONFIG_IP_NF_NAT=y CONFIG_IP_NF_NAT_NEEDED=y CONFIG_IP_NF_TARGET_MASQUERADE=y CONFIG_IP_NF_TARGET_REDIRECT=y CONFIG_IP_NF_TARGET_NETMAP=y CONFIG_IP_NF_TARGET_SAME=y # CONFIG_IP_NF_NAT_SNMP_BASIC is not set CONFIG_IP_NF_NAT_IRC=y CONFIG_IP_NF_NAT_FTP=y CONFIG_IP_NF_MANGLE=y CONFIG_IP_NF_TARGET_TOS=y CONFIG_IP_NF_TARGET_ECN=y CONFIG_IP_NF_TARGET_DSCP=y CONFIG_IP_NF_TARGET_MARK=y CONFIG_IP_NF_TARGET_CLASSIFY=y # CONFIG_IP_NF_RAW is not set CONFIG_IP_NF_ARPTABLES=y CONFIG_IP_NF_ARPFILTER=y CONFIG_IP_NF_ARP_MANGLE=y |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Nov 2001
Città: Torino
Messaggi: 1267
|
Grazie.
Provo a vedere se riesco a ricavarne qualcosa per il mio kernel: 2.4.26. ![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 03:51.