Cable modem, no router, no static IP, Win7 host, Linux guest

This is for discussing general topics about how to use VirtualBox.
Locked
jtt89
Posts: 23
Joined: 20. Nov 2011, 12:56
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: CentOS

Cable modem, no router, no static IP, Win7 host, Linux guest

Post by jtt89 »

There are suppose to be three ways to get this to work:

1) Adapter 1 - Host-only Adapter (for connection between guest and host) + Adapter 2 NAT (to enable Internet connection for the guest); I have pictures here and I am not able to get it to work:
http://tinyurl.com/7694ww6
2) Bridged Adapter - I think that this one works only if a router is present; there is info here: http://tinyurl.com/cystzv9
3) Port forwarding with NAT - I think this might be the only solution here; there some info about it at this address: http://tinyurl.com/d38opym

Oveall, I think that the setup that I have is pretty standard and a lot of people might be using something like that, so it would be good to figure this out and make it clear whether it should work or not (based on TCP/IP protocol), what would be the best way to do that etc.

Thank you.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Cable modem, no router, no static IP, Win7 host, Linux g

Post by mpack »

You are asking how to get an internet connection working in a Linux guest. Questions like that are best asked in the "Linux Guests" forum, after searching for previous answers.

Also, I for one am reluctant to click on unknown links, hence I have not seen what I assume are your pics. I don't really know why you chose to use TinyURL instead of attaching the pics directly.

I can't help with your actual problem since I'm not a Linux user.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Cable modem, no router, no static IP, Win7 host, Linux g

Post by Perryg »

jtt89 is struggling because he/she will not listen and do what they are told.
At this point they have started the third topic trying to get a different answer which has been given them over and over again.

I am going to say this one last time. You have corrupted your host-only setup.
Again here is the information that needs to be in your host-only network section.
viewtopic.php?f=1&t=46213&p=208573#p208574

You should delete the one that you have now (in the preference -> network) and create a new one exactly as shown.

I am also locking this topic because it is the exact same issue as the last one.
Continue at the original topic. viewtopic.php?f=1&t=46213
Locked