From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 07:30:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4362216A41F for ; Fri, 23 Dec 2005 07:30:30 +0000 (GMT) (envelope-from winelfredpasamba@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64C9A43D4C for ; Fri, 23 Dec 2005 07:30:29 +0000 (GMT) (envelope-from winelfredpasamba@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so399950wxc for ; Thu, 22 Dec 2005 23:30:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Bvqc1w4OU/KWmtaNuJRtUjYgzdWZi3F//964eoV22UECO+ONJnppeb68QPsbaOEmifxCnvmIf2QPYtD1nME1WqfFKvbnjZrAkFKp3vaFt5U4Odtv7lSgsEAM2sSOoWfEny4sfgSf3vnGx11dBL0K/7MJIPxn66Yeu16qTfvKCXM= Received: by 10.70.94.5 with SMTP id r5mr2966453wxb; Thu, 22 Dec 2005 23:30:28 -0800 (PST) Received: by 10.70.113.6 with HTTP; Thu, 22 Dec 2005 23:30:28 -0800 (PST) Message-ID: Date: Fri, 23 Dec 2005 15:30:28 +0800 From: "Winelfred G. Pasamba" To: Ted Mittelstaedt In-Reply-To: MIME-Version: 1.0 References: <4lkejh$1brrfs@iinet-mail.icp-qv1-irony7.iinet.net.au> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: pretenda@wrgn.net, freebsd-questions@freebsd.org Subject: Re: FreeBSD router two DSL connections X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2005 07:30:30 -0000 I wonder if these routers are using freebsd http://www.edimax.com/html/english/products/list-router.htm 2 WAN, 4 WAN, etc... and i also wonder what happens if one WAN goes down? or if the WANs are of different speeds? On 12/23/05, Ted Mittelstaedt wrote: > > > > >-----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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Seek ye first the kingdom of God and all these things shall be added unto you. Winelfred G. Pasamba Adventist University of the Philippines Computer Science Department, AUP Online Information System