Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 20:51:23 -0400 (EDT)
From:      Chris Hill <chris@monochrome.org>
To:        Danny Byers <dan@magma.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: ADSL, FreeBSD gateway, slow web browsing
Message-ID:  <Pine.BSF.3.96.1000919203636.9162C-100000@localhost>
In-Reply-To: <200009191807.OAA27021@mail2.magma.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 19 Sep 2000, Danny Byers wrote:

> All PC's on the network have the freebsd box as gateway: 192.168.0.1 with my
> ISP's primary and secondary DNS servers listed as they should (all are Win98
> boxes). They are also all assigned their own IP (192.168.0.2-4). What should
> their Subnet Mask be?

I have a similar setup and used to use internal IPs like yours. I think
the netmask for those IPs should be 255.255.0.0. Having said that, I had
some odd things happening (can't recall just what, right now) with that
arrangement. I changed my internal IPs to 192.168.1.xxx, and set all
internal netmasks to 255.255.255.0 and things work better now.  You
might consider doing the same.
 
> The problem that I am experiencing is that web browsing/file
> downloading on the internally networked PC's is not working.
> 
> For example, I am working on a Win98 PC (connected to the hub) and I
> type in a website address (www.yahoo.com) and goes as far as saying
> "Tranferring Data" and then things just hang... no network activity or
> anything. The same thing happens when I try to download files from
> FTP...

So it's not just slow, but broken. I'm having a similar problem the last
few days; if I knew the answer I'd share it :^(

[big snip]

> Do I need to have a /etc/hosts file setup?

Only if you want them to talk to each other by name (or you could run
DNS internally). If you're willing to type IP addresses, you don't need
either.

> And I suppose it should contain the list of all internal PCs with
> their allocated IPs?

Yes. You may already have a sample /etc/hosts file; my (old) FreeBSDs
came with this. The format is dead simple: for each machine, put a line
with the IP, the hostname, and the fully qualified name of the host,
e.g. 

192.168.1.7            gueuze gueuze.mydomain.com


--
Chris Hill               chris@monochrome.org
[1]    Bus error                     netscape



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?Pine.BSF.3.96.1000919203636.9162C-100000>