From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 21 11:46:13 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 7C1EC16A421 for ; Tue, 21 Aug 2007 11:46:13 +0000 (UTC) (envelope-from schwabe@uni-paderborn.de) Received: from mail.blinkt.de (mail.blinkt.de [88.198.169.219]) by mx1.freebsd.org (Postfix) with ESMTP id 40CD813C457 for ; Tue, 21 Aug 2007 11:46:11 +0000 (UTC) (envelope-from schwabe@uni-paderborn.de) Received: from dslb-084-062-202-150.pools.arcor-ip.net ([84.62.202.150] helo=styx.local) by mail.blinkt.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1INRve-000LJ1-4W; Tue, 21 Aug 2007 13:29:46 +0200 Message-ID: <46CACCA5.3050608@uni-paderborn.de> Date: Tue, 21 Aug 2007 13:29:41 +0200 From: Arne Schwabe User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: Tom Judge References: <20070821113922.B40614@mignon.ki.iif.hu> <46CAC308.7070509@tomjudge.com> In-Reply-To: <46CAC308.7070509@tomjudge.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 21 Aug 2007 12:18:54 +0000 Cc: freebsd-hackers@freebsd.org, Mohacsi Janos Subject: Re: 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 11:46:13 -0000 Tom Judge schrieb: > Mohacsi Janos wrote: >> 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? >> > > > You may want to take a look at if_lagg, it supports EtherChannel (AKA > fec), LACP and failover modes (Which is what you would need). It is > available in RELENG_6 and Current. If the switches don't support LACP/Fec over two devices use bridge_stp to simulate a switche and let spanning-tree do the failover. Arne