Re: Terrible Web Surfing Speed

From: Chris Carlen (crcarle_at_BOGUS.sandia.gov)
Date: 02/09/05


Date: Wed, 09 Feb 2005 12:58:09 -0800

Captain Dondo wrote:
> On Wed, 09 Feb 2005 09:41:14 -0800, Chris Carlen wrote:
>
>
>
>>No, the Windows and Linux hosts are configured with *static* IPs and DNS
>>server configurations. All hosts are on a LAN behind a Linksys router.
>> It is the router that gets dynamic IP through DHCP from the ISP. That
>>is working correctly. The LAN hosts must have static IPs because they
>>are running NFS. Perhaps there is a way to set that up with DHCP
>>running on the router. Do you know if this can be done? Without DHCP
>>on the router, I can't have dynamic DNS server setting on the LAN hosts,
>>so they are static.
>
>
> OK, wait. Are you doing NAT at the router or do you have static IPs
> assigned to you by your ISP for each machine? Or did you just assign
> random IPs to your internal hosts?

Yes. The router does NAT, the hosts inside the LAN have static IPs on
local net 192.168.X.0.

> Yes, you can have DHCP and name resolution; read the docs for dhcpd and
> bind; you're looking for DDNS.

Yeah, I did understand this can be done. I could set the router to run
its DHCP server, and set up the Linux and Windows boxes to receive
dynamic IPs, from the router of course, not the ISP.

And I understand the DNS server addresses can be passed from the router
to the LAN hosts as well. I haven't tried this, but rather chose static
IPs for the LAN hosts, because I thought this would make configuration
of NFS easier.

I will have to investigate if there is a way for Linux hosts to share
files via NFS in a dynamic IP environment. So perhaps you rsuggestions
to look into the stated docs will shed light on this question as well.

Of course, it wouldn't hurt to just try DHCP temporarily to see if it
fixes my slowness problem, and just turn off NFS for the experiment.

>>That Linux didn't change is true. Something is broke, probably the ISP,
>>or there is something funky about the way Linux talks to the internet,
>>that due to some change in configuration at the ISP, now causes problems.
>
>
> Well, perhaps your router/ISP is issuing ICMP redirects and your linux box
> ain't set up to accept them?

That's a new theory, and I'm glad to hear it. Any plausible explanation
that can be tested is good news.

> I don't know if Windows accepts redirects by default; it makes it easier
> for the user but opens up security holes.... Hmmm. Which way would
> Windows lean? :-)
>
> As root, run this command:
>
> for f in /proc/sys/net/ipv4/conf/*/accept_redirects; do echo 1 > $f; done
>
> See if that helps.

I will do that later and report the results.

Thanks.

Good day!

-- 
_______________________________________________________________________
Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
crcarle@sandia.gov -- NOTE: Remove "BOGUS" from email address to reply.


Relevant Pages

  • Re: network and router questionhelp
    ... Does your router allow multiple hosts on a given port? ... ethernet hub connected to a router with no one talking to anybody. ... the hosts to be using DHCP, so configure that client in place of the ... address on this network out of mid-air. ...
    (alt.linux)
  • Router knows it all?
    ... and all the hosts on my LAN have private addresses. ... router performs NAT so that we can all access the internet (well over ... Does anyone know a home broadband internet router typically ...
    (comp.dcom.lans.ethernet)
  • Re: Router knows it all?
    ... my router has a built-in HTTP daemon which provides a web page for configuring the router. ... When I go into "LAN statistics", it tells me what hosts are on my LAN. ... For instance, in Windows, I have a little icon in the bottom right corner; the icon is two little machines, and it represents my NIC network connection. ...
    (comp.dcom.lans.ethernet)
  • Re: Router install problem
    ... A router is an interface between two networks that otherwise couldn't ... that's the Internet (the Wide Area ... Network or WAN) and your local area network (LAN). ... and 5 buttons on the left (Wizard, Wireless, WAN, LAN, DHCP). ...
    (microsoft.public.windowsxp.network_web)
  • Re: newbie to home network dhcp worries
    ... >>> Linksys Router with the information necessary to reach the ADSL modem ... > DHCP enabled WAN port (on the LAN side of the firewall which is ... > servicing DHCP) and then the linksys providing DHCP to it's LAN side to ...
    (microsoft.public.win2000.networking)