Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 1997 11:21:07 +0800 (WST)
From:      Terry Dwyer +61-9-491-5161 <tdwyer@io.telstra.com.au>
To:        FreeBSD Questions <questions@freefall.FreeBSD.org>
Subject:   arp-proxyall, arp -s: can't get it to work.
Message-ID:  <Pine.BSF.3.91.970223104810.17263B-100000@io.telecom.com.au>

next in thread | raw e-mail | index | archive | help

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 )











Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970223104810.17263B-100000>