How to Enable Network Bonding on the Nodegrid Serial Console

How to Enable Network Bonding on the Nodegrid Serial Console

Below are the steps to configure network bonding with ETH0 and ETH1.

WebUI
  1. Open a browser, enter the Nodegrid Serial Console IP/hostname, and log in as admin
  2. Go to Network :: Connections page
  3. Click on Add, and fill out the form as follows:
    • Enter a Name for this connection
    • Set Type as Bonding
    • Select eth0 and eth1 as Primary and Secondary interfaces
    • Select Active Backup (default) or Round-robin for Bonding mode
    • Select MII (default) or ARP for Link Monitoring
    • Leave Monitoring Frequency, Link Up delay, Link Down delay, ARP target, and ARP validate as the default values, unless different settings are required
    • Select DHCP or Static for the IPv4 Mode. If Static, enter IP address, Bitmask and Gateway IP
    • Enter IPv4 DNS Server and Search, if applicable
    • Do the same for IPv6, if applicable
  4. Click on Save

CLI
  1. SSH, telnet or console in to the Nodegrid Serial Console
  2. Log in as admin
  3. Type the following commands:

- For DHCP IPv4 Mode:
add settings/network_connections/
set name=<name>
set name=bonding
save

- For Static IPv4 Mode:
add settings/network_connections/
set name=<name>
set type=bonding
set ipv4_mode=static
set ipv4_address=<IP Address>
set ipv4_bitmask=<bit mask, ie, 24>
set ipv4_gateway=<Gateway IP>
set ipv4_dns_server=<DNS IP>
set ipv4_dns_search=<Domain Name>
save

The configuration above assumes the default settings for bonding:
primary_interface = eth0
secondary_interface = eth1
bonding_mode = active_backup
link_monitoring = mii
monitoring_frequency = 100
link_up_delay = 0
link_down_delay = 0
arp_target =
arp_validate = none

Make any necessary changes on the parameters.

bonding_mode = active_backup or round-robin
link_monitoring = mii or arp

If IPv6 is required, set the appropriate ipv6 parameters.