From owner-freebsd-net@FreeBSD.ORG Thu Sep 7 09:15:30 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 BC5BC16A4DA for ; Thu, 7 Sep 2006 09:15:30 +0000 (UTC) (envelope-from robert@guldan.demon.nl) Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FF9B43D55 for ; Thu, 7 Sep 2006 09:15:30 +0000 (GMT) (envelope-from robert@guldan.demon.nl) Received: from guldan-dsl.demon.nl ([83.160.7.100]:56589) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1GLFyq-0009rd-PE; Thu, 07 Sep 2006 09:15:28 +0000 Received: from bombur.guldan.demon.nl ([192.168.201.3] helo=localhost) by guldan-dsl.demon.nl with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GLFyh-000Mnn-LY; Thu, 07 Sep 2006 11:15:27 +0200 Date: Thu, 7 Sep 2006 11:15:20 +0200 From: Robert Blacquiere To: "Michael W. Lucas" Message-ID: <20060907091520.GB87346@bombur.guldan.demon.nl> References: <20060907025648.GA22003@bewilderbeast.blackhelicopters.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060907025648.GA22003@bewilderbeast.blackhelicopters.org> User-Agent: Mutt/1.4.1i X-Disclaimer: running FreeBSD X-SA-Exim-Connect-IP: 192.168.201.3 X-SA-Exim-Mail-From: robert@guldan.demon.nl X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.guldan.demon.nl X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.3 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on guldan-dsl.demon.nl) Cc: 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: Thu, 07 Sep 2006 09:15:30 -0000 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!