Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-15-2017, 10:21 PM
|
#1
|
Member
Registered: Jun 2008
Posts: 138
Rep:
|
Centos7 does not able to ping internet (google.com/hotmail.com/etc)
I have Centos7 core(openstack "fuel-community-10.0.iso") VM is installed. This VM is behind firewall. DNS is properly configured in /etc/resolv.conf. NSLOOKUP is properly resolving domain names. However when I ping any external domain name it is not happening. Even I disabled selinux from /etc/selinux/config and rebooted VM. The same permission is given to windows machines and ping response is fine.
|
|
|
02-15-2017, 11:05 PM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
Which VM? Version? Are you using bridged networking or NAT (I'm guessing the latter)?
FWIW, here's a vbox bug report (which may or may not be relevant)...
https://www.virtualbox.org/ticket/15575
|
|
|
02-15-2017, 11:20 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,888
|
I have a CentOS 7 VM in VirtualBox on Slackware --Current using a bridged adapter. I can ping internet sites without issue.
I don't have a solution to offer, but I can say that, whatever your issue is, it's local to your configuration.
|
|
|
02-15-2017, 11:29 PM
|
#4
|
Member
Registered: Jun 2008
Posts: 138
Original Poster
Rep:
|
NAT. I am using VMplayer12 on windows machine
|
|
|
02-16-2017, 02:03 AM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
Quote:
DNS is properly configured in /etc/resolv.conf. NSLOOKUP is properly resolving domain names. However when I ping any external domain name it is not happening.
|
Hmmm... perhaps have a look at /etc/nsswitch.conf and make sure that the name resolution service order is not causing the problem
Code:
grep hosts /etc/nsswitch.conf
|
|
|
All times are GMT -5. The time now is 03:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|