Re: Running seperate eth0 & ppp0 networks
Lee Bradshaw wrote:
> On Mon, Dec 14, 1998 at 03:29:49PM +0000, Ian Stuart wrote:
> > I'm trying to set up my machine to use two networks:
> > I occasionally access an ISP (who requires that all non-web access is
> > done only through their modem-banks) on my workstation which is connected
> > to my academic LAN.
> > 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
> > how?
> > (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 188.8.131.52 dev ppp0
This will limit your access to just the 184.108.40.206 network over ppp.
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
> Your default route should stay on your ethernet. I think there are ip.up
> and ip.down scripts that are executed automatically by ppp. Add the
> above line to ip.up and a similar line with delete instead of add to
> Untested. I'm not using ppp.
> Lee Bradshaw lee@sectionIV.com (preferred)
> Alantro Communications firstname.lastname@example.org
> Unsubscribe? mail -s unsubscribe email@example.com < /dev/null