From owner-freebsd-net@FreeBSD.ORG Fri Apr 8 14:24:11 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 479AE106564A for ; Fri, 8 Apr 2011 14:24:11 +0000 (UTC) (envelope-from pluknet@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 045AC8FC15 for ; Fri, 8 Apr 2011 14:24:10 +0000 (UTC) Received: by qwc9 with SMTP id 9so2348445qwc.13 for ; Fri, 08 Apr 2011 07:24:10 -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=nC/hHWw+WD5VwYakbPbr/UabNqZ3/Ez9gQZzQ/I0c2E=; b=FC+niJLonkiHtPb9NkOmSE6QOn+Q4ntn5UzTnQDFgrfwhhfJT9E3JEVG3AceGoI7e4 TtrvSY6eQhY6qC1M/+xTV+TU7CES1IhmIoAv07Eb3TDpw+WKJ/fVWUrjkuCxaRuiwh6L c+NPw3tGSBKZ8gxBACUUJz6/Y5GjvhMuV1J3k= 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=D+mwOhxsDlBI+y9s+pNSxzVzd63vP0OWMKh6hwHzXqDMeVAJrogLonM1xRr7Tg8btn svo3qnuwjtLqe6QXE5yOP3Kc/5LYg+dX43wMV7U7dJSOX5Nqk6vGUILNrEuYfhxrM7IV DPKz+ebKxozSxGfqpbt6t4pKU2YBM4//4tOD8= MIME-Version: 1.0 Received: by 10.229.26.67 with SMTP id d3mr1803544qcc.227.1302272649901; Fri, 08 Apr 2011 07:24:09 -0700 (PDT) Received: by 10.229.8.20 with HTTP; Fri, 8 Apr 2011 07:24:09 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Apr 2011 18:24:09 +0400 Message-ID: From: Sergey Kandaurov To: Dominique Goncalves 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:24:11 -0000 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 wi= reless ? >>> >> >> 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.1= 3.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 --=20 wbr, pluknet