1.配置服务器网的IP地址
root@dhcp:~# vim /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback auto enp1s0f0 iface enp1s0f0 inet static address 172.15.1.1 netmask 255.255.255.0 auto enp1s0f1 iface enp1s0f1 inet static address 172.15.2.1 netmask 255.255.255.0 auto enp1s0f2 iface enp1s0f2 inet static address 172.15.3.1 netmask 255.255.255.0 auto enp1s0f3 iface enp1s0f3 inet static |