LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices



Reply
 
Search this Thread
Old 07-17-2014, 09:20 PM   #1
ZyvexiK
LQ Newbie
 
Registered: Jul 2014
Distribution: CentOS for servers, Crunchbang for my desktop
Posts: 1

Rep: Reputation: Disabled
Question CentOS 6.5 Server Running Windows in VirtualBox


As the title suggests, I am running CentOS 6.5 on a remote server, so I only use SSH.

Since I run a gaming community that enjoys a wide variety of games, not all of them are supported by Linux, or WINE just doesn't work too well... This has led me towards running Windows in a VirtualBox install. The Windows VM can connect to the internet and everything just fine (in fact I've been running Cookie Clicker on it), however it can't seem to bind to ports, which I assume is due to the fact that it doesn't have a dedicated IP assigned to it within the VM config.

Would anyone be able to shed light on this subject? There are quite a few things I'd like to host with this VM but can't until this is resolved.
 
Old 07-18-2014, 03:32 PM   #2
netnix99
Member
 
Registered: Jun 2011
Distribution: redhat, CentOS, OpenBSD
Posts: 266

Rep: Reputation: 90
It sounds like you are running your virtual network in a NAT configuration - and you should use a bridged configuration.
 
Old 07-18-2014, 04:20 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
There are three ways to make networking in a VM.

Nat'ed, Bridged, and local vm.

While NAT is good for most things, there may be some issues. I'd assume you can usually create a situation where this would work but as noted netnix99, a bridged may work too.

The nat in a vm works because the vm has a virtual router. In your home or office you would have a real soho or better router that may have ways to configure ports and protocol via some web based or text setup. The vm isn't that advanced.


There are plenty of web pages devoted to configuring this but they tend to be windows hosts. It almost all cases a vm client is a real computer for networking thinking. The rules of TCP/IP don't change. How the host and your local lan work may affect this since NAT addresses tend to be outside your local lan subnet.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Centos 6.4 in virtualbox on windows 7 32Bits maliroc Linux - Virtualization and Cloud 0 10-26-2013 04:45 AM
LXer: VBoxHeadless - Running Virtual Machines With VirtualBox 4.1 On A Headless CentOS 6.2 Server LXer Syndicated Linux News 0 07-09-2012 05:50 PM
[SOLVED] CentOS running on Ubuntu's VirtualBox wagaboy Linux - Virtualization and Cloud 6 04-25-2011 08:27 PM
CentOS in one VirtualBox, Windows in another - can I set up Samba in the CentOS VB? ismism Linux - Newbie 10 08-08-2010 04:34 PM
Running linux(CentOS) as virtual server on Windows 2003 server? manoj.maniraj Linux - Server 3 03-26-2009 05:08 AM


All times are GMT -5. The time now is 06:05 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration