Skytap
Tips for Skytap
Tips
Add an extra IP address to an existing interface
Add an extra IP address to an existing interface in Red Hat Enterprise Linux/CentOS 7
Adding a new network-scripts file in /etc/sysconfig/network-scripts/
touch ifcfg-ens160:2
Edit file ifcfg-ens160:2
NAME="ens160:2" ONBOOT="yes" BOOTPROTO="static" IPADDR="10.0.0.2" NETMASK="255.255.255.0"
Restart
systemctl restart network
Checking
ip a