Linux设置dhcp--动态获取ip地址

#cd /etc/networking
#vim interfaces

iface eth0 inet static ==> iface eth0 inet dhcp

下边的都删掉或者

# address xxx.xxx.xxx.xx

#netmask xx.xx.xx.xx

#xxxxxxxxxxxxx

都注释掉


版权声明:本文为weixin_55821558原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。