CentOS配置通过DHCP的方式动态获取IP
修改/etc/sysconfig/network
NETWORKING=yes
修改/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
修改/etc/sysconfig/network
NETWORKING=yes
修改/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp