From owner-freebsd-questions Sat May 2 07:47:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA02363 for freebsd-questions-outgoing; Sat, 2 May 1998 07:47:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA02353 for ; Sat, 2 May 1998 07:46:54 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id PAA24867; Sat, 2 May 1998 15:44:29 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199805021444.PAA24867@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: "Harry Patterson" cc: "freebsd-questions" Subject: Re: PPPD and Proxyarp In-reply-to: Your message of "Sat, 02 May 1998 07:49:54 EDT." <01bd75c0$6c5c4980$f16190cf@hp.visiotnm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 02 May 1998 15:44:29 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I know this has been discussed on the list many times, but after reviewing > over 100 articles, "The Complete FreeBSD" book and the handbook, I am > obviously missing something. > > I am using PPPD (although user ppp behaves similarly with proxy) to connect > using an ISDN modem and PAP. I can't speak for pppd. > The connection works fine and I am able to ping and communicate with the > Internet. I am trying to allow my ethernet users to see the Internet as > well. I understand "defaultroute and/or proxyarp" is required to accomplish > this. I receive the following error message after authentication: > > "Cannot determine ethernet address for proxy ARP" > > The man page for PPPD says "The proxyarp option causes pppd to look for a > network interface on the same subnet as the remote host". I assume this is > my problem as my local net is 192.168.93 and my PPP connection is > 208.236.113. I just can't figure out how to 1) tell PPPD what the route is > to the ed0 interface or 2) change whatever problem setting I have in my > local settings. Proxy arp is when your machine answers arp requests on behalf of the machine that's made the ppp connection. If it's not part of the same subnet as one of your interfaces, there will never be any arp requests for the IP, and therefore the proxy arp is not required. > Another odd problem, that may be related, is that I cannot ping my side of > the ppp connection from the FreeBSD box. I can ping the peer's address and > everything beyond it, ping the ed0 address and ping the ethernet > workstation, but not my ppp ip address. Adding routed to rc.conf "solves" > this problem, but seems an unnecessary overhead and correcting the symptom > not the problem. This is the correct solution. Ppp has a ``loopback'' option that defaults to enabled. With this option, packets destined for the local interface address are looped back. NICs do this for you, pppd does not. > I have included as much information as I thought was helpful below. > > Thanks for your help. > > Harry If you want to connect your LAN to the 'net when your LANs IPs are not recognised by the outside world, use the -alias switch to ppp. If you really want to use pppd, use natd too. If your LAN has real IPs, then the problem is a routing one, not a ppp one. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message