Can't ping www.google.com or other domains centos 7












0














So I'm currently using a VSphere for a virtual network and I'm currently trying to set up a centos 7 sever to be able to connect to the internet.



Static ip Configuration:
Static ip Configuration



ip -a results:
ip -a results



I able able to ping the other servers on my virtual network but when I try to ping www.google.com i get:



ping: www.google.com: Name or Service not known


I've tried looking up numerous guides but nothing has worked. This is a fresh Centos 7 server on my virtual network. If anyone has any tips/advice I would appreciate it



-I can ping ip addresses outside of my virtual local network



Jorge, I cannot use the dig command because it's not found, but when I try to yum install the bind/bind-utils to use it doesn't work because of name resolution failure aswell










share|improve this question




















  • 3




    (1) Please post text as text, not as screenshots.  (2) Can you ping IP addresses, such as 8.8.8.8? Please do not respond in comments; edit your question to make it clearer and more complete.
    – Scott
    Dec 6 at 1:22










  • Yes it I can ping 8.8.8.8 and also other server on my virtual network such as 10.161.10.2, 10.161.10.50, etc.
    – reed sager
    Dec 6 at 1:26










  • Sorry, I should have been clearer.   I should have asked ''Can you ping hosts outside your network by their IP addresses?''  Thank you for answering that, but please edit your question and say it there.
    – Scott
    Dec 6 at 1:29












  • Can you dig @8.8.8.8 google.com?
    – Jorge Valentini
    Dec 6 at 1:55


















0














So I'm currently using a VSphere for a virtual network and I'm currently trying to set up a centos 7 sever to be able to connect to the internet.



Static ip Configuration:
Static ip Configuration



ip -a results:
ip -a results



I able able to ping the other servers on my virtual network but when I try to ping www.google.com i get:



ping: www.google.com: Name or Service not known


I've tried looking up numerous guides but nothing has worked. This is a fresh Centos 7 server on my virtual network. If anyone has any tips/advice I would appreciate it



-I can ping ip addresses outside of my virtual local network



Jorge, I cannot use the dig command because it's not found, but when I try to yum install the bind/bind-utils to use it doesn't work because of name resolution failure aswell










share|improve this question




















  • 3




    (1) Please post text as text, not as screenshots.  (2) Can you ping IP addresses, such as 8.8.8.8? Please do not respond in comments; edit your question to make it clearer and more complete.
    – Scott
    Dec 6 at 1:22










  • Yes it I can ping 8.8.8.8 and also other server on my virtual network such as 10.161.10.2, 10.161.10.50, etc.
    – reed sager
    Dec 6 at 1:26










  • Sorry, I should have been clearer.   I should have asked ''Can you ping hosts outside your network by their IP addresses?''  Thank you for answering that, but please edit your question and say it there.
    – Scott
    Dec 6 at 1:29












  • Can you dig @8.8.8.8 google.com?
    – Jorge Valentini
    Dec 6 at 1:55
















0












0








0







So I'm currently using a VSphere for a virtual network and I'm currently trying to set up a centos 7 sever to be able to connect to the internet.



Static ip Configuration:
Static ip Configuration



ip -a results:
ip -a results



I able able to ping the other servers on my virtual network but when I try to ping www.google.com i get:



ping: www.google.com: Name or Service not known


I've tried looking up numerous guides but nothing has worked. This is a fresh Centos 7 server on my virtual network. If anyone has any tips/advice I would appreciate it



-I can ping ip addresses outside of my virtual local network



Jorge, I cannot use the dig command because it's not found, but when I try to yum install the bind/bind-utils to use it doesn't work because of name resolution failure aswell










share|improve this question















So I'm currently using a VSphere for a virtual network and I'm currently trying to set up a centos 7 sever to be able to connect to the internet.



Static ip Configuration:
Static ip Configuration



ip -a results:
ip -a results



I able able to ping the other servers on my virtual network but when I try to ping www.google.com i get:



ping: www.google.com: Name or Service not known


I've tried looking up numerous guides but nothing has worked. This is a fresh Centos 7 server on my virtual network. If anyone has any tips/advice I would appreciate it



-I can ping ip addresses outside of my virtual local network



Jorge, I cannot use the dig command because it's not found, but when I try to yum install the bind/bind-utils to use it doesn't work because of name resolution failure aswell







networking ping centos-7 vsphere virtual-network






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 6 at 2:02

























asked Dec 6 at 1:13









reed sager

12




12








  • 3




    (1) Please post text as text, not as screenshots.  (2) Can you ping IP addresses, such as 8.8.8.8? Please do not respond in comments; edit your question to make it clearer and more complete.
    – Scott
    Dec 6 at 1:22










  • Yes it I can ping 8.8.8.8 and also other server on my virtual network such as 10.161.10.2, 10.161.10.50, etc.
    – reed sager
    Dec 6 at 1:26










  • Sorry, I should have been clearer.   I should have asked ''Can you ping hosts outside your network by their IP addresses?''  Thank you for answering that, but please edit your question and say it there.
    – Scott
    Dec 6 at 1:29












  • Can you dig @8.8.8.8 google.com?
    – Jorge Valentini
    Dec 6 at 1:55
















  • 3




    (1) Please post text as text, not as screenshots.  (2) Can you ping IP addresses, such as 8.8.8.8? Please do not respond in comments; edit your question to make it clearer and more complete.
    – Scott
    Dec 6 at 1:22










  • Yes it I can ping 8.8.8.8 and also other server on my virtual network such as 10.161.10.2, 10.161.10.50, etc.
    – reed sager
    Dec 6 at 1:26










  • Sorry, I should have been clearer.   I should have asked ''Can you ping hosts outside your network by their IP addresses?''  Thank you for answering that, but please edit your question and say it there.
    – Scott
    Dec 6 at 1:29












  • Can you dig @8.8.8.8 google.com?
    – Jorge Valentini
    Dec 6 at 1:55










3




3




(1) Please post text as text, not as screenshots.  (2) Can you ping IP addresses, such as 8.8.8.8? Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Dec 6 at 1:22




(1) Please post text as text, not as screenshots.  (2) Can you ping IP addresses, such as 8.8.8.8? Please do not respond in comments; edit your question to make it clearer and more complete.
– Scott
Dec 6 at 1:22












Yes it I can ping 8.8.8.8 and also other server on my virtual network such as 10.161.10.2, 10.161.10.50, etc.
– reed sager
Dec 6 at 1:26




Yes it I can ping 8.8.8.8 and also other server on my virtual network such as 10.161.10.2, 10.161.10.50, etc.
– reed sager
Dec 6 at 1:26












Sorry, I should have been clearer.   I should have asked ''Can you ping hosts outside your network by their IP addresses?''  Thank you for answering that, but please edit your question and say it there.
– Scott
Dec 6 at 1:29






Sorry, I should have been clearer.   I should have asked ''Can you ping hosts outside your network by their IP addresses?''  Thank you for answering that, but please edit your question and say it there.
– Scott
Dec 6 at 1:29














Can you dig @8.8.8.8 google.com?
– Jorge Valentini
Dec 6 at 1:55






Can you dig @8.8.8.8 google.com?
– Jorge Valentini
Dec 6 at 1:55

















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381198%2fcant-ping-www-google-com-or-other-domains-centos-7%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1381198%2fcant-ping-www-google-com-or-other-domains-centos-7%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Сан-Квентин

Алькесар

Josef Freinademetz