View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-23-2012, 12:02 AM   #1
LQ Newbie
Registered: Jan 2012
Posts: 1

Rep: Reputation: Disabled
Networking with Guest OS and Host OS in Virtualbox

I have a laptop with Windows XP OS. I use Oracle Virtualbox for virtualization.

Guest Operating Systems are: Ubuntu10.04 (lucid) and Centos5.

In my laptop I use LAN ( IP address with my LAN. I have no right to change this IP.

I use wimax (wireless modem) for network access which assignes IP from DHCP server.
and through this modem I use internet.

I have installed web server and postgree sql server both on (Ubuntu and CentOS guest).

My requirements.

1. I have applications on host XP written in c# language and need to access postgre sql server on (ubuntu and/or centos guest)

2. I must be able to access websites hosted on ubuntu and/or centos from LAN ( my host laptop and LAN pcs)

3. LAN pcs and guest os (ubuntu and centos) will be able to access internet via wireless modem.

what kind of network I can configure so that my requirements are served.

note: it will be good if sample config commands are shown sequentially.

Thanks in advance.
Old 01-23-2012, 01:25 AM   #2
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
If you want your vitual machine to be seen from internet and intranet the easiest way to to use an lan card just for your virutal machine(so you need 2 lan cards), easiest way is USB lan sticks. now if you want to use just the one lan card you will need to go through the command prompt for VitualBox.

Old 01-23-2012, 04:28 PM   #3
LQ Guru
Registered: Mar 2008
Posts: 13,691

Rep: Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744Reputation: 1744
If the lan doesn't have a gateway that may make it a bit easier.

I'd attach the wimax to the VM and use one of the OS's to direct all traffic. You point browsers to it's address. I think I'd start with nat connections in the vm.


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
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 01:51 PM
Virtualbox host 10.04 guest question texas.chef94 Linux - Virtualization and Cloud 17 10-02-2011 08:28 PM
VirtualBox: Slackware64 host and guest; NFS mount from host fails catkin Linux - Virtualization and Cloud 0 11-15-2010 07:54 AM
VirtualBox Networking (NAT) not working on XP host with Mandriva guest FreeRadical2600 Linux - Newbie 9 10-29-2008 09:12 AM
Ubuntu Host Virtualbox guest Networking weirdness ddales Linux - Networking 0 01-20-2008 03:24 PM

All times are GMT -5. The time now is 08:37 PM.

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