From owner-freebsd-net@FreeBSD.ORG Fri Apr 8 14:10:06 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 68A39106564A for ; Fri, 8 Apr 2011 14:10:06 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE518FC13 for ; Fri, 8 Apr 2011 14:10:05 +0000 (UTC) Received: by qyk27 with SMTP id 27so2536286qyk.13 for ; Fri, 08 Apr 2011 07:10:05 -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=8dGexj+1jFWAA1//T9tJGYIsCd2sZSzVGb9+VuwEqVs=; b=e6rPhrN/T5afW2enW6bzcOeoJMh65qxY6UIHe48iIRRZHJ087oQCw7GTPxnGnVfxay xEm+RCyCq+1v7qatADS+k8R/Ul/3DC92Ry3D6vGZsQW4CKC9YebJLKVgk4+jUMzwjgJA L9hp2upmiboOGn9Lalu9pDCCs0uzFxqROB4o4= 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=msO2edxghx/HmMUAFCMSkuAZQ+3EwKWAYjgtiKhfpYJFC9yACo/ZvHYFCZmopiMniM b7FypG4z3ICEIZha57h13uXJQq8GlLibFo+LonGRYzfQLGwPY6H9wCijpbA+XVQW0UJB 43VG+5B1/eZ7ImoEgu3yp6tQsUbx0UWRLKnco= MIME-Version: 1.0 Received: by 10.229.43.169 with SMTP id w41mr1863236qce.49.1302271805282; Fri, 08 Apr 2011 07:10:05 -0700 (PDT) Received: by 10.229.212.9 with HTTP; Fri, 8 Apr 2011 07:10:05 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Apr 2011 16:10:05 +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 14:10:06 -0000 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 wir= eless ? >> > > 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 scopeid = 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. > > On head ifconfig vlan5 down gives: > interface address is missing from cache =3D 0 =A0in delete > > -- > wbr, > pluknet > Regards. --=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."