From owner-freebsd-net@FreeBSD.ORG Thu Oct 25 15:06:40 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1E4816A481 for ; Thu, 25 Oct 2007 15:06:40 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: from smtpauth11.prod.mesa1.secureserver.net (smtpauth11.prod.mesa1.secureserver.net [64.202.165.33]) by mx1.freebsd.org (Postfix) with SMTP id 5A29A13C4BB for ; Thu, 25 Oct 2007 15:06:40 +0000 (UTC) (envelope-from Stephen.Clark@seclark.us) Received: (qmail 26878 invoked from network); 25 Oct 2007 15:06:39 -0000 Received: from unknown (24.144.77.243) by smtpauth11.prod.mesa1.secureserver.net (64.202.165.33) with ESMTP; 25 Oct 2007 15:06:39 -0000 Message-ID: <4720B0FE.1030001@seclark.us> Date: Thu, 25 Oct 2007 11:06:38 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22smp i686; en-US; m18) Gecko/20010110 Netscape6/6.5 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stephen.Clark@seclark.us References: <471F8C41.7030503@seclark.us> In-Reply-To: <471F8C41.7030503@seclark.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: proxy arp on 6.1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Stephen.Clark@seclark.us List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 15:06:40 -0000 Stephen Clark wrote: >Hello List, > >I must be doing something wrong. I can't seem to get proxy arp to work. >Is there some >magic. > >I have the following setup isp router 205.x.x.1 <-> 205.x.x.100/25 rl1 >freebsd vr0 205.x.x.129/25 ><-> 205.x.x.193/25 >arp -an >(205.x.x.1) at 00:13:7f:5a:b5:50 on rl1 [ethernet] >(205.x.x.193) at 00:30:18:a3:44:2d on vr0 permanent published (proxy >only) [ethernet] > >tcpdump >13:09:51.386793 arp who-has 205.x.x.193 tell 205.x.x.1 > >but there is no arp-reply from freebsd. > >rl1: flags=8843 mtu 1500 > options=8 > inet 205.x.x.100 netmask 0xffffff80 broadcast 205.x.x.127 > ether 00:30:18:a3:47:a4 > media: Ethernet autoselect (100baseTX ) > status: active > > > > Hi List, I am looking at if_ether.c on current 6.2 and it looks to me like net.link.ether.inet.proxyall has to be set to 1 for proxy arp to work. Am I reading this correctly? If so this is misleading based on the description of this sysctl in man 4 arp. Also is anybody using proxy arp? Thanks, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson)