Don't know why, I am from home to school, suddenly found with security CRT even not on virtual machine Centos7, I in the virtual machine above pings www.baidu.com, found that Destinatiion Host Unreachable, ping the Host, too, ping static IP configuration is before I can ping,,
So is this why? Ah, well before, and how all of a sudden can't ah, I didn't also change what configuration,,,,
Bosses!!!!! Save me!
CodePudding user response:
Need to set the DNS domain name
CodePudding user response:
refer to the second floor mouse_zhu response: need to set the DNS domain name This is my configuration, should be configured with the DNS, before can normal visit CodePudding user response:
Check your network adapter is normal, have IP; Then ping under your gateway 192.168.1.1, check your network adapter configuration of the virtual machine CodePudding user response:
reference 4 floor zhouchao6 response: check your nic is normal, have IP; Then ping under your gateway 192.168.1.1, check your network adapter configuration of the virtual machine The gateway ping impassability, I don't know much about this, and you help me can not see where there is a problem,, CodePudding user response:
And this CodePudding user response:
Last, choose VMnet8, NAT model, look at your Settings, something to do with your configuration is consistent, then use the ifconfig command to see the virtual machine, the network is normal CodePudding user response:
refer to 7th floor zhouchao6 response: last, choose VMnet8, NAT model, look at your Settings, something to do with your configuration is consistent, and then use the ifconfig command to see the virtual machine, the card is the normal Oh, is the gateway has a problem, CodePudding user response:
refer to the eighth floor Never compromise response: Quote: refer to 7th floor zhouchao6 response: last, choose VMnet8, NAT model, look at your Settings, something to do with your configuration is consistent, and then use the ifconfig command to see the virtual machine, the card is the normal Is the gateway has a problem,, Yes, your gateway, configuration of 192.168.1.1 to agree with you, and then take a look at your IP subnet should also be consistent, either change here or ifcfg - ens33 CodePudding user response:
references 9 f zhouchao6 response: Quote: refer to the eighth floor Never compromise response: Quote: refer to 7th floor zhouchao6 response: last, choose VMnet8, NAT model, look at your Settings, something to do with your configuration is consistent, and then use the ifconfig command to see the virtual machine, the card is the normal Is the gateway has a problem,, Yes, your gateway, configuration of 192.168.1.1 to agree with you, and then take a look at your IP subnet should also be consistent, either change here or ifcfg - ens33 I can't,,,, not mind collapse! CodePudding user response:
Centos system under the condition of invariable configuration, change your virtual machine Settings to the following CodePudding user response:
11 references zhouchao6 response: centos system under the condition of invariable configuration, change your virtual machine Settings to the following Still won't do,,,, CodePudding user response:
So you see if you choose the NAT mode CodePudding user response:
reference 13 floor zhouchao6 reply: you see if you choose a mode of NAT Well, no, at that time, with a static Ip, and then from the Internet to find posts bridge model,, CodePudding user response:
Then you change to NAT CodePudding user response:
reference 15 floor zhouchao6 response: that you had changed to NAT Tried not,,, CodePudding user response:
reference Never compromise on 16th floor response: Quote: reference 15 floor zhouchao6 response: that you had changed to NAT Tried not,,, Anyway, NAT pattern configuration is where the You want to use the bridge, it is expected to be change you centos configuration, because your computer IP network segment, the gateway should be changed, so the configuration with a computer network segment but IP, gateway should agree CodePudding user response:
refer to 17th floor zhouchao6 response: Quote: refer to Never compromise on 16th floor response: Quote: reference 15 floor zhouchao6 response: that you had changed to NAT Tried not,,, Anyway, NAT pattern configuration is where the nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull