[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running seperate eth0 & ppp0 networks

On Wed, Dec 16, 1998 at 01:19:41PM -0800, Ian Eure wrote:
> Ok. Let's say I have a linux box on an ethernet. It's ip is
> The router on the ethernet is Let's say I
> have a web server on, accessible from outside my local
> network. Let's further say that I set up ppp the way you described, with
> a network route to my localnet (route add -net netmask
> dev eth0) and the default set to the ppp0 interface (route
> add default gw ip.addyof.ppp.peer dev ppp0). What happens when a request
> for a web page comes in? Does the page get sent back from the ethernet
> interface, with the ip, or through the ppp0 interface
> with the dynamic address of the dialup?

Someone else suggested making ppp the default. I suggested adding a
static route so that only traffic to the isp would go over ppp0:

> > > > > >   route add -net dev ppp0

In my suggestion the default route remains eth0. The only time a web page
would be returned over ppp0 is if the web browser was on 130.2.x.x.

Lee Bradshaw                 lee@sectionIV.com (preferred)
Alantro Communications       lee@alantro.com

Reply to: