一、linux设置动态ip
1.BOOTPROTO=dhbp 动态ip
2.ONBOOT=yes **网卡
3.下方注释

linux-设置静动态ip


二、linux设置静态ip
1.BOOTPROTO=static 静态ip
2.ONBOOT=yes **网卡
3.下方注释去掉

相关文章: