From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 21 09:53:42 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C278C16A468 for ; Tue, 21 Aug 2007 09:53:42 +0000 (UTC) (envelope-from mohacsi@niif.hu) Received: from mail.ki.iif.hu (mail.ki.iif.hu [IPv6:2001:738:0:411::241]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB0513C48E for ; Tue, 21 Aug 2007 09:53:42 +0000 (UTC) (envelope-from mohacsi@niif.hu) Received: from localhost (localhost [IPv6:::1]) by mail.ki.iif.hu (Postfix) with ESMTP id 1926584814 for ; Tue, 21 Aug 2007 11:53:41 +0200 (CEST) X-Virus-Scanned: by amavisd-new at mignon.ki.iif.hu Received: from mail.ki.iif.hu ([127.0.0.1]) by localhost (mignon.ki.iif.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IjBFgQ5gCIiD for ; Tue, 21 Aug 2007 11:53:38 +0200 (CEST) Received: by mail.ki.iif.hu (Postfix, from userid 9002) id C0CEB84720; Tue, 21 Aug 2007 11:53:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.ki.iif.hu (Postfix) with ESMTP id BFB63845B0 for ; Tue, 21 Aug 2007 11:53:36 +0200 (CEST) Date: Tue, 21 Aug 2007 11:53:36 +0200 (CEST) From: Mohacsi Janos X-X-Sender: mohacsi@mignon.ki.iif.hu To: freebsd-hackers@freebsd.org Message-ID: <20070821113922.B40614@mignon.ki.iif.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: vlan taggging on etherchannel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2007 09:53:42 -0000 Dear All, What is the recommended way to configure vlan interfaces on etherchannel bonded interfaces in a failure mode. I found, that etherchannel is supported by ng_fec(4) (but not exactly what I want) and also found that there two? way of configuring vlans: vlan(4) and ng_vlan(4). But I did not found any description or configuration snippet to configure both preferentially via /etc/rc.conf neither in FreeBSD 6.x-stable, neither in FreeBSD-7.0-current. What I want to achieve: [switch1]-----GE---bge0----\ /----vlan100 }=={-----vlan101 [switch2]-----FE---bge1----/ \----vlan102 \---vlan103 I would like to prefer all the vlans via bge0 with GE towards switch1. And use only bge1 in case of switch1 or bge0 link failure. I could use bond on Linux for this purpose. How to achieve similar setup? Best Regards, Janos Mohacsi Network Engineer, Research Associate, Head of Network Planning and Projects NIIF/HUNGARNET, HUNGARY Key 70EF9882: DEC2 C685 1ED4 C95A 145F 4300 6F64 7B00 70EF 9882