Chapter 4: Installing and Configuring a DSM
Configuring a Virtual Appliance
DSM Installation and Configuration Guide
Copyright 2009 - 2020 Thales Group. All rights reserved.
79
10. Show the DNS settings. Type:
0010:network$ dns show
11. Return to the main menu. Type:
0011:network$ up
Configure a bonded NIC device
This section describes how to aggregate the two NICs on the DSM into a single logical interface to provide load
balancing and/or fault tolerance. The bonded NIC device is called bond0.
Note
In order to use the bonded NICs feature, you must ensure that your switch is configured to use Link
Aggregation Control Protocol (LACP).
DSM physical appliances have two physical NICs called eth0 and eth1. Only two NICs eth0 and eth1 are supported.
Any additional physical/virtual NICs are ignored.
The NIC bonding setting is system specific. If it is to be used for all nodes in a cluster, it must be enabled on all nodes
individually.
If configured, this interface supersedes the eth0 and eth1 interface configurations and must be used to access the
appliance.
1. Access the DSM CLI and login with your credentials. If this is the first time you are logging in, then you will be
required to accept the license agreement and change the default password, see "Configure a bonded NIC device"
above.
2. Navigate to the network commands menu, type:
$ network
3. Enable the bonded NIC, type:
0001:network$ ip address init <ip_address>/<subnet_mask> dev bond0
Example
ip address init 1.2.3.4/16 dev bond0
In the event that a bonded NIC is being configured after the initial configuration, or after the DSM has been
upgraded, if you want to reuse an IP address that was originally assigned to eth0 or eth1, then you must delete
that address from eth0 or eth1 first, and then reassign it to the bond0 device.
4. Add a default gateway for the bond0 device;
0001: ip route add default table main.table dev bond0 via <gateway_ip_address>
Example:
ip route add default table main.table dev bond0 via 1.2.7.8
If a bond0 interface is configured after setting up the eth0 and/or eth1 interfaces, and it is configured with an IP
address that is on the same subnet as a default gateway, that gateway configuration continues to apply.
However, if you configure bond0 with an IP address on a different subnet, you will have to reconfigure the default
gateway.
5. You can change the bonding driver mode based on your requirements. There are seven modes available from 0-6.
See "Configure a bonded NIC device" above for more information.
When the mode option is specified the speed option cannot be specified (i.e. the options mode and speed are
mutually exclusive). In other words, bond0 does not take the speed option and both eth0 and eth1 don't take the
mode option. However, the MTU and up/down options can still be used for the bond0 device.