hyper-v虚拟机centos7设置静态ip

2025-04-21 08:15:14

1、点击设置

hyper-v虚拟机centos7设置静态ip

2、设置一个不动态分配ip的网卡

hyper-v虚拟机centos7设置静态ip

3、设置好过后,查看该网卡的ip

hyper-v虚拟机centos7设置静态ip

4、编辑网卡的配置文件

hyper-v虚拟机centos7设置静态ip

5、修改如下

hyper-v虚拟机centos7设置静态ip

6、重启网络

hyper-v虚拟机centos7设置静态ip

7、查看centos的ip发现已经生效了

hyper-v虚拟机centos7设置静态ip

8、测试和主机通信

hyper-v虚拟机centos7设置静态ip
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢