From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 16:07:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7DD1106566B for ; Sun, 27 Apr 2008 16:07:58 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id AEA928FC1F for ; Sun, 27 Apr 2008 16:07:57 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2) with ESMTP id m3RG7o4H070097; Sun, 27 Apr 2008 18:07:50 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.2/8.14.2/Submit) with ESMTP id m3RG7ocv070094; Sun, 27 Apr 2008 18:07:50 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sun, 27 Apr 2008 18:07:50 +0200 (CEST) From: Wojciech Puchar To: =?ISO-8859-2?Q?Nejc_=A9koberne?= In-Reply-To: <4814A0E9.4010005@skoberne.net> Message-ID: <20080427180614.X70090@wojtek.tensor.gdynia.pl> References: <1209310959.10040.116.camel@localhost> <4814A0E9.4010005@skoberne.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: martes@mgwigglesworth.com, User Questions Subject: Re: VLAN Trunking with Freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Apr 2008 16:07:58 -0000 > > This is my config: > > cloned_interfaces="vlan2 vlan3 vlan4 vlan5" > ifconfig_re0="inet 192.168.1.62 netmask 255.255.255.192" > ifconfig_re1="inet 192.168.1.254 netmask 255.255.255.128" > ifconfig_bge0="inet a.b.c.d netmask 255.255.255.240" > ifconfig_em0="up" > ifconfig_vlan2="192.168.41.1 vlan 2 vlandev em0" > ifconfig_vlan3="192.168.19.3 vlan 3 vlandev em0" > ifconfig_vlan4="192.168.42.1 vlan 4 vlandev em0" > ifconfig_vlan5="192.168.100.1 vlan 5 vlandev em0" > > re0, re1, bge0 are ordinary interfaces (non-802.1q), and em0 is connected to > a switch > with 802.1q support. > maybe off-topic but when buying switches make sure it's clearly written "802.1Q support". There are "VLAN capable" switches, some very cheap, that just block traffic between ports except between port 1 and others, but no vlan tagging.