From owner-freebsd-net@FreeBSD.ORG Thu Apr 23 12:51:07 2009 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 2971D106564A for ; Thu, 23 Apr 2009 12:51:07 +0000 (UTC) (envelope-from tamaru@myn.rcast.u-tokyo.ac.jp) Received: from mail4.ecc.u-tokyo.ac.jp (mail3.ecc.u-tokyo.ac.jp [133.11.205.99]) by mx1.freebsd.org (Postfix) with ESMTP id CC5478FC1B for ; Thu, 23 Apr 2009 12:51:06 +0000 (UTC) (envelope-from tamaru@myn.rcast.u-tokyo.ac.jp) Received: from mail0.ecc.u-tokyo.ac.jp (mail0.ecc.u-tokyo.ac.jp [133.11.45.132]) by mail4.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 5B4E35B0BD4 for ; Thu, 23 Apr 2009 21:14:01 +0900 (JST) Received: from mhs003.ecc.u-tokyo.ac.jp (mhs003.ecc.u-tokyo.ac.jp [133.11.70.163]) by mail0.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 9EC642EC00C for ; Thu, 23 Apr 2009 21:13:59 +0900 (JST) Received: from amulet.amuletic.net (124.155.55.252 [124.155.55.252]) by mhs003.ecc.u-tokyo.ac.jp (SpamBlock.pstn.b 3.4.102) with ESMTP id for ; Thu, 23 Apr 2009 21:13:54 +0900 Date: Thu, 23 Apr 2009 21:13:51 +0900 Message-ID: From: Hiroharu Tamaru To: freebsd-net@freebsd.org User-Agent: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-IP: 124.155.55.252 X-FROM-DOMAIN: myn.rcast.u-tokyo.ac.jp X-FROM-EMAIL: tamaru@myn.rcast.u-tokyo.ac.jp Subject: proxy arp on 8.0-current? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2009 12:51:07 -0000 Hi, I'm trying to setup an proxy arp on a dual homed host. I noticed that I cannot set it up on 8.0-current the same way as I could on 6.2; hence the question: have the setup procedure changed recently (when the arp table was separated from the routing table, maybe?)? My 8.0-current is from 200902 snapshot. Here is a simple demonstration using two single-interfaced hosts: setup: host6.2# ifconfig em0 inet 192.168.0.1/24 host6.2# arp -s 192.168.0.11 auto pub host6.2# arp -an | grep permanent ? (192.168.0.1) at 00:16:d3:xx:xx:xx on em0 permanent [ethernet] ? (192.168.0.11) at 00:16:d3:xx:xx:xx on em0 permanent published [ethernet] host6.2# tcpdump -np arp host8.0# ifconfig em0 inet 192.168.0.2/24 host8.0# arp -s 192.168.0.12 auto pub host8.0# arp -an | grep permanent ? (192.168.0.2) at 00:0c:29:xx:xx:xx on em0 permanent [ethernet] ? (192.168.0.12) at 00:0c:29:xx:xx:xx on em0 permanent published [ethernet] host8.0# tcpdump -np arp then, I do: host6.2# arp -d 192.168.0.2; ping -c 1 192.168.0.2 host6.2# arp -d 192.168.0.12; ping -c 1 192.168.0.12 host8.0# arp -d 192.168.0.1; ping -c 1 192.168.0.1 host8.0# arp -d 192.168.0.11; ping -c 1 192.168.0.11 I am not caring about 'arp -d' errors (cannot locate) nor ping not responding (for proxied addresses). I just cared about arp requests and replys for now. The output of tcpdump on both sides are like this: arp who-has 192.168.0.2 tell 192.168.0.1 arp reply 192.168.0.2 is-at 00:0c:29:xx:xx:xx arp who-has 192.168.0.12 tell 192.168.0.1 ---->no reply arp who-has 192.168.0.1 tell 192.168.0.2 arp reply 192.168.0.1 is-at 00:16:d3:xx:xx:xx arp who-has 192.168.0.11 tell 192.168.0.2 arp reply 192.168.0.11 is-at 00:16:d3:xx:xx:xx As you can see from the above, 'arp -s 192.168.0.12 auto pub' on 8.0-current host seems not to be producing proxy arp's. What am I missing? Thanks. -- Hiroharu Tamaru