LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-25-2006, 02:41 PM   #1
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 30
Strange loss of bandwidth


Iam facing a strange problem...

I have a webserver which I am using as a gateway for my LAN... however another machine with the same type of network card running on windows achieves about twice (downloads at ~25kBs) the bandwidth if i plug it to the same internet connection as the server (running Mandriva and downloads at ~13kBs). The windows box, however, is not setup as a gateway... i cant think of any other difference that can cause this difference... of course, the 13kBs is when there is no internet activity from the LAN but still connected.

the ifconfig -a output is

Code:
eth0      Link encap:Ethernet  HWaddr 00:40:95:xx:xx:xx
         inet addr:86.104.xxx.xxx  Bcast:86.104.xxx.255  Mask:255.255.255.0
         inet6 addr: fe80::240:95ff:xxxx:xxxx/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:25562452 errors:0 dropped:0 overruns:0 frame:0
         TX packets:7117870 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:1320287313 (1.2 GiB)  TX bytes:1997891555 (1.8 GiB)
         Interrupt:21 Base address:0xef00

eth1      Link encap:Ethernet  HWaddr 00:01:02:xx:xx:xx
         inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
         inet6 addr: fe80::201:2ff:fed1:xxxx/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:2727447 errors:0 dropped:0 overruns:0 frame:0
         TX packets:2514793 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:816169924 (778.3 MiB)  TX bytes:1297571245 (1.2 GiB)
         Interrupt:22 Base address:0x7480

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:31136 errors:0 dropped:0 overruns:0 frame:0
         TX packets:31136 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:8579552 (8.1 MiB)  TX bytes:8579552 (8.1 MiB)

sit0      Link encap:IPv6-in-IPv4
         NOARP  MTU:1480  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
thanks in advance.

lib.
 
Old 04-26-2006, 07:37 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,463

Rep: Reputation: 46
it might be good to show the output of "netstat -rn" rather than if config.....

and your arp cache maybe.....
 
Old 05-09-2006, 12:04 AM   #3
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Original Poster
Rep: Reputation: 30
hi all!

sorry for the delay in posting... i havent had access to the box in a while... hope intrest hasnt died...

Code:
> netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
86.104.xxx.0    0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
0.0.0.0         86.104.xxx.2    0.0.0.0         UG        0 0          0 eth0
Code:
> arp -e
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.0.2              ether   00:C0:xx:xx:xx:xx   C                     eth1
86.104.xxx.235           ether   00:08:xx:xx:xx:xx   C                     eth0
86.104.xxx.yyy           ether   00:0A:xx:xx:xx:xx   C                     eth0
86.104.xxx.2             ether   00:0E:xx:xx:xx:xx   C                     eth0
86.104.xxx.2             ether   00:0E:xx:xx:xx:xx   C                     eth0
> arp -i eth0
Address                  HWtype  HWaddress           Flags Mask            Iface
86.104.xxx.235           ether   00:08:xx:xx:xx:xx   C                     eth0
86.104.xxx.2             ether   00:0E:xx:xx:xx:xx   C                     eth0
86.104.xxx.2             ether   00:0E:xx:xx:xx:xx   C                     eth0
here 86.104.xxx.yyy is an address which i have no idea as to why it appears here...

cheers

ps: one more thing the metric setting of the ethernet cards is set to 1. shouldnt it be more?... 10 maybe...

Last edited by librano; 05-09-2006 at 12:10 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
strange, strange alsa problem: sound is grainy/pixellated? fenderman11111 Linux - Software 1 11-01-2004 05:16 PM
Sound Issues with XMMS/ mpg123 strange (strange noises) thegreatbob Linux - Software 0 06-25-2004 03:18 PM
bandwidth strange fn of HD bdp Linux - Hardware 2 10-11-2002 01:45 AM
At a loss... please help antihero Linux - General 2 08-23-2001 12:49 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration