Bước 1: Chỉnh sửa file network config
Xác định network interface name:
ip aMở file cấu hình network:
nano /etc/sysconfig/network-scripts/ifcfg-NETWORK_INTERFACE:IDThê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=yesBước 2: Khởi động lại Network hoặc Server
systemctl restart networkinghoặc
rebootTruy cập IP mới kiểm tra