From owner-freebsd-net@FreeBSD.ORG Tue Mar 2 07:08:50 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 2E6FB106566B for ; Tue, 2 Mar 2010 07:08:50 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id DCF278FC12 for ; Tue, 2 Mar 2010 07:08:49 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NmMDo-00070k-WC for freebsd-net@freebsd.org; Tue, 02 Mar 2010 08:08:49 +0100 Received: from ppp85-141-69-10.pppoe.mtu-net.ru ([85.141.69.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Mar 2010 08:08:48 +0100 Received: from citrin by ppp85-141-69-10.pppoe.mtu-net.ru with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Mar 2010 08:08:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Anton Yuzhaninov Date: Tue, 2 Mar 2010 07:08:37 +0000 (UTC) Organization: Vega Lines: 34 Sender: Message-ID: References: <20100301223327.GQ58319@cicely7.cicely.de> X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: ppp85-141-69-10.pppoe.mtu-net.ru X-Comment-To: Bernd Walter User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/2.6.31-gentoo-r6 (i686)) 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 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 07:08:50 -0000 On Mon, 1 Mar 2010 23:33:27 +0100, Bernd Walter wrote: BW> 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 BW> BW> It looks like you don't have a network configured for 10.25.1.241, so BW> arp(8) can't find the interface to configure the ARP entry to. BW> You either need to supply -i in case the host shouldn't get a local BW> IP in the given network or configure the interface to be a real part BW> of it. Network for this ip is configured. Before ng0 created: # route -n get 10.25.1.241 route to: 10.25.1.241 destination: 10.25.1.0 mask: 255.255.255.0 interface: vlan408 flags: When ng0 is created route get point to ng0. -- WBR, Anton Yuzhaninov