*BSD News Article 41241


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!news.alpha.net!news.mathworks.com!udel!gatech!swrinde!pipex!uunet!psinntp!uprc.com!cygnus!z056716
From: z056716@uprc.com (LaCoursiere J. D. (Jeff))
Newsgroups: comp.os.386bsd.questions
Subject: Re: Point to Point over Ethernet?
Date: 20 Jan 1995 17:08:33 GMT
Organization: Union Pacific Resources Corp.
Lines: 37
Distribution: world
Message-ID: <3foqmh$gc1@clavin.uprc.com>
References: <3fcl4l$93e@sundog.tiac.net>
Reply-To: z056716@uprc.com
NNTP-Posting-Host: cygnus.uprc.com

>You should be able to configure the routing on the BSD machine to forward
>packets from the non-Internet machine without using PPP.  You'll also need
>to set up proxy ARP on the BSD machine to enable "sharing the same IP address."
>The medium (Ethernet or serial) shouldn't matter.
>

You could also use SOCKS (commonly used on firewall systems) to proxy connections
from internal machines.  You then give your internal machines addresses from RFC1597
(addresses that will never be assigned to real Internet connected domains).  The
ISP sees only packets with a source of your gateway, and you don't have to pay
them extra for routing a LAN... (course if they found out they might get pissed :->)

As far as sharing IP addresses, each connected PPP host must have its own
address for routing, but the local side of each link can be the same as your
ethernet link.  For example, I have a machine at my house connected to my
provider via SLIP, so the sl0 address is a Real Internet Address from one of
his class C's.  I also have an ethernet LAN, and I give ed0 an address from
RFC 1597.  All the ethernet connected machines at my house get their own
address from this RFC.  I also have several dial-up lines.  When the dialers
log in, I start pppd and give them an address from 1597 based on the line they
dialed in on, and the local side I give as the ed0 address.

The caveat to doing this is that each RFC1597 addressed machine needs a proxy
based client or stack (I use SOCKS on the server and Peter Tattum's Socksified Winsock
on connected Windoze PC's), which may not be easy to come by or install.  But
it works and I have a connected net with dialup access all for one true routed
inet address...

 

        ______/   Jeff LaCoursiere                   FastLane Communications
       /          Network security/services          mail info@fastlane.net
      ___/        lacoursj@fastlane.net
     /
  __/  ASTLANE  Communications!  Connecting America to the Internet...