链接
Log in as root user; Open /etc/sysconfig/network-scripts/ifcfg-eth0 file; Replace BOOTPROTO=dhcp with BOOTPROTO=none Add the following lines: IPADDR=PREFIX= GATEWAY= DNS1=

链接
Log in as root user; Open /etc/sysconfig/network-scripts/ifcfg-eth0 file; Replace BOOTPROTO=dhcp with BOOTPROTO=none Add the following lines: IPADDR=PREFIX= GATEWAY= DNS1=