I am not a guru at Networking at all so if this question is really simple to answer I apologize. I want to prepare for a trip I will be on in 2 weeks.
1) My laptop receives it's network connection via wifi.
2) I have an external hard drive that is connected to my laptop where my Virtualbox is installed and my image run from.
3) In the Settings under Network I am using a Adapter 1 as a Bridged Adapter and the name is set to "Intel(R) Dual Band Wireless-AC 7260 and I have Adapter 2 as a NAT (No name - I'm not sure at the moment why I have that one setup.)
Problem: When I go from my home to another location and I connect to their Ethernet connection my Images do not have any internet connections and I cannot ping them any longer. My image is setup to use static IP's so I don't know if this is as simple as going in to my Network tab and changing the Name setting for Adapter 1 to be the one listed called "Intel(R) Ethernet Connection I218-LM or if there is more I would also have to update in my Centos 7 image and the setting it has setup.
Same question, if I am connecting to another wifi network other than the one I have at home.
Thank you in advance.
-Joleen
What to change when the Network I connect to has changed
-
oldenuf2nobtr
- Posts: 25
- Joined: 31. Aug 2015, 14:28
-
oldenuf2nobtr
- Posts: 25
- Joined: 31. Aug 2015, 14:28
Re: What to change when the Network I connect to has changed
Sorry, I just realized this should have been placed under VirtualBox on Windows Hosts.
-Joleen
-Joleen
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: What to change when the Network I connect to has changed
Moved to Windows host.
-
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: What to change when the Network I connect to has changed
The NIC in your vm is bridged to the wireless NIC in your laptop. This works fine if you are connected to a wireless network. If you connect to an Ethernet network, your vm NIC would need to be bridged to the Ethernet NIC of your laptop to connect to the network.
I would set NIC2 of the vm to be bridged to the Ethernet NIC of your laptop. Your laptop should then have a connection no matter which type of network you connect to.
NAT is the default setting, but you do not need a NAT connection if you are using bridged mode.
I would set NIC2 of the vm to be bridged to the Ethernet NIC of your laptop. Your laptop should then have a connection no matter which type of network you connect to.
NAT is the default setting, but you do not need a NAT connection if you are using bridged mode.
Bill
-
oldenuf2nobtr
- Posts: 25
- Joined: 31. Aug 2015, 14:28
Re: What to change when the Network I connect to has changed
Thank you BillG. So your saying to use Adapter 3 for NIC2 for when I am connected to the Ethernet network?BillG wrote:The NIC in your vm is bridged to the wireless NIC in your laptop. This works fine if you are connected to a wireless network. If you connect to an Ethernet network, your vm NIC would need to be bridged to the Ethernet NIC of your laptop to connect to the network.
I would set NIC2 of the vm to be bridged to the Ethernet NIC of your laptop. Your laptop should then have a connection no matter which type of network you connect to.
NAT is the default setting, but you do not need a NAT connection if you are using bridged mode.
-
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: What to change when the Network I connect to has changed
It doesn't really matter which adapter you use, but I would use the one which is currently set to NAT, since you don't need that one if you are running bridged.
Bill