[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: performance problem with my home network



On Wed, Aug 29, 2001 at 07:21:23AM -0700, joehu@yahoo.com wrote:
> Dear network gurus,
>
> I have a big performance problem with my home network. I have a linux
> box (debian potato), which serves as router, directly connected
> to the provider's network via cable modem. It uses NIC eth0. NIC
> eth1 connects to a hub. A second machine, running windows ME, is
> also connected to the hub. Here's the routing table of my linux
> router(192.168.1.3):
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 192.168.1.0     192.168.1.3     255.255.255.0   UG    0      0        0 eth1
> 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
> 146.115.74.0    0.0.0.0         255.255.254.0   U     0      0        0 eth0
> 0.0.0.0         146.115.74.1    0.0.0.0         UG    0      0        0 eth0
>
> The linux box runs a script "ipmasq" to set up firewall rules, which
> is attached at the end of the message.
>
> The performance is great on the linux box. The download speed is
> 800KB/s. However, the 2nd machine (windows ME) is extremely slow.
> The download speed is about 50KB/s. The 2nd machine is configured
> as static IP 192.168.1.2 and uses the linux box as default gateway.
> Does anybody know what's wrong with it? Is it a routing problem or
> firewall/ip masquerading issue?

Your routing table looks strange. You have two entries for the
192.168.1.0 network -- one without a gateway and one with a gateway of
192.168.1.3. Try removing this gateway on the internal network to make
your routing table look like:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth1
146.115.74.0    0.0.0.0         255.255.254.0   U     0      0        0 eth0
0.0.0.0         146.115.74.1    0.0.0.0         UG    0      0        0 eth0

-- 
Lee Bradshaw                 lee@sectionIV.com
Texas Instruments            bradshaw@ti.com



Reply to: