LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-26-2015, 10:28 AM   #1
sharky
Member
 
Registered: Oct 2002
Posts: 569

Rep: Reputation: 84
Cannot get virtualbox centos client connected to network.


The host machine is a company Windows 7 laptop on a corporate network. I have two virtualbox machines. One is Ubuntu 15.04 and the other is CentOS 7.

The VBox settings are identical for both machines but I cannot get networking on the Centos VBox. The Ubuntu VBox works fine.

A ping will hang with no error messages and trying to load a webpage in a browser times out.

Unable to paste my ifconfig output here. The Network settings gui shows "Wired" as "Connected 1000Mb/s". IPv4 is on and Addresses is set to Automatic (DHCP). DNS and Routes are both set to Automatic.

Wish I could provide more details. I welcome all comments, suggestions, or advice.

Cheers,
 
Old 06-26-2015, 06:58 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,459
Blog Entries: 28

Rep: Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175Reputation: 6175
In CentOS, what are the contents of the network configuration files?

They are listed here, so I won't bother to type out their names:
https://www.centos.org/docs/5/html/5...pts-files.html

Note the warning at the bottom of that page.
 
Old 06-27-2015, 03:39 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by sharky View Post
Unable to paste my ifconfig output here
Would a screenshot be possible?

Quote:
Wish I could provide more details. I welcome all comments, suggestions, or advice.
When you run ifconfig (does it actually exist in Centos 7? I thought it's obsolete now), or ip addr, do you see an IP address? Also of importance is the routing table, ip route will show it. You need a valid default route.

VBOX allows unplugging the "cable". Check that as well.

With Centos 7, I had the funny problem that udev ignores interfaces with certain MAC addresses. I managed to give my VM precisely those addresses; took me ages to figure this out. But if you see the interfaces in the ifconfig or ip addr output, that shouldn't be the case.
 
Old 06-29-2015, 10:47 AM   #4
sharky
Member
 
Registered: Oct 2002
Posts: 569

Original Poster
Rep: Reputation: 84
Took my work laptop home and Centos connected with not issue.

Something at work is preventing the CentOS from connecting. My network setting are identical (at least as far as I can tell) between the two virtual machines but one works and the other does not.

I even manually cut and pasted the settings from the .vbox files and still one works and the other does not.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VPN Client can't get to IPSec connected network zhjim Linux - Networking 1 06-06-2012 01:24 AM
VirtualBox PXE Boot CentOs 64bit Client install hangs after Dquot-cache spook2 Linux - Enterprise 5 02-20-2012 06:46 AM
CentOS in one VirtualBox, Windows in another - can I set up Samba in the CentOS VB? ismism Linux - Newbie 10 08-08-2010 03:34 PM
can't telnet to a VPN when another NIC is connected to a private network in CENTOS freeburn Linux - Networking 5 12-13-2009 04:18 PM
Setting up network between 3 Centos in Virtualbox matt123 Linux - Networking 6 10-27-2009 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration