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 130.2.0.0 dev ppp0 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 ip.down. Untested. I'm not using ppp. -- Lee Bradshaw [EMAIL PROTECTED] (preferred) Alantro Communications [EMAIL PROTECTED]

