Changes

Jump to: navigation, search

VirtualBox Network Configuration

865 bytes added, 17:11, 8 February 2021
VirtualBox Network Configuration Primer
=== VirtualBox Network Configuration Primer ===
VirtualBox networking supports different configurationconfigurations. For a in-depth discussion regarding virtual networking see VBox official documentation [http://www.virtualbox.org/manual/ch06.html here].
For developing purpose, we are interested in two configuration:
* That's all, click Ok to apply changes.
 
----
 
An advanced setup is to add another network adapter to be used as ''Bridged Adapter'', while keeping the first network interface with NAT
 
This is a useful setup, for example if your're working on a laptop connected to Internet via Wi-Fi, while you're developing using the bridged network adapter on Ethernet. In this case the VM will be able to access the public network using the NATed interface (via host WiFi) while serving TFTP/NFS file to the Embedded Linux system
 
To add a new network adapter:
* shutdown the VM
* open the VM <code>Settings</code> dialog
* go to the <code>Network</code> page
* select <code>Adapter 2</code> tab
* tick the <code>Enable Network Adapter</code> checkbox
* select the host network interface to bridge to in the <code>Name</code> dropdown
* hit <code>OK</code>
[[File:DVDK adding network adapter.png|none|thumb|699x699px]]
==== Network Configuration of the VM (guest) ====
[[File:DVDK_Ubuntu_Network_Configuration_1.png]]
 
[[File:DVDK_Ubuntu_Network_Configuration_2.png]]
 
[[File:DVDK_Ubuntu_Network_Configuration_3.png]]
 
4,650
edits

Navigation menu