• RSS
  • Twitter
  • FaceBook

Virtualization Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Does VirtualBox work (cable modem, Win7, CentOS6)

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [General Virtualization Topics] >> General >> Does VirtualBox work (cable modem, Win7, CentOS6) Page: [1]
Login
Message << Older Topic   Newer Topic >>
Does VirtualBox work (cable modem, Win7, CentOS6) - 22.Nov.2011 3:43:46 AM   
jtt89

 

Posts: 1
Joined: 22.Nov.2011
Status: offline
I've been trying to get it to work for a while now and I cant. I have regular cable modem with ethernet cable connected to a desktop, running Win7 - host, and CentOS6 - guest installed on VB). I want to connect Win7 to Apache server on Linux and also have Internet connection on both systems. There are suppose to be 3 ways to do that:

1) Adapter 1: Host-only adapter (for connection between Win7 and Linux) + Adapter 2: NAT (For Internet connection for Linux)
2) Port forwarding (I think thats the only solution without a router, but I did not try this one yet) http://tinyurl.com/d38opym
3) Bridged Adapter (a lot of people recommend it and seem to use it but it does not work for me, I dont have Internet connection in Linux) http://tinyurl.com/cystzv9

I dont have a static IP (I am not sure if this one makes a difference) or a router, but I think I still should be able to get it to work somehow. Option 1 would be better than port forwarding but I think it might be the only way to set it up...

Thank you.
Post #: 1
RE: Does VirtualBox work (cable modem, Win7, CentOS6) - 28.Nov.2011 12:52:59 AM   
Scott Lowe

 

Posts: 444
Joined: 13.May2010
Status: offline
jtt89 -

It appears as if you have no router in the mix, so bridged networking will probably never work since it requires additional IP addresses beyond the one that is provided by your ISP.

I'm assuming that you just want the CentOS6 (virtual machine) system to be able to access the Internet via your Windows 7 host.

You should be able to have just a single network adapter in the CentOS virtual machine and configure that for NAT and have the whole thing work with no issues.

Where is the Apache server running?

Scott

(in reply to jtt89)
Post #: 2
RE: Does VirtualBox work (cable modem, Win7, CentOS6) - 28.Nov.2011 4:02:58 AM   
swizzer

 

Posts: 2
Joined: 28.Nov.2011
Status: offline
Thank you for the information.

_____________________________

funny t-shirts

(in reply to Scott Lowe)
Post #: 3
RE: Does VirtualBox work (cable modem, Win7, CentOS6) - 29.Nov.2011 11:54:28 PM   
Scott Lowe

 

Posts: 444
Joined: 13.May2010
Status: offline
JT -

Were you able to get your system working the way that you wanted? I did a quick diagram of bridged vs. NAT network in this blog post. It might help you figure out what you want to do. It's sort of a down and dirty diagram but shows you how things work.

http://blogs.virtualizationadmin.com/lowe/2011/11/28/nat-vs-bridged-network-a-simple-diagram/

Scott

(in reply to jtt89)
Post #: 4

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [General Virtualization Topics] >> General >> Does VirtualBox work (cable modem, Win7, CentOS6) Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



Receive all the latest articles by email!

Receive Real-Time & Monthly VirtualizationAdmin.com article updates in your mailbox. Enter your email below!

Become a VirtualizationAdmin.com member!

Discuss all your Virtualization issues with thousands of other experts. Click here to join!