From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 17 14:00:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.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 ESMTPS id 32AD8439 for ; Mon, 17 Feb 2014 14:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E88741484 for ; Mon, 17 Feb 2014 14:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1HE00pK090706 for ; Mon, 17 Feb 2014 14:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1HE008W090703; Mon, 17 Feb 2014 14:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 17 Feb 2014 14:00:00 GMT Resent-Message-Id: <201402171400.s1HE008W090703@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Ylitalo 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 ESMTPS id 020D8FD0 for ; Mon, 17 Feb 2014 13:51:26 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DFDF413CE for ; Mon, 17 Feb 2014 13:51:25 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1HDpPit068993 for ; Mon, 17 Feb 2014 13:51:25 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1HDpP39068984; Mon, 17 Feb 2014 13:51:25 GMT (envelope-from nobody) Message-Id: <201402171351.s1HDpP39068984@cgiserv.freebsd.org> Date: Mon, 17 Feb 2014 13:51:25 GMT From: Daniel Ylitalo To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/186841: rc.conf ifconfig syntax for binding ip-ranges broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2014 14:00:01 -0000 >Number: 186841 >Category: misc >Synopsis: rc.conf ifconfig syntax for binding ip-ranges broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 17 14:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Daniel Ylitalo >Release: 10.0-RELEASE >Organization: 203 Webgroup AB >Environment: FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: According to the manual binding ip ranges has been merged into the default ifconfig__alias line, however, if you try to bind a /24 it stops at ip 35. Ie: ifconfig_bce0_alias0="inet 10.0.68.3-254/24" Binds ip's 10.0.68.3-10.0.68.35 and not the full 254 Using the old and deprecated syntax is also broken: ipv4_addrs_bce0="10.0.68.3-254/24" However, using the old syntax in FreeBSD 9.1 works fine and binds all 252 ip's to the nic. >How-To-Repeat: Add this line to your /etc/rc.conf ifconfig_bce0_alias0="inet 10.0.68.3-254/24" reload or reboot IP's 10.0.68.3 through 10.0.68.35 will be binded and not the full 252 ip's. >Fix: Worked fine in 9.1-RELEASE so one should only have to check what's changed. >Release-Note: >Audit-Trail: >Unformatted: