I have a server with 5 interfaces. All 1Gbps, 4 of which are on an intel 4 port card.
I have set up LACP with the 4 Intel ports - working fine with a procurve switch, ifconfig shows it having 4Gbps connection. I also have numerous vlans running over this without issue, all for servicing jails.
The remaining 1Gbps port is on a Broadcom interface - and I use this for connecting to the host for admin.
One thing I can't seem to understand, in my configuration I have the following line:
I cannot find the reason for this, but included it because numerous other tutorials have. What is the purpose of cloned_interfaces? Is it required? I can't find anything about it in ifconfig(8) man page.
In addition, for security, I wanted to disconnect the Broadcom ethernet connection - just to keep the host installation isolated from the network. I can connect it when I need to admin. When I do pull this patch cable though, the entire server (lagg0 and jails) also disconnects. I don't know if this is because FreeBSD is freaking out, or if there's some behavior I'm unaware of. But the result is I can't do what I want without complete disconnection.
Here's the setup for my lagg:
For my Broadcom interface I have:
Nothing special at all. I just don't understand why pulling this connection makes the rest go down as well.
Cheers.
I have set up LACP with the 4 Intel ports - working fine with a procurve switch, ifconfig shows it having 4Gbps connection. I also have numerous vlans running over this without issue, all for servicing jails.
The remaining 1Gbps port is on a Broadcom interface - and I use this for connecting to the host for admin.
One thing I can't seem to understand, in my configuration I have the following line:
Code:
cloned_interfaces="lagg0"
I cannot find the reason for this, but included it because numerous other tutorials have. What is the purpose of cloned_interfaces? Is it required? I can't find anything about it in ifconfig(8) man page.
In addition, for security, I wanted to disconnect the Broadcom ethernet connection - just to keep the host installation isolated from the network. I can connect it when I need to admin. When I do pull this patch cable though, the entire server (lagg0 and jails) also disconnects. I don't know if this is because FreeBSD is freaking out, or if there's some behavior I'm unaware of. But the result is I can't do what I want without complete disconnection.
Here's the setup for my lagg:
Code:
############# 4Gbps Lagg connection #########
# Bring up interfaces:
ifconfig_em0="up"
ifconfig_em1="up"
ifconfig_em2="up"
ifconfig_em3="up"
# Create lagg0
cloned_interfaces="lagg0"
ifconfig_lagg0="laggproto lacp laggport em0 laggport em1 laggport em2 laggport em3"
# Set up Vlans
vlans_lagg0="1 2 3 4 5 6"
# Create vlan interfaceson Lagg0
ifconfig_lagg0_1="inet 192.168.1.41/24"
ifconfig_lagg0_1_alias0="inet 192.168.1.45/32"
ifconfig_lagg0_3="inet 192.168.3.45/24"
For my Broadcom interface I have:
Code:
ifconfig_bge0="inet 192.168.1.40 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
Cheers.