[linux] Linux gateway - pomaly upload
Peter Viskup
skupko.sk na gmail.com
Sobota Červen 14 05:06:06 CEST 2008
Matus UHLAR - fantomas wrote:
> On 13.06.08 01:03, Peter Viskup wrote:
>
>> Zdravim vsetkych,
>> mam velmi zaujimavy problem s jednou gateway.
>> Vsetky stanice v sieti maju problem s rychlostou uploadu - iba cca 7B/s.
>> Download je bezproblemovy.
>>
>> Cela situacia vyzera asi takto:
>>
>> internet (2Mbit ADSL linka) ------------ ADSL router -------------
>> [Intel 82801BA/BAM/CA/CAM] gateway [3Com 3c905] -------------- LAN (20PC)
>>
>
>
> pozri sa na nastavenie duplexneho modu na linuxovej masine. Podla mojich
> skustnosti najvacsia cast problemov vznika ked jedna strana ma nastaveny
> half-duplex a druha full-duplex, respektive jedna ma negociaciu a druha nie,
> potom vznikaju kolizie.
>
>
Z vystupov ethtool aj ifconfig vyzera byt vsetko v poriadku.
Co takto HW problem - chybna sietovka alebo kabel?
first:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:97:83:8B:09
inet addr:10.0.0.254 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::260:97ff:fe83:8b09/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1414396 errors:0 dropped:0 overruns:0 frame:0
TX packets:2333852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:211105064 (201.3 MiB) TX bytes:2663714722 (2.4 GiB)
Interrupt:16 Base address:0x1040
eth1 Link encap:Ethernet HWaddr 00:C0:A8:FB:56:44
inet addr:172.16.1.1 Bcast:172.16.1.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:a8ff:fefb:5644/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2400295 errors:0 dropped:0 overruns:0 frame:0
TX packets:1754591 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2637894513 (2.4 GiB) TX bytes:233100277 (222.3 MiB)
Interrupt:17
first:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 24
Transceiver: internal
Auto-negotiation: on
Current message level: 0x00000001 (1)
Link detected: yes
first:~# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Current message level: 0x000020c1 (8385)
Link detected: yes
Peter "skupko" Viskup
jabber: skupko at jabber.sk
mail: skupko.sk at gmail.com
Další informace o konferenci linux