Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 1999 18:13:37 -0700
From:      Wes Peters <wes@softweyr.com>
To:        jonathan michaels <jon@caamora.com.au>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: ethernet segment spliting
Message-ID:  <36D200C1.DEB5473@softweyr.com>
References:  <002c01be5ec5$0a5455e0$9e2594d1@ws2600>

next in thread | previous in thread | raw e-mail | index | archive | help
jonathan michaels asked:
>
> i've been reading in teh craig hunt book (tcp/ip network administration)
> that teh best way to 'glue' together a network spread geographically is 
> to employ several 'bridges'. i am setting up a small community netowrk 
> based on one class c addr range and need to incorporate several sites 
> that can only be reached by pots dialup circuits.
>
> after preening teh faq and the handbook .. most of which i fonf difficult
> to read at teh best of times, i've concluded that i need to setup several
> bridges, but that is as far as it goes. i am not sure how to do this or 
> how to set up teh routing. is their any place i could be able to read up 
> on this ethernet segment spliting technique.
>
> any suggestions or book pointers will ne muchly apreciated.

I'm not sure you'll find a book that will be all that helpful.

The bridges Mr. Hunt writes about are generally used with leased telecom
lines, not with the dial-up lines you want to use.  What you need is a
dial-up router for your remote networks.  Fortunately, the user-mode
PPP in FreeBSD is really quite good at this.

To avoid using up all your network addresses, I recommend using network
address translation at the remote sites.  This way, each remote site
will require only a single address from your class C allotment.  Configure
a FreeBSD dial-up router at your site, configured similar to the one I
wrote about in "A Remote Chance" in the January 1999 issue of Daemon 
News: http://www.daemonnews.org/199901/freeras.html .  You can start out
by providing only a single dial-in line and expand the service as needed.
Once you've setup the first, additional lines are much simpler.

On the remote end, you will want to configure a FreeBSD dial-up router
for the site.  The demand-dial entry in the sample user-mode PPP configs
should be ample to get you started.  You will want to read the PPP docs
to determine how to use network address translation mode.  Each of the
remote sites can use whatever address they want on their local network,
since these addresses will never be exposed to the internet.  You should
pick one of the recommended private network addresses, such as 10.0 or
192.168.xxx.0.

Depending on the client base, you may also wish to configure a mail 
server, an NNTP proxy, and/or a forwarding domain server on this 
gateway machine as well.

This configuration will allow any (small) number of users at each of the
remote sites to access the internet via your connection with a minimum
of configuration on the client workstations.  You'll be concentrating
all (or at least most) of the configuration on your router, and on the
gateway machine at each of the remote sites.

Write if you need any specific help.  Sorry it took me so long to reply,
I've been buried (again) lately.  ;^)

-- 
             Where am I, and what am I doing in this handbasket?

Wes Peters                                                     +1.801.915.2061
Softweyr LLC                                                  wes@softweyr.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D200C1.DEB5473>