当前位置:网站首页>ping: www.baidu. Com: unknown name or service

ping: www.baidu. Com: unknown name or service

2022-06-24 21:28:00 Fly link

Screenshot of error reporting

 Insert picture description here

Error reason

I am because of a configuration error , Unable to resolve the network

Modify the result

  1. Modify the virtual machine network configuration

    vim /etc/sysconfig/network-scripts/ifcfg-ens33
    
    TYPE="Ethernet"
    PROXY_METHOD="none"
    BROWSER_ONLY="no"
    BOOTPROTO="static"
    DEFROUTE="yes"
    IPV4_FAILURE_FATAL="no"
    IPV6INIT="yes"
    IPV6_AUTOCONF="yes"
    IPV6_DEFROUTE="yes"
    IPV6_FAILURE_FATAL="no"
    IPV6_ADDR_GEN_MODE="stable-privacy"
    NAME="ens33"
    UUID="b605847f-7e41-4a79-9343-8e84e694957d"
    DEVICE="ens33"
    ONBOOT="yes"
    
    
    IPADDR=192.168.10.101
    GATEWAY=192.168.10.2
    DNS1=192.168.10.2
    
  2. Modify the host configuration
     Insert picture description here

  3. modify VMware To configure
     Insert picture description here
     Insert picture description here
     Insert picture description here

原网站

版权声明
本文为[Fly link]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/175/202206241432352903.html