Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Nov 2003 16:37:23 +0100
From:      FreeBSD-Lis <FreeBSD@Zaleo.nl>
To:        freebsd-questions@freebsd.org
Cc:        Zeo@Zaleo.homeunix.net
Subject:   Re: lan bandwidth issue
Message-ID:  <6.0.0.22.2.20031109160320.0334ca90@pop3.zaleo.homeunix.net>
In-Reply-To: <Sea2-F63lVEDqUgHRkF0000a9f6@hotmail.com>
References:  <Sea2-F63lVEDqUgHRkF0000a9f6@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I think we have the same issue....

Working on this problem for months now and I can't find the problem. I also=
=20
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=20
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=20
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=
=20
these demons.

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

# ifconfig xl0
xl0: flags=3D8843<UP=82BROADCAST=82RUNNING=82SIMPLEX=82MULTICAST> mtu 1500
         options=3D3<RXCSUM=82TXCSUM>
         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,=
=20
random).
This is genarated with tcpdump during a heavy upload (500MB), I don't have=
=20
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=20
3156635 win 65535 (DF)
10:38:10.760751 zeo.1029 > server.zaleo.homeunix.net.netbios-ssn: .=20
3158095:3159555(1460) ack 6883 win 63781NBT Packet (DF)

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

If you need more specific information please let me know, we are really=20
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=3Db&ProductID=3DST100S&t=
opbar=3Dtopbara.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=3D8843<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=3D8843<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=3D8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
>lo0: flags=3D8049<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=3D8010<POINTOPOINT,MULTICAST> mtu 1500
>sl0: flags=3Dc010<POINTOPOINT,LINK2,MULTICAST> mtu 552
>faith0: flags=3D8002<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=20
> 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=3Dfeatures/junkmail
>http://join.msn.com/?page=3Ddept/bcomm&pgmarket=3Den-ca&RU=3Dhttp%3a%2f%2fj=
oin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to=
 "freebsd-questions-unsubscribe@freebsd.org"
>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20031109160320.0334ca90>