Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 2000 17:53:35 -0500
From:      "Daniel Schrock" <dschrock@enteract.com>
To:        <freebsd-questions@freebsd.org>
Subject:   my network is too slow...help!
Message-ID:  <OIEPJEIHDNKABGJHNJBDKEIOCAAA.dschrock@enteract.com>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP 100baseTX <hw-loopback>
dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 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




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