From owner-freebsd-net@FreeBSD.ORG Sun Sep 17 10:59:48 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45E9916A417 for ; Sun, 17 Sep 2006 10:59:48 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF32843D5D for ; Sun, 17 Sep 2006 10:59:47 +0000 (GMT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (mwlucas@localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10) with ESMTP id k8HAxkNG052475; Sun, 17 Sep 2006 06:59:46 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.12.10/8.12.10/Submit) id k8HAxkwt052474; Sun, 17 Sep 2006 06:59:46 -0400 (EDT) (envelope-from mwlucas) Date: Sun, 17 Sep 2006 06:59:46 -0400 From: "Michael W. Lucas" To: Robert Blacquiere Message-ID: <20060917105946.GA52413@bewilderbeast.blackhelicopters.org> References: <20060907025648.GA22003@bewilderbeast.blackhelicopters.org> <20060907091520.GB87346@bombur.guldan.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060907091520.GB87346@bombur.guldan.demon.nl> User-Agent: Mutt/1.4.1i X-Spam-Score: (0) X-Scanned-By: MIMEDefang 2.39 Cc: "Michael W. Lucas" , net@freebsd.org Subject: Re: problems with ng_fec 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: Sun, 17 Sep 2006 10:59:48 -0000 Thank you, this was exactly right. Just had to wait for maintenance day to try it. (copying the list for the archives) On Thu, Sep 07, 2006 at 11:15:20AM +0200, Robert Blacquiere wrote: > On Wed, Sep 06, 2006 at 10:56:48PM -0400, Michael W. Lucas wrote: > > > > Hi, > > > > (asked this first on -questions, but it seems that this exceeds their > > wisdom...) > > > > I'm using a recent -current on amd64, and trying to use ng_fec to > > hopefully provide a wide-bandwidth connection with cable-level > > redundancy, and instead I get get errors and sporadic connectivity. > > > > I configured fec0 as such: > > > > #!/bin/sh > > > > ngctl mkpeer fec dummy fec > > ngctl msg fec0: add_iface '"em3"' > > ngctl msg fec0: add_iface '"em7"' > > ngctl msg fec0: set_mode_inet > > ifconfig fec0 up > > ifconfig fec0 inet 10.184.1.19 netmask 255.255.0.0 > > > > The Cisco 6509 I was attached to had ports configured with: > > > > switchport trunk encapsulation dot1q > > switchport mode trunk > > You need a port channel interface and make the switchports member of the > port channel. > > some thing like: > > ! > interface Port-channel1 > description 2 combined interfaces to freebsd fec0 > switchport > ! only needed for vlan tagging... > ! switchport trunk encapsulation dot1q > ! switchport trunk allowed vlan x,y,z,... > ! switchport mode trunk > ! mtu 9216 > no ip address > > interface GigabitEthernet5/1 > description UPLINK #1 > switchport > ! needer only for vlan tagging > ! switchport trunk encapsulation dot1q > ! switchport trunk allowed vlan x,y,z,... > ! switchport mode trunk > ! mtu 9216 > no ip address > no cdp enable > channel-group 1 mode on > > interface GigabitEthernet5/2 > description UPLINK #2 > switchport > ! needer only for vlan tagging > ! switchport trunk encapsulation dot1q > ! switchport trunk allowed vlan x,y,z,... > ! switchport mode trunk > ! mtu 9216 > no ip address > no cdp enable > channel-group 1 mode on > > > > > > When I tried to ping various hosts, however, I got sporadic and > > intermittent connectivity to other hosts on the network. > > This is spanning tree behavour.... > > > > > Dmesg follows after log entries. > > > > Any suggestions? > > > > Thanks, > > ==ml > > Hopeful this will give you a head start in configuring the cisco. > > Robert > -- > Microsoft: Where do you want to go today? > Linux: Where do you want to go tomorrow? > FreeBSD: Are you guys coming or what? > OpenBSD: Hey guys you left some holes out there! -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: PGP & GPG -- http://www.pgpandgpg.com "The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur