From owner-freebsd-net@FreeBSD.ORG Wed Oct 16 18:17:45 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 14FCAF75 for ; Wed, 16 Oct 2013 18:17:45 +0000 (UTC) (envelope-from raitech@gmail.com) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E57172170 for ; Wed, 16 Oct 2013 18:17:44 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kp14so1433338pab.20 for ; Wed, 16 Oct 2013 11:17:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=4RtQbcRYLY69STSOTHRRyV6uC3KuANdLHoa3iSdH7tg=; b=x0w0JYOoRQstpwYI8CA9KCcIeFSVsN8tTSDTzIVQALC/OZqGXmYif0F3iGrXXTJk7x dxnSs9VWmBo6iU3oKw+s1aGPLfym9srvn8M7fdrpWO4J4rTFCiFKjYmXyYUHpY9d43Ez 0hMBY1KkUAOVnEto2WgKdSROYBus1bi6v2CWEJMZTD97MzmT9584dh4sQ6gy9HFrNKxU WOn0DMjwAGyanHWc8Seso1a7/uKv3i62dp0x0kEQ10ASJHzkUPGZlNp4JUxgftwIknrW V33aNtMgPW9JDdSI86VoE8WPx0iuWOq+EoIPpP/Tt5nDuDbH8naj2YQ2X8d6lK9Nvk3t tpzw== X-Received: by 10.66.170.168 with SMTP id an8mr5008876pac.58.1381947464080; Wed, 16 Oct 2013 11:17:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.101.70 with HTTP; Wed, 16 Oct 2013 11:17:23 -0700 (PDT) From: Raimundo Santos Date: Wed, 16 Oct 2013 15:17:23 -0300 Message-ID: Subject: ifconfig: ioctl (SIOCAIFADDR): File exists - but not only with alias command To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Oct 2013 18:17:45 -0000 Hello list, I have a quad port Intel NIC and I am stucked on this problem: whenever I try to modify the address of one port of this NIC, I see from ifconfig ifconfig: ioctl (SIOCAIFADDR): File exists Here is the status of one port: # ifconfig igb1 igb1: flags=8843 metric 0 mtu 1500 options=401bb ether 00:1b:21:5a:93:31 inet6 fe80::21b:21ff:fe5a:9331%igb1 prefixlen 64 scopeid 0x2 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active As you can see, no inet address. Try to put an address that was used before in the same port of this NIC, and.. # ifconfig igb1 XX.XX.XX.20/28 ifconfig: ioctl (SIOCAIFADDR): File exists I have routed running with this /etc/gateways: ripv2 if=tun0 no_rip if=tun1 no_rip if=et0 no_rip if=et1 no_rip if=igb2 no_rip if=igb3 no_rip rdisc_interval=45 no_ag no_super_ag subnet=X.Y.Z.56/30,1 subnet=X.Y.Z.0/29,1 subnet=X.Y.Z.8/29,1 subnet=X.Y.Z.16/29,1 subnet=X.Y.Z.24/29,1 subnet=X.Y.Z.32/29,1 subnet=X.Y.Z.40/29,1 subnet=X.Y.Z.48/29,1 subnet=X.Y.Z.64/29,1 subnet=X.Y.Z.72/29,1 subnet=X.Y.Z.80/29,1 subnet=X.Y.Z.88/29,1 subnet=X.Y.Z.96/29,1 subnet=X.Y.Z.104/29,1 subnet=X.Y.Z.112/29,1 subnet=X.Y.Z.120/29,1 The problem occurs when configuring the primary address or an alias in any port, after unconfigure some other address. Using # uname -a FreeBSD XXX 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #10: Thu Aug 1 19:04:09 BRT 2013 XXX:/usr/obj/usr/src/sys/XXX_KERNEL amd64 A custom system with 0 thru 15 FIBs, FWD in ipfw, and VNET/VIMAGE all enabled. Thank you! Raimundo Santos