From owner-freebsd-questions Tue Sep 19 18:37:29 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cwalk.org (cx521708-b.pv1.ca.home.com [24.177.2.144]) by hub.freebsd.org (Postfix) with ESMTP id 80FB237B422 for ; Tue, 19 Sep 2000 18:37:26 -0700 (PDT) Received: from butthead (butthead.walker [192.168.1.10]) by cwalk.org (8.9.3/8.9.3) with SMTP id SAA38813; Tue, 19 Sep 2000 18:40:00 -0700 (PDT) (envelope-from cwalker@cwalk.org) Message-ID: <002501c022a3$173d4980$0a01a8c0@walker> From: "Caleb Walker" To: "Chris Hill" , "Danny Byers" Cc: References: Subject: Re: ADSL, FreeBSD gateway, slow web browsing Date: Tue, 19 Sep 2000 18:35:42 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am sorry for this poorly formatted email I am working from another machine in my network. As a side point does anyone know how to make this cheezy outlook express wrap lines at 72 or something?? I am pressing cr after every line here... anyway enough of that crap and on to your question... For a 192.168.X.X address you would use a 255.255.255.0 subnet mask to keep with the class C address. You can use 255.255.0.0 for this small network I am sure, but really you should use a class C subnet mask. For your little network dont even touch your hosts file. Windows machines need no hosts names to talk to each other they use NetBIOS names that are all braodcast through netBIOS or TCP/IP better known as NBT. If you want to go even further you could implement LMHOSTS or a WINS for NetBIOS name resolution but that is highly not needed. As far as our Internet problem I am not sure there is not really enough info for me to come to a conclusion but you should try all of the different tools for tcp/ip like ping and tracert(tracert is only on WINNT you could also get third party traceroute programs like visual route or something or you could use traceroute from BSD) Your IP addressing looks good as far as I can tell from here. ----- Original Message ----- From: "Chris Hill" To: "Danny Byers" Cc: Sent: Tuesday, September 19, 2000 5:51 PM Subject: Re: ADSL, FreeBSD gateway, slow web browsing > 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? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message