Alias interfaces in CentOS 7/ RHEL 7

[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-enp3s0

HWADDR=00:15:80:99:A6:21
TYPE=Ethernet
BOOTPROTO=none
IPADDR0=212.47.x.x
NETMASK0=255.255.255.0
GATEWAY0=212.47.x.x
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_FAILURE_FATAL=no
NAME=enp3s0
IPADDR1=212.47.x.x
NETMASK1=255.255.255.0
IPADDR2=212.47.x.x
NETMASK2=255.255.255.0
IPADDR3=212.47.x.x
NETMASK3=255.255.255.0

UUID=a3fe28da-5d35-4885-9fe8-cb716c29b35a
ONBOOT=yes

Leave a Reply

Your email address will not be published.