虚拟机配置静态ip

 

参考地址  https://www.cnblogs.com/maowenqiang/articles/7727910.html

TYPE=Ethernet
BOOTPROTO="static"
NAME=ens33
DEVICE=ens33
ONBOOT=yes
IPADDR=192.168.146.200
NETMASK=255.255.255.0
GATEWAY=192.168.146.2

DNS1=8.8.8.4

 

 

posted @ 2019-05-02 17:25  代码让自己变强  阅读(281)  评论(0编辑  收藏  举报