From owner-freebsd-bugs@FreeBSD.ORG Sun May 6 18:30:13 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AF80106566B for ; Sun, 6 May 2012 18:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3AF818FC17 for ; Sun, 6 May 2012 18:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q46IUD4O090927 for ; Sun, 6 May 2012 18:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q46IUDVF090923; Sun, 6 May 2012 18:30:13 GMT (envelope-from gnats) Resent-Date: Sun, 6 May 2012 18:30:13 GMT Resent-Message-Id: <201205061830.q46IUDVF090923@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, Jeff Kletsky Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A727106566B for ; Sun, 6 May 2012 18:23:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 35A098FC14 for ; Sun, 6 May 2012 18:23:14 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q46INDEZ069620 for ; Sun, 6 May 2012 18:23:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q46INDZG069614; Sun, 6 May 2012 18:23:13 GMT (envelope-from nobody) Message-Id: <201205061823.q46INDZG069614@red.freebsd.org> Date: Sun, 6 May 2012 18:23:13 GMT From: Jeff Kletsky To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/167648: Update rc.conf man page to use "new" ipv4_addrs_ for VLANs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 May 2012 18:30:13 -0000 >Number: 167648 >Category: conf >Synopsis: Update rc.conf man page to use "new" ipv4_addrs_ for VLANs >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 06 18:30:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jeff Kletsky >Release: 9.0-STABLE >Organization: >Environment: FreeBSD port16.pn.wagsky.com 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Apr 23 08:07:43 PDT 2012 root@port16.pn.wagsky.com:/usr/obj/usr/src/sys/JMK.2012-04-23 i386 >Description: The "new" method for specifying IPv4 addresses ipv4_addrs_ is discussed in the rc.conf(5) man page. It also indicates that the "old" method of using ifconfig__alias is deprecated. However, the vlan-related section still uses the "old" method: To create a vlan device named em0.101 on em0 with the vlan tag 101 and the optional the IPv4 address 192.0.2.1/24: vlans_em0="101" ifconfig_em0_101="inet 192.0.2.1/24" Suggest changing this to To create a vlan device named em0.101 on em0 with the vlan tag 101 and the optional the IPv4 address 192.0.2.1/24: vlans_em0="101" ipv4_addrs_em0_101="inet 192.0.2.1/24" to improve clarity and reinforce the "new" method of setting IPv4 addresses. >How-To-Repeat: >Fix: Relative to $FreeBSD: src/share/man/man5/rc.conf.5,v 1.398.2.7 2012/04/26 20:11:57 gjb Exp $ --- /usr/src/share/man/man5/rc.conf.5 2012-04-28 07:28:40.000000000 -0700 +++ rc.conf.5 2012-05-06 11:21:01.000000000 -0700 @@ -1191,7 +1191,7 @@ with the vlan tag 101 and the optional the IPv4 address 192.0.2.1/24: .Bd -literal vlans_em0="101" -ifconfig_em0_101="inet 192.0.2.1/24" +ipv4_addrs_em0_101="inet 192.0.2.1/24" .Ed .Pp To create a vlan device named >Release-Note: >Audit-Trail: >Unformatted: