Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2000 00:29:45 -0400
From:      Jan Knepper <jan@smartsoft.cc>
To:        Caleb Walker <cwalker@cwalk.org>
Cc:        Chris Hill <chris@monochrome.org>, Danny Byers <dan@magma.ca>, questions@FreeBSD.ORG
Subject:   Re: ADSL, FreeBSD gateway, slow web browsing
Message-ID:  <39C83D39.266C29BF@smartsoft.cc>
References:  <Pine.BSF.3.96.1000919203636.9162C-100000@localhost> <002501c022a3$173d4980$0a01a8c0@walker> <003501c022a4$74369910$0a01a8c0@walker>

next in thread | previous in thread | raw e-mail | index | archive | help
What you need, what is more or less required I guess, for these kind of setup's
is NAT.
I have a setup running that is almost alike what has been described.
For the local network in 192.168.c.d you should use netmask 255.255.255.0 or
/24.
For the rest, I would like to refer you guys to "The Complete FreeBSD" by "Greg
Lehey". Flip to page 506 "IP aliasing" and take it from there. Don't skip any
steps, unless you're absolutely sure what you are doing.
I got it all setup and working in a couple of hours on FreeBSD 4.0, a day later
I run CVSup and upgraded to 4.1-STABLE #3 without any problems.

Don't worry, be Kneppie!
Jan



Caleb Walker wrote:

> ----- Original Message -----
> From: "Caleb Walker" <cwalker@cwalk.org>
> To: "Chris Hill" <chris@monochrome.org>; "Danny Byers" <dan@magma.ca>
> Cc: <questions@FreeBSD.ORG>
> Sent: Tuesday, September 19, 2000 6:35 PM
> Subject: Re: ADSL, FreeBSD gateway, slow web browsing
>
> > 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
>
> I meant to say NetBIOS over TCP/IP not or TCP/IP sorry...
>
> > 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" <chris@monochrome.org>
> > To: "Danny Byers" <dan@magma.ca>
> > Cc: <questions@FreeBSD.ORG>
> > 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
> >
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--
Jan Knepper
Smartsoft, LLC
88 Petersburg Road
Petersburg, NJ 08270
U.S.A.

http://www.smartsoft.cc/
http://www.mp3.com/pianoprincess

Phone : 609-628-4260
FAX   : 609-628-1267
FAX   : 303-845-6415 http://www.fax4free.com/

Phone : 020-873-3837 http://www.xoip.nl/ (Dutch)
FAX   : 020-873-3837 http://www.xoip.nl/ (Dutch)

In God we Trust -- all others must submit an X.509 certificate.
    -- Charles Forsythe <forsythe@alum.mit.edu>




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?39C83D39.266C29BF>