From owner-freebsd-questions Sat May 2 04:54:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA11160 for freebsd-questions-outgoing; Sat, 2 May 1998 04:54:12 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from flint.cyweb.com (root@cyweb.com [209.83.135.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA11149 for ; Sat, 2 May 1998 04:54:07 -0700 (PDT) (envelope-from harry@visiontm.com) Received: from hp.visiotnm.com (dial-41.r05.scbuft.InfoAve.Net [207.144.97.241]) by flint.cyweb.com (8.8.0/8.6.9) with SMTP id HAA02880 for ; Sat, 2 May 1998 07:21:47 -0500 From: "Harry Patterson" To: "freebsd-questions" Subject: PPPD and Proxyarp Date: Sat, 2 May 1998 07:49:54 -0400 Message-ID: <01bd75c0$6c5c4980$f16190cf@hp.visiotnm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 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. 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. 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. I have included as much information as I thought was helpful below. Thanks for your help. Harry #################### #################### #options file for ppd from book and handbook /dev/cuaa0 115200 crtscts #use hardware flow control modem connect "/usr/bin/chat -f /etc/ppp/dial.chat.pppd" user vision domain visiontm.com 208.236.113.253:208.236.113.6 #ip's of local and remote #bsdcomp 12,12 #request compression by peer of packets lock #tells pppd to prvent other access to serial defaultroute #set default route after connect proxyarp #allow ethernet connects to see ppp persist #stay up all the time ############################## #/etc/rc.conf #selected sections ### Basic network options: ### hostname="server.visiontm.com" # Set this! nisdomainname="NO" # Set to NIS domain if using NIS (or NO). firewall_enable="NO" # Set to YES to enable firewall functionality firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall) firewall_quiet="NO" # Set to YES to suppress rule display tcp_extensions="YES" # Allow RFC1323 & RFC1644 extensions (or NO). network_interfaces="ed0 lo0" # List of network interfaces (lo0 is loopback). ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. #ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. ifconfig_ed0="inet 192.168.93.204 netmask 255.255.255.0" ifconfig_ppp0="inet 208.236.113.253 208.236.113.6 netmask 255.255.255.255" ### Network routing options: ### defaultrouter="NO" #I've included the ed0 and ppp0 ip addresses-no diff static_routes="" # Set to static route list (or leave empty). gateway_enable="YES" # Set to YES if this host will be a gateway. router_enable="YES" # Set to YES to enable a routing daemon. router="routed" # Name of routing daemon to use if enabled. router_flags="-q" # Flags for routing daemon. mrouted_enable="NO" # Do multicast routing (see /etc/mrouted.conf). ipxgateway_enable="NO" # Set to YES to enable IPX routing. ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon. ipxrouted_flags="" # Flags for IPX routing daemon. arpproxy_all="" # obsolete kernel option ARP_PROXY_ALL equiv. ########################## # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 208.236.113.6 UGSc 0 0 ppp0 127.0.0.1 127.0.0.1 UH 0 2 lo0 192.168.93 link#1 UC 0 0 192.168.93.5 0:60:8:8c:aa:3b UHLW 2 472 ed0 1059 192.168.93.204 0:0:c0:eb:aa:95 UHLW 1 55 lo0 208.236.113 208.236.113.6 UGc 0 0 ppp0 208.236.113.6 208.236.113.253 UH 1 0 ppp0 208.236.113.253 127.0.0.1 UH 0 0 lo0 ########################### # netstat -ir Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll ed0 1500 00.00.c0.eb.aa.95 880 0 492 0 0 ed0 1500 192.168.93 server 880 0 492 0 0 lp0* 1500 0 0 0 0 0 tun0* 1500 0 0 0 0 0 tun1* 1500 0 0 0 0 0 tun2* 1500 0 0 0 0 0 ppp0 1526 87 0 81 0 0 ppp0 1526 208.236.113 pp253.islc.net 87 0 81 0 0 ppp1* 1500 0 0 0 0 0 ppp2* 1500 0 0 0 0 0 lo0 16384 72 0 72 0 0 lo0 16384 your-net localhost 72 0 72 0 0 # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message