Network Issue with Ubuntu Guest on Windows 7 Host
Network Issue with Ubuntu Guest on Windows 7 Host
I spent 2 days setting up Ubuntu Guest on my Windows 7 laptop Host and it works super fine.
Then I copied the Virtual Box to my office PC and I can't make Ubuntu get access to the Internet.
I used bridged network - the same setup on both computers, and I even tried to with Advanced network settings to select
Adapter Type as Intel PRO/1000 MT Desktop and Promiscuous Mode to Allow VMs and NOTHING!
I even disabled the firewall and still no luck.
The weird thing is that my host can ping guest and access it's Apache/MySQL services but the guest has no access to anything, it can't ping any address out of the box... like it does not have the route but netstat -rn show that it's GW is OK
Can anybody help, please?
Deki
Then I copied the Virtual Box to my office PC and I can't make Ubuntu get access to the Internet.
I used bridged network - the same setup on both computers, and I even tried to with Advanced network settings to select
Adapter Type as Intel PRO/1000 MT Desktop and Promiscuous Mode to Allow VMs and NOTHING!
I even disabled the firewall and still no luck.
The weird thing is that my host can ping guest and access it's Apache/MySQL services but the guest has no access to anything, it can't ping any address out of the box... like it does not have the route but netstat -rn show that it's GW is OK
Can anybody help, please?
Deki
Last edited by deki on 6. Feb 2015, 17:44, edited 1 time in total.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Network Issue with Ubuntu Guest on Windows 7 Host
You didn't mention it so I will ask, did you try switching from Bridged to NAT?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Network Issue with Ubuntu Guest on Windows 7 Host
Nope, I didn't try the NAT. If my network is 10.0.5.1/24 and GW 10.0.5.1 how should I set the Host network for Internet Access?
Thanks.
Thanks.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Network Issue with Ubuntu Guest on Windows 7 Host
You can't get online with the host? I thought your problem was getting the guest online. If you switch to NAT you should be fine unless your host can't get online.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: Network Issue with Ubuntu Guest on Windows 7 Host
Sorry I meant Guest...
Host is fine (Windows 7).
Host is fine (Windows 7).
Last edited by deki on 6. Feb 2015, 17:44, edited 1 time in total.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: Network Issue with Ubuntu Guest on Windows 7 Host
You'll have to wait until someone who is more familiar with network setups replies. Not my forte.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Network Issue with Ubuntu Guest on Windows 7 Host
NAT network mode has a DHCP server built-in, so it should work out of the box. First try with NAT mode and set the NIC in the guest as dynamic IP (DHCP)
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
AnrDaemon
- Posts: 134
- Joined: 7. Feb 2010, 23:41
- Primary OS: MS Windows 7
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu Linux, Windows
Re: Network Issue with Ubuntu Guest on Windows 7 Host
If you migrate VM with network adapter set to bridged, you absolutely must fix the network adapter settings of a migrated VM to point to correct physical interface of the host after migration.
The type of adapter emulation doesn't matter. Your VM is trying to access nonexistent host adapter and failing.
The type of adapter emulation doesn't matter. Your VM is trying to access nonexistent host adapter and failing.
Re: Network Issue with Ubuntu Guest on Windows 7 Host
Yes, after I migrated the guest I went through Configuration and pointed up adapter to correct NIC.
The NAT mode works fine but I wanted to be able to have my coworkers access the test platform and with NAT it's not working.
Thanks.
The NAT mode works fine but I wanted to be able to have my coworkers access the test platform and with NAT it's not working.
Thanks.
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: Network Issue with Ubuntu Guest on Windows 7 Host
When you are using bridged mode, the guest should behave just like any other machine on the network. So debugging network problems is just like it is on a physical network.
The first check is whether the guest is getting the correct network config from DHCP.
The first check is whether the guest is getting the correct network config from DHCP.
Bill
Re: Network Issue with Ubuntu Guest on Windows 7 Host
I'm not using DHCP. I used a static IP that I'm sure it's free. I recheck a number of times GW, mask and DNS servers.
I can ping and even open hosted web pages on that VirtualBox but the box itself does not have access to any outside IP.
I removed the firewall and even uninstalled and reinstalled the VirtualBox with no results.
As I mentioned, the NAT works fine but only I can access the virtual machine.
I can ping and even open hosted web pages on that VirtualBox but the box itself does not have access to any outside IP.
I removed the firewall and even uninstalled and reinstalled the VirtualBox with no results.
As I mentioned, the NAT works fine but only I can access the virtual machine.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Network Issue with Ubuntu Guest on Windows 7 Host
You might want to talk to the IT people and see if it is being blocked in some way.
Re: Network Issue with Ubuntu Guest on Windows 7 Host
I AM the "IT People" 
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Network Issue with Ubuntu Guest on Windows 7 Host
Then you should use some diagnostic tools to see what and where it is stopping and why.
You say that you can access outside URLs while in bridged mode then it has to be something on the LAN that is stopping your LAN clients from accessing the guest.
You say that you can access outside URLs while in bridged mode then it has to be something on the LAN that is stopping your LAN clients from accessing the guest.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Network Issue with Ubuntu Guest on Windows 7 Host
I would also look at Ubuntu. They have been using a DNS proxy for a while and that might cause an issue I guess.