Re: Running seperate eth0 & ppp0 networks
On Wed, Dec 16, 1998 at 03:29:04AM -0600, John C. Ellingboe wrote:
> Lee Bradshaw wrote:
> >
> > On Mon, Dec 14, 1998 at 03:29:49PM +0000, Ian Stuart wrote:
> > >
> > > what I wish to do is set up my PPP connection so that (when it is up) all
> > > requests for the ISPs network is routed via ppp0, whilst all other traffic
> > > is routed via eth0
> > >
> > > (Assume that my academic lan is the class B 129.1 and my ISP is the class
> > > B 130.2)
> >
> > Try something like:
> >
> > route add -net 130.2.0.0 dev ppp0
> >
>
> This will limit your access to just the 130.2.0.0 network over ppp.
That's what he wanted -- isp network over ppp0, everything else over eth0.
I suspect your ppp0/eth0 setup is more common, but it's now what he needed.
> Do
>
> route add -net [your local net address] dev eth0
>
> and use the "default route" option for ppp to get to everything on the
> internet. I ran this way for some time and it worked fine for access
> to either route.
>
> John C. Ellingboe
--
Lee Bradshaw lee@sectionIV.com (preferred)
Alantro Communications lee@alantro.com
Reply to: