Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2005 11:35:40 -0800
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        <pretenda@wrgn.net>, <freebsd-questions@freebsd.org>
Subject:   RE: FreeBSD router two DSL connections
Message-ID:  <LOBBIFDAGNMAMLGJJCKNCEBKFDAA.tedm@toybox.placo.com>
In-Reply-To: <4lkejh$1brrfs@iinet-mail.icp-qv1-irony7.iinet.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help


>-----Original Message-----
>From: owner-freebsd-questions@freebsd.org
>[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of
>pretenda@wrgn.net
>Sent: Thursday, December 22, 2005 3:09 AM
>To: freebsd-questions@freebsd.org
>Subject: RE: FreeBSD router two DSL connections
>
>
>> Which is not redundant.
>
>
>
>> Considering the OP asked for specifics on how to do this and your
>
>> response as been a bunch of theoretical gobbdleygook that is flat out
>
>> wrong network theory, you haven't done anything to help the
>poor bastard.
>
>
>
>Hi,
>
>
>
>This is a pretty firey debate.
>
>
>
>I have a question along the lines of this thread. I currently
>have a 1.5Mbit
>ADSL tail at the school that I work for. This tail connects to
>the Education
>Office which hosts a variety of websites, we then get internet access
>through the education office.
>
>
>
>We currently also have 230 PCs, and the connection is slowing down
>significantly. What I planned on doing was purchasing a 20Mbit ADSL 2+
>connection and setting up a FreeBSD router which forwards all internet
>traffic through the ADSL2+ connection, and the Education Office traffic
>would be forwarded through the existing connection. Is this feasible?

The easiest way would be to purchase a DSL modem/router for use
with the ADSL2 connection (or a ADSL2 modem coupled to a
etherent-to-ethernet
DSL router)  Set this up as a network address translator, plug it
into your school network. (you can use FreeBSD for this if you want)  You
will need
to do a bit of exploring to find out the subnets that the ED office is
using.

For example, suppose ED office has assigned IP subnet 10.0.10.0/24
to your school.  Their existing DSL tail has an IP number of 10.0.10.1
on it.  You have your PC's seup to use IP addresses 10.0.10.10 -
10.0.10.240
with a subnet mask of 255.255.255.0 and a gateway of 10.0.10.1

You do some queries with nslookup to find out all the IP adresses of the
Ed servers, and you find they are on subnets 10.0.12.x,   10.0.15.x,
192.168.4.x, etc.

So, first thing you do is you setup your BSD system/DSL router/DSl modem
as a translator, and set it's internal interface IP address to 10.0.10.2

Then you add in a bunch of static routes into it for the ED subnets you
discovered, pointing those subnets to 10.0.10.1

Last you set your PC's to use 10.0.10.2 as their default gateway.

When the PC's send traffic to the Internet the router sends that out the
ADSL2 line

When the PC's send traffic to ED, the router issues an ICMP redirect that
installs an ICMP route in the PC's that points to 10.0.10.1 for that
host.

Ted




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