Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a server running Freebsd 10.0-RELEASE. I'm trying to create bridge interface with three participant interfaces, ix0, ix1 and lagg0. Lagg0 is virtual interface made from ix2 and ix3. My problem is that lagg0 is not created on boot. I can create it after the boot and it automatically takes over ix2 and ix3. After that I can manually add it to the bridge0.

I have this in my /etc/rc.conf:

if_lagg_load="YES"
ifconfig_ix0="mtu 9000 UP" 
ifconfig_ix1="mtu 9000 UP"
ifconfig_ix2="mtu 9000 UP"
ifconfig_ix3="mtu 9000 UP"
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto roundrobin laggport ix2 laggport ix3 up"
cloned_interfaces="bridge0"
ifconfig_bridge0="addm ix0 addm ix1 addm lagg0 up"

What am I doing wrong?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

There are two things that are wrong with this configuration. First of all, you have defined the cloned_interfaces variable twice. The second one will be overriding the first. You should use something like

cloned_interfaces="lagg0 bridge0"

The other thing is a minor note like arved said. if_lagg_load="YES" belongs to /boot/loader.conf. However, personally, I prefer using the kld_list variable in /etc/rc.conf for performance reasons:

kld_list="if_lagg"
share|improve this answer
add comment

if_lagg_load="Yes"

belongs into /boot/loader.conf

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.