3. After updating the 70-persistent-net.rules files, reboot the node using the reboot command.
4. After the node comes up, log in again to the console.
5. Create the ifcfg-emX files for all interfaces.
Note: A good way to create a file is using the cp and echo commands:
Example:
cp /etc/sysconfig/network/ifcfg-em3 /etc/sysconfig/network/ifcfg-em4;
echo "" > /etc/sysconfig/network/ifcfg-em4;
6. Create the following files:
l
Eth configuration files for 1 G interface as ifcfg-em3
l
Eth Configuration files for 10 G interface as (first 10 G NIC) ifcfg-em1 & ifcfg-em2
l
Eth Configuration files for 10 G interface as (second 10 G NIC) ifcfg-p2p1 & ifcfg-p2p2
Refer to the following commands as examples for how to populate each file. Replace each use of "X" with the
relevant interface, subnet or IP address.
Example:
cp /etc/sysconfig/network/ifcfg-em3 /etc/sysconfig/network/ifcfg-em4
echo DEVICE=em3 > /etc/sysconfig/network/ifcfg-emX
echo STARTMODE=onboot >> /etc/sysconfig/network/ifcfg-emX
echo USERCONTROL=no >> /etc/sysconfig/network/ifcfg-emX
echo BOOTPROTO=static >> /etc/sysconfig/network/ifcfg-emX
echo NETMASK=X.X.X.X >> /etc/sysconfig/network/ifcfg-emX
echo IPADDR=X.X.X.X >> /etc/sysconfig/network/ifcfg-emX
echo 1 >/sys/bus/pci/rescan
sleep 2
ifup emX
7. Configure the default gateway:
echo "default <XXX.XXX.XXX.XXX> - em3 " >/etc/sysconfig/network/ifroute-emX
For example:
echo "default - em3" > /etc/sysconfig/network/ifroute-em3
Configuring network ports on Linux servers
44 VxFlex Ready Node Operating System Installation Guide for Linux