Follow

Configuring multi-vNIC for CentOS instances

For CentOS instances to be able to use multiple vNICs, the network interfaces must be configured within the OS. Follow these steps to configure the network interfaces.

  1. In the Ignite management console, go to the Profile of the problematic instance.  Make note of the MAC Addresses for each vnic (in this example, B4:D1:35:00:03:6A for vNIC 0 and B4:D1:35:00:03:6B for vNIC 1).
  2. Log into the CentOS instance.
  3. Run cd /etc/sysconfig/network-scripts then ls. If there aren't ifcfg-eth# files for all of the vnics, those files will need to be created. For example, if two vnics are attached, there should be ifcfg-eth0 and ifcfg-eth1.
  4. To create a copy of the ifcfg-eth0 file, run cp ifcfg-eth0 ifcfg-eth1.
  5. Edit the ifcfg-eth# files as follows:
    • 5a: Run vi /etc/sysconfig/network-scripts/ifcfg-eth0.  Type i to input data, and add the HWADDR={MAC Address} entry noted in the first step. Set ONBOOT=yes if it's not set to that already. Press ESC and type :wq to write the changes and exit.eth0.PNG
    • 5b: Run vi /etc/sysconfig/network-scripts/ifcfg-eth1.  Type i to input data, and add the HWADDR={MAC Address} entry noted in the first step. Set ONBOOT=yes if it's not set to that already. Change DEVICE="eth0" to DEVICE="eth1", and remove the UUID line so it doesn't conflict with eth0. Press ESC and type :wq to write the changes and exit.eth1.PNG
    • 5c: Run ifup eth0 and ifup eth1 to start the network interfaces.

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

 

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

Comments