Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2008 18:57:57 -0400
From:      Matthew Pounsett <matt@conundrum.com>
To:        freebsd-questions@freebsd.org
Subject:   lagg(4)/vlan(4) on-boot configuration problems
Message-ID:  <1583208D-3D15-4EFD-8ED4-68C5DA4B5AE3@conundrum.com>

next in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1583208D-3D15-4EFD-8ED4-68C5DA4B5AE3>