From owner-freebsd-net@FreeBSD.ORG Thu Sep 22 11:05:26 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E10016A420; Thu, 22 Sep 2005 11:05:26 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84CC843D46; Thu, 22 Sep 2005 11:05:17 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id j8MB5AlW016461; Thu, 22 Sep 2005 15:05:10 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id j8MB5ADw016459; Thu, 22 Sep 2005 15:05:10 +0400 (MSD) (envelope-from yar) Date: Thu, 22 Sep 2005 15:05:09 +0400 From: Yar Tikhiy To: Justas Jakubauskas Message-ID: <20050922110509.GA16325@comp.chem.msu.su> References: <20050922104104.GA13539@comp.chem.msu.su> <53380.81.7.76.219.1127386461.squirrel@mail.vusa.lt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <53380.81.7.76.219.1127386461.squirrel@mail.vusa.lt> User-Agent: Mutt/1.5.9i Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: "ifconfig -vlandev" syntax X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 11:05:26 -0000 On Thu, Sep 22, 2005 at 01:54:21PM +0300, Justas Jakubauskas wrote: > > > -vlandev takes a useless argument (vlan(4) cannot attach to more > > than one parent anyway) while, e.g., -carpdev doesn't need one. > > And how system should know, to which device attach your vlan ? "-vlandev" is for _detaching_ a vlan interface from its parent. The option is used more often than it could because one cannot move a vlan interface to another parent or VLAN tag w/o detaching it first. -- Yar