Configuring additional ETH interfaces in CentOS

Assuming you already have an ETH0 configured and working, log in at the console and configure it just like a normal RHEL/CentOS nic configuration:

  1. cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth1
  2. vim /etc/sysconfig/network-scripts/ifcfg-eth1
    1. Update the ETH # to the next in line.  (ETH0 to ETH1…)
    2. Update the correct IP & Subnet
    3. :wq
  3. service network restart
  4. run ifconfig to ensure the settings have taken effect

You may also like