Tolete Posted December 26, 2022 Share Posted December 26, 2022 (edited) if you have multiple ports on your server and have a switch that supports NIC teaming/LACP you can put them to work. The environment/equipment will vary. I use Cisco, but if you have a switch the supports NIC teaming/LACP the concept should be the similar. -environment diagram - - router = pfsense switch = Cisco server = Unraid 1. switch configuration - - -configure interfaces you want to use on your switch with LACP. MAINSWITCH#en MAINSWITCH#enable MAINSWITCH#conf t Enter configuration commands, one per line. End with CNTL/Z. MAINSWITCH(config)# MAINSWITCH(config)# MAINSWITCH(config)#inter MAINSWITCH(config)#interface ra MAINSWITCH(config)#interface range gig MAINSWITCH(config)#interface range gigabitEthernet 0/37-38 MAINSWITCH(config-if-range)#cha MAINSWITCH(config-if-range)#channel-g MAINSWITCH(config-if-range)#channel-group 2 mode MAINSWITCH(config-if-range)#channel-group 2 mode acc MAINSWITCH(config-if-range)#channel-group 2 mode ac MAINSWITCH(config-if-range)#channel-group 2 mode active Creating a port-channel interface Port-channel 2 MAINSWITCH(config-if-range)#shu MAINSWITCH(config-if-range)#shutdown MAINSWITCH(config-if-range)# -This also creates the logical interface on the switch as a 'port-channel #' and shuts it down. 2. Next, configure the newly created logical interface 'port-channel #' to mode access -Also what VLAN the interface has access to (optional). MAINSWITCH# MAINSWITCH#en MAINSWITCH#enable MAINSWITCH#conf t Enter configuration commands, one per line. End with CNTL/Z. MAINSWITCH(config)#inter MAINSWITCH(config)#interface port MAINSWITCH(config)#interface port-c MAINSWITCH(config)#interface port-channel 2 MAINSWITCH(config-if)#swi MAINSWITCH(config-if)#switchport mode acc MAINSWITCH(config-if)#switchport mode access MAINSWITCH(config-if)#swi MAINSWITCH(config-if)#switchport acc MAINSWITCH(config-if)#switchport access vl MAINSWITCH(config-if)#switchport access vlan 40 MAINSWITCH(config-if)# 3. Next, bring all interfaces back online. MAINSWITCH#en MAINSWITCH#enable MAINSWITCH#conf t Enter configuration commands, one per line. End with CNTL/Z. MAINSWITCH(config)#inter MAINSWITCH(config)#interface ra MAINSWITCH(config)#interface range gig MAINSWITCH(config)#interface range gigabitEthernet 0/37-38 MAINSWITCH(config-if-range)#no shut MAINSWITCH(config-if-range)#no shutdown MAINSWITCH(config-if-range)# 4. check running configuration MAINSWITCH#show running-config ! interface Port-channel2 switchport access vlan 40 switchport mode access ! interface GigabitEthernet0/37 switchport access vlan 40 switchport mode access channel-group 2 mode active ! interface GigabitEthernet0/38 switchport access vlan 40 switchport mode access channel-group 2 mode active ! once your switch is configured, over on your server. Stop the Docker service. Head over to Settings > Network Settings. Configure the interfaces on your server you would like to bond together. -if you are not able to select the interface under 'bonding members' ensure they are disabled. -mode, should be 4 Apply/Done. over on terminal you can and get some information on link status, protocol and bandwidth. cat /proc/net/bonding/bond0 /sbin/ip link ethtool bond0 🖖 Edited December 27, 2022 by Tolete Quote Link to comment
MrGrey Posted December 30, 2022 Share Posted December 30, 2022 This doesn't belong in the lounge. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.