Question regarding vlans and lagg

Louis Kowolowski louisk at
Sun Sep 13 16:33:53 UTC 2009

On Sep 12, 2009, at 4:48 PM, Marat N.Afanasyev wrote:

> * PGP - S/MIME Signed by an unverified key: September 12, 2009  
> 4:48:19 PM
> Svein Skogen (listmail account) wrote:
>> Hash: SHA1
>> Can the vlan "vlandev" be a lagg port of multiple physical interfaces
>> (for redundancy)?
>> //Svein
> i think that you should try the following:
> 1. join two ports on switch to trunk, say vport1
> 2. assign allowed vlans to this vport1
> 3. create lagg0 on freebsd
> 4. create vlan interfaces on freebsd using vlandev lagg0
> and i suppose it just should work ;)
You're looking for something along these lines:
cloned_interfaces="lagg0 vlan0 vlan1"
ifconfig_lagg0="laggproto failover laggport em0 laggport em1 up"
ifconfig_vlan0="vlan 2 vlandev lagg0 up"
ifconfig_vlan1="vlan 3 vlandev lagg0 up"

This will give you failover for your lagg(8) interface, I believe you  
can also use something like etherchannel.
Louis Kowolowski                                louisk at

Making life more interesting for people since 1977

More information about the freebsd-stable mailing list