From owner-freebsd-questions@FreeBSD.ORG Sun Apr 27 15:51:16 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 40BE6106567D for ; Sun, 27 Apr 2008 15:51:16 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from svarun.infrax.si (syssvarun.infrax.si [89.212.81.4]) by mx1.freebsd.org (Postfix) with ESMTP id DD2258FC1B for ; Sun, 27 Apr 2008 15:51:15 +0000 (UTC) (envelope-from nejc@skoberne.net) Received: from localhost (sysSvarun.infrax.si [89.212.81.4]) by svarun.infrax.si (Postfix) with ESMTP id 897DF24AA72; Sun, 27 Apr 2008 17:51:13 +0200 (CEST) Received: from svarun.infrax.si ([89.212.81.4]) by localhost (svarun.infrax.si [89.212.81.4]) (amavisd-maia, port 10024) with ESMTP id 80156-08; Sun, 27 Apr 2008 17:51:06 +0200 (CEST) Received: from [192.168.15.2] (lk.84.20.249.154.dc.cable.static.lj-kabel.net [84.20.249.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nejko@infrax.si) by svarun.infrax.si (Postfix) with ESMTP id 48AC524AA71; Sun, 27 Apr 2008 17:51:06 +0200 (CEST) Message-ID: <4814A0E9.4010005@skoberne.net> Date: Sun, 27 Apr 2008 17:51:05 +0200 From: =?ISO-8859-2?Q?Nejc_=A9koberne?= User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: martes@mgwigglesworth.com, User Questions References: <1209310959.10040.116.camel@localhost> In-Reply-To: <1209310959.10040.116.camel@localhost> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard Cc: 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 15:51:16 -0000 Hey, > I am sure this topic has been discussed before, however, I have been > coming across unanswered inquiries within the last two months about > possibly using the trunking aspect of 802.1q standard network routing, > with only freebsd. > > I have attempted to create mulitple vlan interfaces and have failed, on > 6.3-Stable. > > Does anyone know if the vlan emplimentation on Freebsd allows for > trunking or, at the least, multiple vlans per physical device? 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. HTH, Nejc