Introduction


The Bamboo B1000N platform supports multiple 10Gbe interfaces on each compute node. By default these interfaces are addressed independently however, based on requirement, the ports can be aggregated into a single, redundant 20Gbe bond.


NOTE: This configuration is recommended in conjunction with a Full Bandwidth chassis network configuration. See: (https://bamboosystems.freshdesk.com/a/solutions/articles/69000320912)


Instructions


Prerequisites


In order to create a redundant port bond you will require a valid IP address along with the associated subnet mask, default gateway and DNS server/s


1. Compute Node Configuration


Connect to the first Bamboo B1000N compute nodes via SSH. Authenticate with valid credentials (default credentials are covered here - (B1000N - Factory default accounts and credentials). Once connected navigate to -


$ cd /etc/netplan


Backup the existing netplan yaml configuration file


$ cp 00-installer-config.yaml ./00-installer-config.yaml.bak


Now we can edit the netplan yaml file to include a network bond. In this example we will edit the yaml file with nano

$ nano 00-installer-config.yaml


Use the below example to create a new network bond named bond0. Edit all areas marked in Bold/Italic to match your environment


network:
    version: 2
    renderer: NetworkManager
    ethernets:
        eth1:
            dhcp4: false
            optional: true
        eth2:
            dhcp4: false
            optional: true
    bonds:
        bond0:
            interfaces: [eth1, eth2]
            addresses: [<Bond IP Address>/<Subnet i.e. /24>]
            gateway4: <Gateway IP Address>
            parameters:
                mode: 802.3ad
      routes:
        - to: <Network route IP Address / Subnet i.e. /24>
          via: <IP Address of Bond0>
          metric: 100
            nameservers:
                addresses: [<Primary DNS Server  IP Address>, <Secondary DNS Server IP Address>]
            dhcp4: false
            optional: true


Example - 


network:
  version: 2
  renderer: NetworkManager
  ethernets:
    eth1:
      dhcp4: false
      optional: true
    eth2:
      dhcp4: false
      optional: true
  bonds:
    bond0:
      interfaces: [eht1, eth2]
      addresses: 
        - 172.16.10.50/24
      gateway4: 172.16.10.1
      parameters:
        mode: 802.3ad
      routes:
        - to: 172.16.10.0/24
          via: 172.16.10.50
          metric: 100
      nameservers:
        addresses: [172.16.10.1, 8.8.8.8]
      dhcp4: false
      optional: true



Once the YAML file is correctly edited use ctlr+x to commit the changes to the file and apply the configuration with - 


$netplan apply


Check the bond is created with NetworkManager - 


$nmcli

example output 



Repeat all steps on the remaining Bamboo Systems B1000N compute nodes

 


2. Switch Configuration


Connect via SSH to the Bamboo B1000N Chassis Management Controller (CMC). Authenticate with valid credentials (default credentials are covered here - https://bamboosystems.freshdesk.com/a/solutions/articles/69000253259). Once connected navigate to the first Bamboo B1000N internal layer  -


$ bac connect -e Blade1_Switch

This will automatically connect to the first blades internal layer 3 switch CLI console. Once connected paste the below extract into the console to create multiple dual port LACP LAG's on the switch. These dual port LACP LAGs will correspond to the ports connected to each Bamboo B1000N Compute node.


config
interface range te1-2
channel-group 2 mode auto
exit
interface range te3-4
channel-group 3 mode auto
exit
interface range te5-6
channel-group 4 mode auto
exit
interface range te7-8
channel-group 5 mode auto
exit


Repeat this process for Blade 2's internal layer 3 switch by 


$ bac connect -e Blade2_Switch

 once connected paste the below 


config
interface range te1-2
channel-group 2 mode auto
exit
interface range te3-4
channel-group 3 mode auto
exit
interface range te5-6
channel-group 4 mode auto
exit
interface range te7-8
channel-group 5 mode auto
exit


3. Summary


With the above steps completed your Bamboo Systems B1000N compute nodes will all have a single redundant active/active 20Gbe Link Aggregated Port