Configure multi-vNIC for Ubuntu instances

For Ubuntu instances to use multiple vNICs, the network interfaces must be configured within the operating system.

Complete the following steps to configure the network interfaces:

  1. Log in to the Ubuntu instance and become root.
  2. Run the following command:

    ip a

  3. Make note of the interface names.
  4. Edit /etc/network/interfaces:

    Repeat the lines for the primary interface, replacing the interface name with that of the secondary interface. For example, to enable interface ens4 add the followiong lines:

    auto ens4iface ens4 inet dhcp

  5. Run the following command:

    service networking restart


These instructions will bring up the network interfaces and allow them to receive IPs. If additional networking configuration is desired, refer to the Ubuntu documentation