From owner-freebsd-current@FreeBSD.ORG Fri Nov 25 06:27:16 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9622F1065670 for ; Fri, 25 Nov 2011 06:27:16 +0000 (UTC) (envelope-from Cy.Schubert@komquats.com) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC968FC13 for ; Fri, 25 Nov 2011 06:27:16 +0000 (UTC) Received: from pd3ml2so-ssvc.prod.shaw.ca ([10.0.141.138]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 24 Nov 2011 23:12:14 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=pLwgVNw+rP0xDC1aTytTpk3qcVwaN6U+yFunLg8qx5U= c=1 sm=1 a=QrugwKR0C_UA:10 a=wAGQQ9Az6v0A:10 a=BLceEmwcHowA:10 a=ICAaq7hcmGcA:10 a=kj9zAlcOel0A:10 a=2Er20JxOMs3KTlR2XTlUiQ==:17 a=BWvPGDcYAAAA:8 a=6I5d2MoRAAAA:8 a=Aj8QEQq7e3VCZbAPP80A:9 a=OUwj7MZy8YRRmxqtNMcA:7 a=CjuIK1q_8ugA:10 a=V7tsTZBp22UA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO spqr.komquats.com) ([24.68.73.211]) by pd3ml2so-dmz.prod.shaw.ca with ESMTP; 24 Nov 2011 23:12:14 -0700 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id F2F9646B6C for ; Thu, 24 Nov 2011 22:12:13 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.14.5/8.14.5) with ESMTP id pAP6CCYb010140 for ; Thu, 24 Nov 2011 22:12:13 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Message-Id: <201111250612.pAP6CCYb010140@slippy.cwsent.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 Nov 2011 22:12:12 -0800 Subject: ifconfig alias X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cy Schubert List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2011 06:27:16 -0000 Sometime between Nov 9 and yesterday (Nov 23 at approximately noon PST) ifconfig alias has stopped working. Here's uname -a FreeBSD bob 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r227907M: Thu Nov 24 13:04:39 PST 2011 root@bob:/usr/obj/dsk03/src/svn-current/sys/BREAK i386 Here's the problem (interface doesn't matter -- on this machine vr0 and sk0 are affected). bob# ifconfig vr0 vr0: flags=8843 metric 0 mtu 1500 options=82808 ether 00:16:17:8e:65:fe inet6 fe80::216:17ff:fe8e:65fe%vr0 prefixlen 64 scopeid 0x6 inet 10.1.2.7 netmask 0xffffff00 broadcast 10.1.2.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active bob# ifconfig vr0 10.1.2.2 netmask 0xffffffff alias bob# ifconfig vr0 vr0: flags=8843 metric 0 mtu 1500 options=82808 ether 00:16:17:8e:65:fe inet6 fe80::216:17ff:fe8e:65fe%vr0 prefixlen 64 scopeid 0x6 inet 10.1.2.2 netmask 0xffffffff broadcast 10.1.2.2 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active bob# A sample 8.2 system, showing how it should work: FreeBSD cwsys 8.2-STABLE FreeBSD 8.2-STABLE #0: Wed Nov 23 20:29:36 PST 2011 root@cwsys:/export/obj/opt/src/svn-stable8/sys/KQLARGE i386 cwsys# ifconfig nfe0 nfe0: flags=8843 metric 0 mtu 1500 options=c219b ether 00:1e:8c:3e:1b:da inet 10.1.2.1 netmask 0xffffff00 broadcast 10.1.2.255 media: Ethernet autoselect (100baseTX ) status: active cwsys# ifconfig nfe0 inet 10.1.2.99 netmask 0xffffffff alias cwsys# ifconfig nfe0 nfe0: flags=8843 metric 0 mtu 1500 options=c219b ether 00:1e:8c:3e:1b:da inet 10.1.2.1 netmask 0xffffff00 broadcast 10.1.2.255 inet 10.1.2.99 netmask 0xffffffff broadcast 10.1.2.99 media: Ethernet autoselect (100baseTX ) status: active cwsys# -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.