*BSD News Article 69719


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!inquo!bofh.dot!in-news.erinet.com!bug.rahul.net!rahul.net!a2i!ns2.mainstreet.net!news.PBI.net!decwrl!usenet.cisco.com!iverson
From: iverson@cisco.com (Tim Iverson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Local ethernet and PPP
Date: 29 May 1996 23:22:14 GMT
Organization: cisco
Lines: 38
Message-ID: <4oim76$4sb@cronkite.cisco.com>
References: <4o7eg6$739@hecate.umd.edu> <31A8EF88.3BC9@kzin.dorm.umd.edu> <4ocrmq$bko@uriah.heep.sax.de> <31AB78B3.3D98@www.play-hookey.com>
NNTP-Posting-Host: rottweiler.cisco.com

In article <31AB78B3.3D98@www.play-hookey.com>,
Ken Bigelow  <kbigelow@www.play-hookey.com> wrote:
|J Wunsch wrote:
|> Gary Jackson <garyj@kzin.dorm.umd.edu> wrote:
|> > 1.  Connect to UMCP via PPP with the FreeBSD box.
|> > 2.  Be able to use the ethernet between the two machines,
|> >     including being able to telnet to the FreeBSD machine,
|> >     and then telnet out.  NOT using the FreeBSD machine as a
|> 
|> > I've had trouble trying to get both interfaces to work at the same time.
|> > Would kernel based ppp be better at this?
|> 
|> Well, what are your problems?
|
|Hold on there! My daughter has been going to UMCP for two years. The 
|dorms are wired for direct Network connections via 10-Base-T (RJ-45) 

He may not be in the dorms.  Anyway, I've found that the way to debug a PPP
connection is to disable all the optional features, and then enable them one
at a time.  I discovered that enabling lqr and/or predictor-1 compression
with iijppp was a good way to foul a connection.

If you connect to TIA or SLiRP instead of a real router, you can do just
about anything a real connection can, and your network doesn't need to have
valid IP addresses.

I do this at home with iijppp->SLiRP.  I have an internal IP network using
one of the reserved class C addresses.  I can telnet, ftp, web-surf, etc.,
from any machine on my network.  Another advantage is that using SLiRP is
at least as effective as using a firewall.

The disadvantage is that SLiRP latency is higher that router latency on a
loaded system.  It also won't work for you if you need to provide internet
access *to* your network (it can be done, but it's not pretty).


- Tim Iverson
  iverson@lionheart.com