From owner-freebsd-current@FreeBSD.ORG Sat Apr 17 13:45:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 440F916A4CE for ; Sat, 17 Apr 2004 13:45:44 -0700 (PDT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18B6143D54 for ; Sat, 17 Apr 2004 13:45:43 -0700 (PDT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i3HKni9P022177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Apr 2004 23:49:46 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i3HKjaq5085941; Sat, 17 Apr 2004 23:45:36 +0300 (EEST) (envelope-from ru) Date: Sat, 17 Apr 2004 23:45:36 +0300 From: Ruslan Ermilov To: "Adam C. Migus" Message-ID: <20040417204536.GA85858@ip.net.ua> References: <1082233506.408192a2c476a@webservices.migus.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <1082233506.408192a2c476a@webservices.migus.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: current@freebsd.org Subject: Re: VLAN support in rcNG [PATCH] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Apr 2004 20:45:44 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 17, 2004 at 04:25:06PM -0400, Adam C. Migus wrote: > The following is a patch that adds support for vlan creation and > destruction within rcNG. Using the patch it's possible, for example, > to create a vlan, `vlan0' with the following directives in rc.conf: >=20 > vlan_interfaces=3D"vlan0" > ifconfig_vlan0=3D"DHCP" > ifconfig_vlan0_vlan_dev=3D"xl0" > ifconfig_vlan0_vlan_tag=3D"2" >=20 > Is this patch of general interest? Should I submit a PR? >=20 This is from the vlan(4) manpage: : Each vlan interface is created at runtime using interface cloning. This : is most easily done with the ifconfig(8) create command or using the : cloned_interfaces variable in rc.conf(5). So, how your patch is different from the existing functionality? Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAgZdwUkv4P6juNwoRAu6vAJ0ZWk1SWhS/TOXqep4Y8owshGmi0QCdF/SW S0nXsUkomwfF459YaFdR9OA= =I2AK -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--