Linux系统无法联网,解决方式
-
Linux系统无法联网,解决方式
-
首先,正常设置NAT或桥接方式,设置相关IP地址参数
-
然后,在dns服务器文件,/etc/resolv.conf 中加入虚拟机网关、本地网关地址,就可以联网了
-
-
配置yum源时显示,Could not resolve host: mirrors.163.com
-
没有dns解析,在/etc/resolv.conf中加入8.8.x.xdns信息
-
Linux系统无法联网,解决方式
首先,正常设置NAT或桥接方式,设置相关IP地址参数
然后,在dns服务器文件,/etc/resolv.conf 中加入虚拟机网关、本地网关地址,就可以联网了
配置yum源时显示,Could not resolve host: mirrors.163.com
没有dns解析,在/etc/resolv.conf中加入8.8.x.xdns信息