From owner-freebsd-questions@FreeBSD.ORG Tue Apr 29 23:30:23 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AB2A1065672 for ; Tue, 29 Apr 2008 23:30:23 +0000 (UTC) (envelope-from matt@conundrum.com) Received: from coke.conundrum.com (coke.conundrum.com [216.235.9.139]) by mx1.freebsd.org (Postfix) with ESMTP id AF93B8FC21 for ; Tue, 29 Apr 2008 23:30:22 +0000 (UTC) (envelope-from matt@conundrum.com) Received: from [192.0.2.59] (fw01.cr.crp.cira.ca [192.228.22.245]) by coke.conundrum.com (8.13.1/8.12.6) with ESMTP id m3TMw25B009415; Tue, 29 Apr 2008 18:58:13 -0400 (EDT) (envelope-from matt@conundrum.com) Message-Id: <1583208D-3D15-4EFD-8ED4-68C5DA4B5AE3@conundrum.com> From: Matthew Pounsett To: freebsd-questions@freebsd.org Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-9--725555760" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 29 Apr 2008 18:57:57 -0400 X-Pgp-Agent: GPGMail d51 (Leopard) X-Mailer: Apple Mail (2.919.2) Subject: lagg(4)/vlan(4) on-boot configuration problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 23:30:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-9--725555760 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I'm trying to get a bonded vlan up using the new lagg driver on 6.3- RELEASE. I seem to be having problems with getting the network to configure at boot time, and I think I've found the reason. It would appear that order of operations is very important when configuring a lagg device. If I do this... # ifconfig lagg0 create # ifconfig lagg0 up laggproto failover laggport bce0 laggport bce1 # ifconfig lagg0.811 create # ifconfig lagg0.811 10.4.11.41/24 # ifconfig bce0 up # ifconfig bce1 up ... then everything works. If I do this... # ifconfig bce0 up # ifconfig bce1 up # ifconfig lagg0 create # ifconfig lagg0 up laggproto failover laggport bce0 laggport bce1 # ifconfig lagg0.811 create # ifconfig lagg0.811 10.4.11.41/24 ... then the lagg0.811 interface is useless, however no errors are emitted during configuration. It would appear that /etc/rc.d/netif is probably doing the latter, as when I try to configure the above interface using rc.conf nothing works. This is the relevant rc.conf block I'm using: cloned_interfaces="lagg0 lagg0.811" ifconfig_lagg0="up laggproto failover laggport bce0 laggport bce1" ifconfig_lagg0_811="10.4.11.41/24" ifconfig_bce0="up" ifconfig_bce1="up" Does anyone have suggestions for things I might be doing wrong here, before I file a bug? Thanks, Matt --Apple-Mail-9--725555760 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkgXp/YACgkQmFeRJ0tjIxHVpQCfXNW9coxuP7uwGH7SyddxdPvz nhYAoJVhVgKNMxDiCz58zRLWZiMMyIZz =Tsif -----END PGP SIGNATURE----- --Apple-Mail-9--725555760--