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...
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.