Maximise the power of VirtualBox networking
Linux Format|September 2021
Stuart Burns builds upon the powerful components of advanced VirtualBox networking with this second instalment of stress-saving tips.
Stuart Burns

QUICK TIP

PfSense has many more goodies hidden away, ready to install. Useful examples include snort, syslog or NMAP. These tools aka “packages” can be found under x and y. Select them and they will install themselves. Exercise caution, as some may require significant resources.

Last month we covered how to build an isolated but internet-capable test network for experimentation with no risk of breaking your network. Assuming that everything is working as expected, this month we’ll build on what was created in the last issue (see https://bit.ly/lxf280network). We’ll create a more complex network environment incorporating additional virtual networks and add additional physical hosts within the internal-only environment that comes with VirtualBox.

It can be useful to have more than one test network, given that Linux users like to experiment with multiple technologies or even mimic a larger, more complex network. The networks can either be isolated or joined to the existing infrastructure.

By default, VirtualBox has only one internal-only “intnet” network to select out of the box. For this tutorial’s purposes we require an additional network. Fortunately, it’s straightforward to add additional host-based virtual networks to the VirtualBox environment.

To add a second internal-only network, create a new machine (or open an existing one) and navigate to the VirtualBox network configuration page for the VM (virtual machine). Select Internal from the Attached to part of the interface type. Where the name field is set to intnet, just use the cursor on the text field and type intnet1 or whatever name is appropriate. This creates a second isolated internal network to use.

That network still has to be added to our new pfSense network and enabled in VirtualBox and the pfSense router. To do this, power down the pfSense router. Do it through the WEB UI, which ensures the shutdown is clean. Click the Diagnostics dropdown and select Halt System. Then edit the pfSense VM in VirtualBox and navigate to the VM Network tab.

Select the third network adapter (use the PDF above to follow from the previous instalment where we created an upstream network and an isolated network) and enable the network interface using the tick box. Be sure to select Internal network and the select the second intnet network that was created a few moments ago.

At this point the third network is attached and its IP configuration still needs to be enabled and configured.

Continue reading your story on the app

Continue reading your story in the magazine

MORE STORIES FROM LINUX FORMATView All

Improve Your Shots Using Optical Filters

Mike Bedford looks at the benefits of photographic filters and how to emulate them – but some effects can only be achieved optically.

10+ mins read
Linux Format
November 2021

Create efficient backups

Backups aren’t just a safety net for Trekkies such as Shashank Sharma, but a way of life. But they can take up quite a lot of space if not done right…

6 mins read
Linux Format
November 2021

Build your own custom Ubuntu distro

Why settle for what the existing distributions have to offer? Michael Reed looks at Cubic, a tool for creating your own custom respin based on Ubuntu.

10+ mins read
Linux Format
November 2021

Controlling the Pi's GPIO with Scratch

Les Pounder shows how we can use Scratch with simple electronics.

7 mins read
Linux Format
November 2021

American Truck Simulator

Management is firm: no new pay rises. So they’re terrified that Andy Kelly is planning to retrain as a highly paid truck driver.

5 mins read
Linux Format
November 2021

LINUX WINDOWS

Old rivalries have been forgotten and ancient boundaries blurred. Jonni Bidwell investigates this new Redmond-Penguin harmony.

10+ mins read
Linux Format
November 2021

Network-share files quickly and easily

Nick Peers reveals how to share files over your local network without getting bogged down in networking protocols.

7 mins read
Linux Format
November 2021

Asus Tinker Board 2S

This is the little board that couldn’t, says a disappointed Les Pounder as he tries a board that’s definitely no Raspberry Pi.

3 mins read
Linux Format
November 2021

Pinhole photography with the HQ Camera

Interchangeable lenses enable us to experiment with that historical curiosity, the pinhole camera, Mike Bedford shows you how.

10+ mins read
Linux Format
October 2021

Linux Mint 20.2

Jonni Bidwell is running low on mint metaphors and time, but the promise of some budget mojito mix expedited this review.

6 mins read
Linux Format
October 2021
RELATED STORIES

E-MONEY: 3 THINGS TO DO BEFORE YOU BUY CRYPTO

Investing in cryptocurrency can be as easy as a few taps on your phone, and with crypto all over the news and coming up in conversations with friends, it’s tempting to dive right in. However, depending on your financial situation and appetite for investment risk, crypto might not be an appropriate investment for you right now — or ever.

3 mins read
Techlife News
Techlife News #512

ROYAL FEUD BY THE NUMBERS!

Mixing mystic arts to explain the pain

3 mins read
Globe
May 10, 2021

The Soul Of Bravo

A year of national reckonings on race and inequality has tested how real the Housewives should be.

10+ mins read
New York magazine
April 12-25, 2021

THE REVIEWS ARE IN

When it comes to buying travel, other people’s opinions count. But who can you trust?

6 mins read
Business Traveler
April/May 2021

Amazon's Long Game on Labor

If workers accept a union, the company may still try to avoid the bargaining phase

4 mins read
Bloomberg Businessweek
March 15, 2021

Horse-Powered Reading

At Rise Canyon Ranch, horses are helping children learn to love reading.

4 mins read
Horse and Rider
Spring 2021

Graphic Mood

Letters, icons, and illustrations that speak in a hand-drawn language

2 mins read
DesignSTL
January/February 2021

Do I Really Need to Take Supplements?

Even if you eat a perfect organic, whole-foods diet, the answer is probably yes.

5 mins read
Better Nutrition
October 2020

THE RED FLAME

How Karen Elson changed the way we think about supermodels and fashion

3 mins read
Maxim
September - October 2020

From Horror to Healing

Review of The Slave Across the Street

3 mins read
OFFGRID
Issue 39