From owner-freebsd-questions Mon Jan 22 4:25: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 10FE237B400 for ; Mon, 22 Jan 2001 04:24:44 -0800 (PST) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.1/8.11.1) with SMTP id f0MCOPt04966; Mon, 22 Jan 2001 07:24:25 -0500 (EST) (envelope-from mike@sentex.net) From: Mike Tancsa To: webmaster@wmptl.com (Nathan Vidican) Cc: questions@freebsd.org Subject: Re: routing static IP's through PPPOE Date: Mon, 22 Jan 2001 07:24:25 -0500 Message-ID: References: In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 16 Jan 2001 11:37:45 -0500, in sentex.lists.freebsd.questions you = wrote: >I would like to use a FreeBSD machine as a dedicated router, for a small >subnet of 'real' IP's. The IP's will be assigned to us by our upstream >ISP, whom we will be connecting to using PPPOE over DSL. Our current >situation is as follows: The setup is quite simple. The ISP would give you one address for the = PPP ip and a small subnet for your ethernet devices. If your ISP uses RADIUS, myppoeuser Auth-Type =3D System User-Service-Type =3D Framed-User, Framed-Protocol =3D PPP, Framed-Address =3D 192.168.1.1, Framed-Route =3D "172.16.4.0/29 0.0.0.0 1", Framed-Routing =3D None, Framed-Compression =3D Van-Jacobsen-TCP-IP, Sub the RFC1918 space for real IPs. The above would give 192.168.1.1 to your tun0 interface. You manually assigned 172.16.4.1 to the ethernet = that your PPPoE is *not* on. Set your client machines to 172.16.4.2 and .3. Thats it. You dont need to run RIP or any other routing protocol. If you want the tun0 to be dynamic or the ISP wants it, myppoeuser Auth-Type =3D System User-Service-Type =3D Framed-User, Framed-Protocol =3D PPP, Framed-Address =3D 255.255.255.254, Framed-Route =3D "172.16.4.0/29 0.0.0.0 1", Framed-Routing =3D None, Framed-Compression =3D Van-Jacobsen-TCP-IP, should do the trick. ---Mike Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message