Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 07:24:25 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        webmaster@wmptl.com (Nathan Vidican)
Cc:        questions@freebsd.org
Subject:   Re: routing static IP's through PPPOE
Message-ID:  <f99o6t0je8i9rmcgsiffm5ev5p2vt9ra65@4ax.com>
In-Reply-To: <SEN.979663065.191697929@news.sentex.net>
References:  <SEN.979663065.191697929@news.sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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