From owner-freebsd-net@FreeBSD.ORG Sat Nov 21 23:15:35 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4D08106566B for ; Sat, 21 Nov 2009 23:15:35 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id B6EB88FC1B for ; Sat, 21 Nov 2009 23:15:35 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id B037BC0A7B; Sat, 21 Nov 2009 17:58:25 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 21 Nov 2009 17:58:25 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=subject:mime-version:content-type:from:in-reply-to:date:cc:content-transfer-encoding:message-id:references:to; s=smtpout; bh=xhTnakXrVYriOCCVmrfKtGZl51U=; b=Ds7lq0D+LzEbBInvFgPp0m3j1b19XYpv7IyOr7N0DKr7vKFW6Iu+bEc1mgxy0IP3I7PX7t0Vnz3SZCt1B9BIQ8Ft5b22JL5/TNcc6IS3oCuKzJZp0WtAFk4S2gUyNkeXHOITX6uW5vWm2tZmOrg0IEfJA3JA2oEol973Lb5cSrU= X-Sasl-enc: an5pS1l4HNDGY+yVyWPm0WiUuMQxTbU7ZMv6ER8IcXc7 1258844305 Received: from [10.10.1.100] (97-92-80-104.dhcp.dlth.mn.charter.com [97.92.80.104]) by mail.messagingengine.com (Postfix) with ESMTPSA id 32975BD10; Sat, 21 Nov 2009 17:58:25 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Josh Paetzel In-Reply-To: <4B0825DD.3000702@tomjudge.com> Date: Sat, 21 Nov 2009 16:58:24 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4B0825DD.3000702@tomjudge.com> To: Tom Judge X-Mailer: Apple Mail (2.1077) Cc: "net@freebsd.org" Subject: Re: if_bridge as if_vlan parent 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: Sat, 21 Nov 2009 23:15:36 -0000 On Nov 21, 2009, at 11:39 AM, Tom Judge wrote: > Hi, >=20 > I was why I get the following error when trying to create a vlan on = top of if_bridge: >=20 > # ifconfig bridge0 create > # ifconfig vlan2 vlan 2 vlandev bridge0 > ifconfig: SIOCSETVLAN: Protocol not supported >=20 >=20 > And if there was/is any reason for this to not be supported. >=20 > Thanks >=20 You can create a bridge from a pair of vlan devices.... # ifconfig vlan1 create # ifcconfig vlan2 create # ifconfig bridge0 create # ifconfig vlan1 vlan 1 vlandev em0 # ifconfig vlan2 vlan 2 vlandev em0 # ifconfig bridge0 addm vlan1 addm vlan2 Is that more in line with what you want to do? I'm a little curious what problem set using a bridge as the parent of a = vlan solves though. Thanks, Josh Paetzel