From owner-freebsd-net@FreeBSD.ORG Fri Apr 8 15:46:20 2011 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 C65ED1065672 for ; Fri, 8 Apr 2011 15:46:20 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 813CA8FC18 for ; Fri, 8 Apr 2011 15:46:20 +0000 (UTC) Received: by qwc9 with SMTP id 9so2404043qwc.13 for ; Fri, 08 Apr 2011 08:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Xs/MftDkdLKzPyc5xIUN43pBrBAFYpCOti3L+T2XkvA=; b=DmakKSl3o+995FxViYtOjxSy5MjaI//Z9IBJnLb6vEUpj0jyAJat8oyZIEsf36pw6Y ZvSgYarKAQWnUeRwiVXB1NIuJOp+HMZrMhfSWL1GzvXUM5usue8hf1bPzCwyFmt2vnPS KJsq+0N/69Zrv0JtMUrIVKh04r6bsDvhkewL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=mNzV1EYFRZ4RUF2hiym++IgXyAZknskcJARNCdg2BDqdh2A0+caTWI33b3eSjXqNHT nQzEWM4FK49aNiSHTjZno52Ul/5q380eHIA4btqKQuvxbHcYGzsyn9RW8qjqapS8gslV zsDUJFneDQDqh9CixDNTSiu9SuceCzotuCzIY= MIME-Version: 1.0 Received: by 10.229.131.23 with SMTP id v23mr1985111qcs.11.1302277579726; Fri, 08 Apr 2011 08:46:19 -0700 (PDT) Received: by 10.229.212.9 with HTTP; Fri, 8 Apr 2011 08:46:19 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Apr 2011 17:46:19 +0200 Message-ID: From: Dominique Goncalves To: Sergey Kandaurov Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: ifa_add_loopback_route: insertion failed with ifconfig wlan0 up 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: Fri, 08 Apr 2011 15:46:20 -0000 2011/4/8 Sergey Kandaurov : > On 8 April 2011 18:10, Dominique Goncalves > wrote: >> Hi >> >> 2011/4/6 Sergey Kandaurov : >>> On 6 April 2011 11:35, Dominique Goncalves >>> wrote: >>>> Hi, >>>> >>>> I've installed FreeBSD 8.2-RELEASE on soekris net4801 with Atheros >>>> 9280 (mini pci card) as an access point using hostapd, so far it works >>>> . Sometimes I need to disable wireless with ifconfig wlan0 down but >>>> each times I run ifconfig wlan0 up, the kernel produces this error >>>> >>>> ifa_add_loopback_route: insertion failed >>>> >>>> is this a problem ? or maybe there is a better way to disable/enable w= ireless ? >>>> >>> >>> I see this too with a dumb test: >>> >>> vlan5: flags=3D8003 metric 0 mtu 1500 >>> =A0 =A0 =A0 =A0ether 00:00:00:00:00:00 >>> =A0 =A0 =A0 =A0inet6 fe80::21a:64ff:fe68:d005%vlan5 prefixlen 64 scopei= d 0xa >>> =A0 =A0 =A0 =A0inet 192.168.13.13 netmask 0xffffffff broadcast 192.168.= 13.13 >>> =A0 =A0 =A0 =A0nd6 options=3D3 >>> =A0 =A0 =A0 =A0vlan: 0 parent interface: >>> >>> On 8.1 ifconfig vlan5 up gives: >>> ifa_add_loopback_route: insertion failed >> >> I guess I need to submit a PR. >> >> What step did you used to reproduce the problem ? I tried (on 8.2) to >> create a vlan but was not able to reproduce the error. > > Here it is. > > # ifconfig vlan5 create > # ifconfig vlan5 192.168.13.16/32 > # ifconfig vlan5 down > # ifconfig vlan5 up Ok, I reproduced the error and I just submitted a problem report PR/156278 > -- > wbr, > pluknet > --=20 There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life."