Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 1996 18:07:39 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Tim Pushor <timp@orion.ab.ca>
Cc:        questions@FreeBSD.org
Subject:   Re: <sigh> yet another PPP question.
Message-ID:  <Pine.BSI.3.94.960913180427.224C-100000@gdi.uoregon.edu>
In-Reply-To: <Pine.NEB.3.92.960912140258.13849A-100000@rnd.orion.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Sep 1996, Tim Pushor wrote:

> I know this type of question has been asked plenty of times before, but
> searching back through the archives has lead me to believe there are many
> people out there that can't get a PPP server/router working properly.
> There are also many conflicting resolutions.

I'm trying to get such a config up so we have it documented.

> my setup:
> FreeBSD 2.1.5 Release, one Ethernet board. No routed, no gated,
> PPP,gateway,internet forwarding,proxyarp enabled. I have a hayes 28.8k
> modem running fine off this box.

> I am directly connected to the internet via cisco 1004. I have small
> subnet of 25 ip's. I want to be able to dial in remotely, access my
> network, and get out onto the internet.

Please describe this "small subnet of 25 IPs".  Are they valid Internet
addresses, or are they excluded addresses (10.x.x.x, etc.)?  

> I have kernel ppp setup and running. I can dial in and establish a
> connection. I can ping the FreeBSD box, but cannot ping outside that box..
> either to the local subnet or to the internet.
> 
> Note, I am unable to provide an IP for my dialup system that is outside
> the range of the 25 ip's that I have now. Some people say that is
> necessary, some say it isn't.....

I don't think so.  If the dialup machine has a valid IP within the LAN the
PPP server is in, packet forwarding should take care of it and an explicit
route on the server to make sure the packets to the dialup machine gets
routed down the pipe.

> I know proxyarp is running, as I can ping the *remote* machine from
> another machine on my local network, but not vise versa.

You're not running filtering, are you?

> Is there anything funky that has to be done with netmasks? I believe my
> netmask for my dialup machine is 255.255.255.0 while the netmask for my
> local subnet is 255.255.255.224?? I really don't know whats going on here,
> as using Windows NT RAS, the subnet mask on the dialup client is not the
> same as the physical subnet on which it belongs.. Geez, I am so confused.

The netmasks should ALL match.  Otherwise the broadcast addresses (among
other things) get messed up.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960913180427.224C-100000>