lan bandwidth issue

FreeBSD-Lis FreeBSD at Zaleo.nl
Sun Nov 9 07:56:01 PST 2003


I think we have the same issue....

Working on this problem for months now and I can't find the problem. I also 
used the FreeBSD as a NATd server for my ADSL(tun0) connection.
I have some other server demons running, but switching them off gives no 
positive effect on the upload speed (average it's 10 times slower than upload).
When I disconnect the Internet the problem isn't solved, so it's not a 
lookup loop. Problem is not solved by setting all NIC's to 10 of half duplex.

This problem accurse with NFS, Samba and FTP so it's not a configuration of 
these demons.

Please replace the Reltek card, because a realtek chip-set based NIC will 
over preform on a FreeBSD box, courses connection losses and wrong auto 
media detections.
However I have exactly the same problem using a 3Com for my LAN connection:

# ifconfig xl0
xl0: flags=8843<UP‚BROADCAST‚RUNNING‚SIMPLEX‚MULTICAST> mtu 1500
         options=3<RXCSUM‚TXCSUM>
         inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
         ether 00:04:75:98:d6:bd
         media: Ethernet 100baseTX <full-duplex>
         status: active

Have tested my HDD speed but this is good (12MB/Sec read and 9MB/Sec write, 
random).
This is genarated with tcpdump during a heavy upload (500MB), I don't have 
a clue what it means but maybe somebody can have a look at this.

# tcpdump xl0
10:38:10.760321 server.zaleo.homeunix.net.netbios-ssn > zeo.1029: . ack 
3156635 win 65535 (DF)
10:38:10.760751 zeo.1029 > server.zaleo.homeunix.net.netbios-ssn: . 
3158095:3159555(1460) ack 6883 win 63781NBT Packet (DF)

More information about my system is found on Http://info.zaleo.homeunix.net 
(PhpSysInfo)
As you can see a lot of "err" on this device only when I upload to the 
FreeBSD-Box, strangely there are no collisions on the network and I have 
tried a direct twisted pair connection.

If you need more specific information please let me know, we are really 
desperate to solve this problem.

At 21:13 4-11-2003, silent slim wrote:
>This has gotta be a software issue... it seems logically impossible for
>it to be otherwise.  I have my windows box running off a nat on my fbsd
>box, it transmits to my isp at a max of about 160k down 70k up.
>Transfering files between the two boxes can be done at a max of 1.6M down
>and 130k up. Hense its physcially impossible for it to be a hardware
>problem.  This is all quite annoying as both boxes are connected by
>http://www.startech.com/ststore/itemdetail.cfm?tab=b&ProductID=ST100S&topbar=topbara.htm
>10/100 nics and a 50' crossover cable.  Anyone have any ideas on what is
>causing this issue and how it could possibly be resolved?
>
>Here is the output from ifconfig on the bsd box:
>rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
>        inet6 fe80::250:fcff:fe71:a11b%rl0 prefixlen 64 scopeid 0x1
>        ether 00:50:fc:71:a1:1b
>        media: Ethernet 100baseTX <full-duplex>
>        status: active
>rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet6 fe80::250:bfff:fe17:63a2%rl1 prefixlen 64 scopeid 0x2
>        inet 142.59.160.131 netmask 0xfffff800 broadcast 142.59.167.255
>        ether 00:50:bf:17:63:a2
>        media: Ethernet autoselect (10baseT/UTP)
>        status: active
>lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>        inet6 ::1 prefixlen 128
>        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
>        inet 127.0.0.1 netmask 0xff000000
>ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
>sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
>faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
>
>And here is the output from ipconfig /all on the the win box:
>Windows IP Configuration
>
>        Host Name . . . . . . . . . . . . : FAMILY
>        Primary Dns Suffix  . . . . . . . :
>        Node Type . . . . . . . . . . . . : Unknown
>        IP Routing Enabled. . . . . . . . : No
>        WINS Proxy Enabled. . . . . . . . : No
>
>Ethernet adapter Local Area Connection:
>
>        Connection-specific DNS Suffix  . :
>        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI 
> Fast Ethernet NIC
>        Physical Address. . . . . . . . . : 00-50-FC-71-A1-31
>        Dhcp Enabled. . . . . . . . . . . : No
>        IP Address. . . . . . . . . . . . : 192.168.0.2
>        Subnet Mask . . . . . . . . . . . : 255.255.255.0
>        Default Gateway . . . . . . . . . : 192.168.0.1
>        DNS Servers . . . . . . . . . . . : 209.115.131.51
>                                            209.115.152.150
>                                            216.123.198.243
>                                            209.115.152.130
>
>Thanks,
>ryan
>
>_________________________________________________________________
>The new MSN 8: smart spam protection and 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

--
Zeo Smeijsters
http://www.zaleo.homeunix.net/
http://www.zaleo.nl. 




More information about the freebsd-questions mailing list