Date: Mon, 17 Feb 2014 13:51:25 GMT From: Daniel Ylitalo <daniel@203webgroup.se> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/186841: rc.conf ifconfig syntax for binding ip-ranges broken Message-ID: <201402171351.s1HDpP39068984@cgiserv.freebsd.org> Resent-Message-ID: <201402171400.s1HE008W090703@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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_<iface>_alias<n> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402171351.s1HDpP39068984>