Bước 1: Chỉnh sửa file network config
Xác định network interface name:
ip a
Mở file cấu hình network:
nano /etc/sysconfig/network-scripts/ifcfg-NETWORK_INTERFACE:ID
Thêm vào các dòng sau:
DEVICE=NETWORK_INTERFACE:ID
BOOTPROTO=static
IPADDR=IP_FAILOVER
NETMASK=255.255.255.255
BROADCAST=IP_FAILOVER
ONBOOT=yes
Bước 2: Khởi động lại Network hoặc Server
systemctl restart networking
hoặc
reboot
Truy cập IP mới kiểm tra