> This page is for Base Command Manager Deployment Guide.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/reference-architectures/llms.txt.

# Configure the Head Node Network Interfaces

In this section, the primary head node is configured with a bonded LACP interface on the N-S internal network. This interface is used for node image deployment as well as BCM management.

The head node is also configured to use the Pre-RHEL7 naming convention. This is a convenience option, as referring to traditional interface names (eth0, eth1) instead of the Post-RHEL7 scheme (ens192, enp0s3) can be easier when managing a large number of nodes with varying interfaces.

In this example, eth0 and eth1 are the integrated device interfaces on the out-of-band network, and eth1 and eth2 are the DPU interfaces on the N-S internal network.

Details required to complete this section, with example values used in this guide:

| Parameter               | Example Value   |
| ----------------------- | --------------- |
| Existing interface name | ens224          |
| IP address              | 192.168.100.253 |
| Bond interfaces         | eth2 eth3       |

> **Note**
>
> Where applicable these values will be displayed in red. Be sure to replace all example values with actual information relevant to the target environment.

## Configure GRUB

The first stage is to update the interfaces in the base operating system. This is typically handled by GRUB (Grand Unified Bootloader) and can be edited and updated using the commands below.

1. As a precaution, back up the existing grub configuration.

   ```bash
   root@nvidia-era-bcm-01:# cp /etc/default/grub /etc/default/grub.BAK
   ```

2. Edit the grub configuration by amending the line `GRUB_CMDLINE_LINUX_DEFAULT` to include `net.ifnames=0`.

   In this example nano is used as the editor, but the administrator should use the editor they are most comfortable with.

   ```bash
   root@nvidia-era-bcm-01:~# nano /etc/default/grub
   ```

   ![The /etc/default/grub file open in the nano editor, showing the GRUB\_CMDLINE\_LINUX\_DEFAULT line amended to include net.ifnames=0](/reference-architectures/_fern-files/_img/a4863ad389152d888c5de09f347a857b0ca8d137c8498a2e39c4b7f74cdd4e8a.webp)

   Save (ctrl+s) and exit (ctrl+x).

3. Run the command `update-grub` for the changes to take effect on subsequent reboots. However, do not reboot the system yet.

   ```bash
   root@nvidia-era-bcm-01:~# update-grub
   ```

   The resulting output should be similar as below.

   ![Terminal output from the update-grub command showing the grub configuration being updated](/reference-architectures/_fern-files/_img/b3db260b485b7ad8f22f5aabd58311ba72ca3e90d701f3183baf8f7684b9384d.webp)

## Configure the Head Node Interfaces in cmsh

Next, configure BCM to also use the traditional interface names.

1. Enter cmsh.

   ```bash
   root@nvidia-era-bcm-01:~# cmsh
   ```

2. Enter the device mode.

   ```text
   [nvidia-era-bcm-01]% device
   ```

3. Select the active head node (in this example, using the "master" alias).

   ```text
   [nvidia-era-bcm-01->device]% use master
   ```

4. Enter the interfaces submenu.

   ```text
   [nvidia-era-bcm-01->device[nvidia-era-bcm-01]]% interfaces
   ```

5. List the current interfaces, noting the network device name and IP.

   ```text
   [nvidia-era-bcm-01->device[nvidia-era-bcm-01]->interfaces]% list
   ```

   ![Output of the list command showing the existing ens224 interface on internalnet.](/reference-architectures/_fern-files/_img/c64f45636b2d79ddab2fcd12b2e0b3b1fbec8151828ebaf572d71ed88c724f9f.webp)

6. Remove the existing interface(s). In this case, the interface is called ens224.

   ```text
   [nvidia-era-bcm-01->device[nvidia-era-bcm-01]->interfaces]% remove ens224
   ```

7. Add the physical interface eth2.

   ```text
   [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*]% add physical eth2
   ```

8. After adding the interface, the context changes to the new interface. Exit to return to the interfaces submenu.

   ```text
   [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[eth2*]]% exit
   ```

9. Add the physical interface eth3.

   ```text
   [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*]% add physical eth3
   ```

10. Exit to return to the interfaces submenu.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[eth3*]]% exit
    ```

11. Add and configure the bond interface bond0.

    a. Add the bond interface.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*]% add bond bond0
    ```

    b. Disable the use of DHCP to acquire an IP address.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[bond0*]]% set dhcp no
    ```

    c. Set the IP address to the one used during installation.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[bond0*]]% set ip 192.168.100.253
    ```

    d. Set the network to internalnet.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[bond0*]]% set network internalnet
    ```

    e. Set the interfaces (members) of the bond to use the newly created physical interfaces.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[bond0*]]% set interfaces eth2 eth3
    ```

    f. Set the bonding mode to 4 (802.3ad).

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[bond0*]]% set mode 4
    ```

    g. Set the bonding options to `miimon=100` (media independent interface monitoring at 100 milliseconds.) and `xmit_hash_policy=layer3+4` (transmit hash policy).

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[bond0*]]% set options "miimon=100 xmit_hash_policy=layer3+4"
    ```

12. Exit to return to the interfaces submenu.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*[bond0*]]% exit
    ```

13. List and verify the interfaces.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*]% list
    ```

    ![Output of the list command showing the configured interfaces including eth2, eth3, and bond0](/reference-architectures/_fern-files/_img/4b2a7bedf3a6f38b6927774aca99b507ccdd106e64521ca2b6324eafa3877da8.webp)

14. Exit to return to the device \[head node] submenu.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]->interfaces*]% exit
    ```

15. Set the provisioning interface to bond0.

    ```text
    [nvidia-era-bcm-01->device[nvidia-era-bcm-01]]% set provisioninginterface bond0
    ```

> **Warning**
>
> **Caution:** The next two commands should be executed in quick succession. After committing the changes to the head node interface in cmsh, a reboot is required immediately. Otherwise, remote access will be lost and recovery will require the server's remote console/KVM or other intervention.

16. Commit the changes.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]]% commit
    ```

    ![Output of the commit command showing the head node interface change with a restart required for bond0.](/reference-architectures/_fern-files/_img/3895edbd1ea1070027dbe108e03ee585af7ff948dc02dc0cb1573ce5e6c351a1.webp)

17. Reboot immediately.

    ```text
    [nvidia-era-bcm-01->device*[nvidia-era-bcm-01*]]% reboot
    ```