From owner-freebsd-questions Sat Feb 22 19:23:25 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA11844 for questions-outgoing; Sat, 22 Feb 1997 19:23:25 -0800 (PST) Received: from mail.telstra.com.au (mail.telstra.com.au [192.148.160.10]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA11832 for ; Sat, 22 Feb 1997 19:23:20 -0800 (PST) Received: (from uucp@localhost) by mail.telstra.com.au (8.8.2/8.6.9) id OAA14466 for ; Sun, 23 Feb 1997 14:22:42 +1100 (EST) Received: from mail_gw.fwall.telecom.com.au(192.148.147.10) by mail via smap (V1.3) id sma014393; Sun Feb 23 14:21:43 1997 Received: (from uucp@localhost) by mail_gw.fwall.telecom.com.au (8.8.2/8.6.9) id OAA07580 for ; Sun, 23 Feb 1997 14:21:42 +1100 (EST) Received: from cdn_mail.dn.itg.telecom.com.au(144.135.109.134) by mail-gw.fwall.telstra.com.au via smap (V1.3) id sma007543; Sun Feb 23 14:21:27 1997 Received: from io.telecom.com.au (io.telecom.com.au [172.57.9.32]) by cdn-mail.telecom.com.au (8.8.2/8.6.9) with ESMTP id OAA20766 for ; Sun, 23 Feb 1997 14:21:26 +1100 (EST) Received: (from tdwyer@localhost) by io.telecom.com.au (8.8.3/8.8.3) id LAA18164; Sun, 23 Feb 1997 11:21:07 +0800 (WST) Date: Sun, 23 Feb 1997 11:21:07 +0800 (WST) From: Terry Dwyer +61-9-491-5161 To: FreeBSD Questions Subject: arp-proxyall, arp -s: can't get it to work. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I have kernel ppp (pppd) running between two machines quite happily, but dont have proxying working. Server machine: FreeBSD io 2.1.6-RELEASE Client machine: FreeBSD charon 2.1.5-RELEASE The Kernel config includes ARP_PROXYALL on both machines and gateway="YES" is set in /etc/sysconfig. I have aliases bound to the ed0 interfaces on both machines if it matters. --- /etc/ppp/options --- this is identical for both machines ---- crtscts # Hardware flow control domain [dummyname].com.au # My domain passive # Wait for LCP modem # use modem line proxyarp # Use ARP proxy routing netmask 255.255.255.192 # set the netmask for the ppp link lock # use UUCP style lock debug # Increase dubugging level #+pap # enable PAP authentication defaultroute # Add a default route to kernel routing table mtu 552 # Better interactive performance ---------------------------- I dial the server using a script, this is the relevent section for pppd: /usr/sbin/pppd $DEBUG $OPTIONS -detach modem defaultroute proxyarp \ crtscts $NETMASK $DEVICE $DEVICESPEED The variables are supplied from a conf file or from within the script. These are the parameters supplied to pppd: Phone: 4444444, User: [pppusername], Password: [dummypasswd] Our ip addr: [null], Their ip addr: [null], Netmask: 255.255.255.192 PPP options: Addresses are negotiated with the server. When pppd connects to the server, the IP addresses from options.cuaax are negotiated properly, then I see this entry in the pppd log files on both machines: Cannot determine ethernet address for proxy ARP If I try manually adding an arp entry it is also unsucsessful. arp -s ppplink 00:00:c0:51:cd:40 pub cannot intuit interface index and type for ppplink Can anyone give me a pointer as to why proxying won't work _-_|\ Terry Dwyer E-Mail: tdwyer@io.telecom.com.au / \ System Administrator Phone: +61 9 491 5161 Fax: +61 9 221 2631 *_.^\_/ Telecom Australia Telstra Corporation MIME capable mailer v Perth WA ( I do not speak for Telstra or Telecom )