Internet connection & LAN access at the same time!

Discussions related to using VirtualBox on Windows hosts.
Vbox_snoozer
Posts: 16
Joined: 4. Oct 2014, 13:45

Internet connection & LAN access at the same time!

Post by Vbox_snoozer »

At present I can either setup NAT (for internet access) or Bridged adaptor (for LAN access) in my vm's but not both together at the same time!

I have tried various combinations of adaptors such as:

- NAT + BRIDGED
- NAT + HOST ADAPTOR ONLY

Is it too much to ask to have both internet connection & access to shared folders on host pc at the same time?!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Internet connection & LAN access at the same time!

Post by Perryg »

Normally if you use Bridged you have both the Internet and the LAN. Are you saying that this is not working for you?

If you use NAT to access the Internet then you need host-only to access the LAN.
Vbox_snoozer
Posts: 16
Joined: 4. Oct 2014, 13:45

Re: Internet connection & LAN access at the same time!

Post by Vbox_snoozer »

No! - that's the problem!

- Bridged ==> LAN but not Internet!

- NAT ==> Internet but not LAN!

- NAT + host only adaptor ==> Internet but not LAN (or the other way round) but not both!

- NAT + Bridged ==> Internet but not LAN (or the other way round) but not both!

Win7 host
Standard Router
Win8.1 VM
Win10 VM
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Internet connection & LAN access at the same time!

Post by Perryg »

And the version of VirtualBox is?
Vbox_snoozer
Posts: 16
Joined: 4. Oct 2014, 13:45

Re: Internet connection & LAN access at the same time!

Post by Vbox_snoozer »

The latest version: 4.3.12 r93733
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Internet connection & LAN access at the same time!

Post by Perryg »

Is you network wireless by any chance? Also post the guests log file ( as an attachment )
Vbox_snoozer
Posts: 16
Joined: 4. Oct 2014, 13:45

Re: Internet connection & LAN access at the same time!

Post by Vbox_snoozer »

It's wired Ethernet cable from pc to broadband router!

Physical adaptor: Intel Ethernet Connection I217-v #2 (mobo) - with default settings in device manager (Win7SP1)

Adaptor type selected in vm network settings: pro/1000 MT desktop 82540oem) - allow all - cable connected selections

Can you remind me where the guest log file is located?

System spec: core i5 4670K - 16gb ram - windows 7 on ssd - 2 x sata hdd data drives
Vm spec: 4gb ram - 2 cpu allocated
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Internet connection & LAN access at the same time!

Post by Perryg »

right click on the guest in the main manager and then click on show log. Save and post ( as an attachment )
Vbox_snoozer
Posts: 16
Joined: 4. Oct 2014, 13:45

Re: Internet connection & LAN access at the same time!

Post by Vbox_snoozer »

Log file is Attached!
Attachments
Win10DevPrev-2014-10-04-16-22-52.log
Log file is Attached!
(96.2 KiB) Downloaded 10 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Internet connection & LAN access at the same time!

Post by Perryg »

Do you by chance have a guest that is supported?
Vbox_snoozer
Posts: 16
Joined: 4. Oct 2014, 13:45

Re: Internet connection & LAN access at the same time!

Post by Vbox_snoozer »

Can you clarify - In what way do you mean a guest that is supported? :roll:
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Internet connection & LAN access at the same time!

Post by Perryg »

Windows -10 developer preview is not supported yet and probably will not work as expected for some time to come. Do you have any other guests that you can/have tried?
Vbox_snoozer
Posts: 16
Joined: 4. Oct 2014, 13:45

Re: Internet connection & LAN access at the same time!

Post by Vbox_snoozer »

Win8.1 vm log file is Attached!
Attachments
Win8.1RTM-2014-10-02-19-17-28.log
Win8.1 vm log file is Attached!
(105.88 KiB) Downloaded 9 times
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: Internet connection & LAN access at the same time!

Post by mpack »

It isn't clear to me what the nature of the "failure" is in this discussion. I very much doubt that VirtualBox prevents you from configuring separate NAT and bridged adapters in a VM. So I guess you must be saying you're having difficulty getting the guest OS to work with both adapters? And what constitutes "working" even in that sense?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Internet connection & LAN access at the same time!

Post by Perryg »

Can you provide the following:

In a host command window and in the guests command windows, run the following and post here.

Code: Select all

ipconfig /all
As well as the following from the hosts command window:

Code: Select all

VBoxManage list bridgedifs
VBoxManage list natnets
VBoxManage list hostonlyifs
Post Reply