Enter Search Query:

Create a virtual router to provide Internet access to a virtual LAN

In this tutorial, I’ll be talking about connecting a virtual LAN network created using VirtualBox to a physical LAN segment with Internet access. The reason for this tutorial is to demonstrate that it is possible to create a virtual environment that closely mimics a production company LAN network in functionality. This includes being able to run services such as DHCP and DNS on your virtual LAN environment and using a router to provide access to the Internet.

My virtual LAN is setup as follows:

Network: 10.0.0.0/8

Router/Gateway: 10.0.0.1 (this is the device we’ll be configuring in this tutorial)