From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 22 13:17:49 2011 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 674971065670 for ; Tue, 22 Feb 2011 13:17:49 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2B3478FC18 for ; Tue, 22 Feb 2011 13:17:48 +0000 (UTC) Received: by gxk7 with SMTP id 7so1009666gxk.13 for ; Tue, 22 Feb 2011 05:17:48 -0800 (PST) Received: by 10.91.77.15 with SMTP id e15mr3512331agl.73.1298380668337; Tue, 22 Feb 2011 05:17:48 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id e24sm1363226ana.2.2011.02.22.05.17.47 (version=SSLv3 cipher=OTHER); Tue, 22 Feb 2011 05:17:47 -0800 (PST) Message-ID: <4D63B77A.2060509@my.gd> Date: Tue, 22 Feb 2011 14:17:46 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4D639E96.70902@my.gd> <201102221318.53376.bschmidt@freebsd.org> In-Reply-To: <201102221318.53376.bschmidt@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: LAGG - interface comes up but no laggports 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, 22 Feb 2011 13:17:49 -0000 On 2/22/11 1:18 PM, Bernhard Schmidt wrote: > On Tuesday, February 22, 2011 12:31:34 Damien Fleuriot wrote: >> rc.conf >> --- >> # LINK AGGREG >> ifconfig_lagg0="laggproto failover laggport em0 laggport em1" >> ipv4_addrs_lagg0="192.168.1.3/29" >> ifconfig_lagg0="inet6 fe80::3/64" > > You are overwriting the variable, you have to use some alternative or > move everything into one statement. > Good call, it now works correctly: lagg0: flags=8843 metric 0 mtu 9014 options=19b ether 00:15:17:37:17:e6 inet6 fe80::215:17ff:fe37:17e6%lagg0 prefixlen 64 scopeid 0x5 inet 192.168.1.3 netmask 0xfffffff8 broadcast 192.168.1.7 nd6 options=3 media: Ethernet autoselect status: active laggproto failover laggport: em1 flags=0<> laggport: em0 flags=5 You'll notice that using ipv6_addrs didn't work, as the interface is using an automatic address instead of fe80::3/64 which I tried to set. I suppose I could use the crontab for this, @reboot ifconfig lagg0 inet6 fe80::3/64 , or perhaps rc.local Thanks for the help everyone, this was becoming frustrating.