From owner-freebsd-questions Sun Sep 10 17: 0:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gateway.telecom.ksu.edu (gateway-1.telecom.ksu.edu [129.130.63.239]) by hub.freebsd.org (Postfix) with ESMTP id 5141A37B424 for ; Sun, 10 Sep 2000 17:00:27 -0700 (PDT) Received: from sioux.telecom.ksu.edu(129.130.60.32) by pawnee.telecom.ksu.edu via smap (V2.0) id xma029931; Sun, 10 Sep 00 19:00:11 -0500 Message-ID: <39BC20AC.EF393D1B@telecom.ksu.edu> Date: Sun, 10 Sep 2000 19:00:44 -0500 From: nathan X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: my network is too slow...help! References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've had the same problems myself.. in the past (: the solution: force all hardware possible to its speed. set your cards/switchs/etc to 10/100mpb and full/half duplex auto-negotiation basically SUCKS. when i locked everything to 100mpbs and Full-duplex on a switched 100mb lan, i saw speeds go from 56-100kbps (under auto-negotiation) to ~3,000kbps !!! also.. when i moved jobs about 5 months ago.. i noticed the same sluggish net performance on the Solaris network here. i had all the machines/switches/ etc locked down to 100mpbs and full-duplex, and saw very similar performance gains. that SHOULD get you rock 'n and roll 'n good luck! Daniel Schrock wrote: > I have a crazy problem and I'm not sure how to fix it. > I have a dual-homed FreeBSD 4.1 server with the outside interface connected > to 784SDSL (3Com bridge) and the internal interface connected to a 100Mbps > port on my Netgear 10/100 10-port switch. > The other 100Mbps port is connected to my quake3 server and the rest of my > network is connect to the 10Mbps ports. All of the ports and cards are > running at full-duplex except the outside interface. Seemingly, my network > should be fast, but I can't seem to get speeds any higher than 1Mbps, > usually half of that. > I'm using ipnat to translate the addresses for the rest of the network. > Pings and traceroutes are great, but data from workstation to workstation, > workstation to server, server to workstation, and server to server crawl > along. > -------- > here is my ipnat.conf: > > map xl0 192.168.113.0/28 -> 216.xx.xx.xx/32 # general NAT > rdr xl0 216.80.xx.xx/32 port 8080 -> 192.168.113.13 port 8080 tcp/udp # > betty web > rdr xl0 216.80.xx.xx/32 port 23666 -> 192.168.113.13 port 23666 tcp/udp # > betty- quake server-ext > rdr dc0 198.168.113.1/28 port 23666 -> 192.168.113.13 port 23666 tcp/udp # > betty- quake server-int > rdr xl0 216.xx.xx.xx/32 port 27960 -> 192.168.113.3 port 27960 tcp/udp # > valhalla- vampire > --------- > here is my ifconfig for the 2 interfaces: > > [root]>ifconfig -a > xl0: flags=8843 mtu 1500 > inet 216.xx.xx.xx netmask 0xfffffffc broadcast 216.xx.xx.xx > inet6 fe80::260:8ff:fe37:7854%xl0 prefixlen 64 scopeid 0x1 > ether 00:60:08:37:78:54 > media: autoselect (10baseT/UTP) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP 100baseTX > dc0: flags=8843 mtu 1500 > inet 192.168.113.1 netmask 0xfffffff0 broadcast 192.168.113.15 > inet6 fe80::2a0:ccff:fe55:ece9%dc0 prefixlen 64 scopeid 0x2 > ether 00:a0:cc:55:ec:e9 > media: autoselect (100baseTX ) status: active > supported media: autoselect 100baseTX 100baseTX > 10baseT/UTP 10baseT/UTP none > ----------- > and finally my rc.conf: > > hostname="gateway.anonymous-daemon.org" > linux_enable="YES" > moused_enable="YES" > natd_enable="NO" > natd_interface="xl0" > gateway_enable="YES" > ipnat -FCf /etc/ipnat.conf > ipf -Ff /etc/ipfil.conf > sysctl -w net.inet.ip.forwarding=1 > firewall_enable="NO" > firewall_type="open" > network_interfaces="xl0 dc0 lo0" > ifconfig_xl0="inet 216.xx.xx.xx netmask 255.255.255.252" > ifconfig_dc0="inet 192.168.113.1 netmask 255.255.255.240" > defaultrouter="216.xx.xx.xx" > ------------ > > does anyone see any major problems here? I am at a loss at how to fix this > and have been unable to find any network performance tuning sites specific > enough to do me much good on my limited knowledge. > Only the internal network is slow. Accessing from the outside is fine. > > Thanks in advance for your help. > > d_jab > d_jab@anonymous-daemon.org > dschrock@enteract.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message