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

Re: Running seperate eth0 & ppp0 networks



Lee Bradshaw wrote:
> 
> 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.
Ah.... but, let's say that you also have file sharing or some other
service on your system, and that it is visible to the outside world
through your ethernet. Will the services still work, or will the system
send out the syn/ack packet (in reply to the syn for requesting a
connection) on the ethernet, or over the ppp?


-- 
 ______________________________________________________________
| ian eure, network admin, freelance security consultant, and  |
| manically depressed paranoid schizophrenic, at your service. |
;           <ieure@minion.org> - http://minion.org             ;
:           raw speed = 105.6 wpm with 4.5% errors             :
.  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .


Reply to: