From owner-freebsd-net@FreeBSD.ORG Thu Sep 24 19:59:59 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 241D31065693 for ; Thu, 24 Sep 2009 19:59:59 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outF.internet-mail-service.net (outf.internet-mail-service.net [216.240.47.229]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC668FC0A for ; Thu, 24 Sep 2009 19:59:58 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 6C4B6CE920; Thu, 24 Sep 2009 12:59:59 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 67DD62D6015; Thu, 24 Sep 2009 12:59:58 -0700 (PDT) Message-ID: <4ABBCFC1.9010003@elischer.org> Date: Thu, 24 Sep 2009 13:00:01 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Alexander Motin References: <4ABBAC87.4040306@FreeBSD.org> In-Reply-To: <4ABBAC87.4040306@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net Subject: Re: Point-to-Point interfaces regressions 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, 24 Sep 2009 19:59:59 -0000 Alexander Motin wrote: > I have found few cases, that were working fine before, but not so good > now on CURRENT. > > There is two interfaces: > bge0: flags=8843 metric 0 mtu 1500 > options=9b > ether 00:1b:24:c5:5b:09 > inet 192.168.3.131 netmask 0xffffff00 broadcast 192.168.3.255 > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > media: Ethernet autoselect (100baseTX ) > status: active > ng0: flags=88d1 metric 0 > mtu 1500 > > 1) I am going to reuse Ethernet address as local for PtP link: > %ifconfig ng0 10.0.0.1 10.0.0.2 > ifconfig: ioctl (SIOCAIFADDR): File exists > %ifconfig ng0 > ng0: flags=88d1 metric 0 > mtu 1500 > inet 10.0.0.1 --> 10.0.0.2 netmask 0xff000000 > So as you can see, address was assigned, but request returned error > status. Probably it is related to the recent local address route changes. yes the new code adds a route to 'yourself' for the local end of p2p links. which collides with the route to the ethernet's own address (I think). there is a sysctl to change this behaviour but I forget what it is. I'm not sure I like the new behaviour.. Qing Li is the man to discuss this with, > > 2) I am going to configure arp-proxy: > %arp -s 10.0.0.2 00:1b:24:c5:5b:09 pub > arp: writing to routing socket: Invalid argument > And again it doesn't work, writing to syslog: > kernel: lla_rt_output: RTM_ADD publish (proxy only) is invalid >