Skytap

From Wiki
Revision as of 17:45, 5 September 2020 by Ebasso (talk | contribs) (Criou a página com "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 Add...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Ver também