Configuring multi-vNIC for Ubuntu instances

Follow these steps to configure multiple network interfaces for Ubuntu instances.

  1. Log into the Ubuntu instance and become root.
  2. Run ip a. Make note of the interface names.
  3. Edit /etc/network/interfaces as follows:
    • Repeat the lines for the primary interface, replacing the interface name with that of the secondary interface
    • For example, to enable interface ens4 add these lines:
      • auto ens4
      • iface ens4 inet dhcp
  4. Run service networking restart.

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

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request