CentOS配置通过DHCP的方式动态获取IP

修改/etc/sysconfig/network

NETWORKING=yes

修改/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp

参考
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/3/html/System_Administration_Guide/s1-dhcp-configuring-client.html

posted @ 2017-07-09 16:46  乔栋  阅读(2335)  评论(0编辑  收藏  举报