From owner-freebsd-net@FreeBSD.ORG Mon Mar 1 22:34:24 2010 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 E461E106568C for ; Mon, 1 Mar 2010 22:34:24 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 65DC98FC17 for ; Mon, 1 Mar 2010 22:34:23 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id o21MXxPI059423 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 1 Mar 2010 23:33:59 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.3/8.14.3) with ESMTP id o21MXo0U014302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 Mar 2010 23:33:50 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id o21MXjQ3072263; Mon, 1 Mar 2010 23:33:50 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id o21MXR8P072262; Mon, 1 Mar 2010 23:33:27 +0100 (CET) (envelope-from ticso) Date: Mon, 1 Mar 2010 23:33:27 +0100 From: Bernd Walter To: Anton Yuzhaninov Message-ID: <20100301223327.GQ58319@cicely7.cicely.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: freebsd-net@freebsd.org Subject: Re: net/mpd5: proxy arp don't work on FreeBSD 8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2010 22:34:25 -0000 On Mon, Mar 01, 2010 at 03:33:41PM +0000, Anton Yuzhaninov wrote: > mdp can't add proxy arp record. From mpd logs: > > Mar 1 15:10:34 x0001 mpd: [B-1] IFACE: Add address 10.25.1.240/32->10.25.1.241 to ng0 > Mar 1 15:10:34 x0001 mpd: [B-1] exec: /usr/sbin/arp -S 10.25.1.241 0:15:17:35:1c:22 pub > Mar 1 15:10:34 x0001 mpd: [B-1] system: command "/usr/sbin/arp" returned 256 > > Same command from shell: > > # arp -S 10.25.1.241 0:15:17:35:1c:22 pub > delete: cannot locate 10.25.1.241 > cannot intuit interface index and type for 10.25.1.241 It looks like you don't have a network configured for 10.25.1.241, so arp(8) can't find the interface to configure the ARP entry to. You either need to supply -i in case the host shouldn't get a local IP in the given network or configure the interface to be a real part of it. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.