Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2006 06:59:46 -0400
From:      "Michael W. Lucas" <mwlucas@blackhelicopters.org>
To:        Robert Blacquiere <freebsd-net@guldan.demon.nl>
Cc:        "Michael W. Lucas" <mwlucas@blackhelicopters.org>, net@freebsd.org
Subject:   Re: problems with ng_fec
Message-ID:  <20060917105946.GA52413@bewilderbeast.blackhelicopters.org>
In-Reply-To: <20060907091520.GB87346@bombur.guldan.demon.nl>
References:  <20060907025648.GA22003@bewilderbeast.blackhelicopters.org> <20060907091520.GB87346@bombur.guldan.demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060917105946.GA52413>