U bekijkt momenteel de Netherlands versie van de site.
Wilt u overschakelen naar uw lokale site?
16 MIN LEESTIJD

VIRTUALBOX

Build an advanced networking test lab

Stuart Burns brings us up to date on his networking insights and covers expanding the networked virtual lab beyond the single host.

OUR EXPERT Stuart Burns is a systems administrator who specialises in virtualisation at scale, public cloud and virtual disaster recovery. When not doing that he can be found dabbling in Linux.

Previously we’ve looked at networking basics to help build a virtual test lab using VirtualBox. In the last article (LXF280) we cover some of the more advanced features and networking in general, some outside of VirtualBox. One example is wired networking and segmentation beyond VirtualBox, but within a home lab. Home labs tend to sprawl well beyond one single box due to resource constraints (a 64GB laptop is not cheap!)

As it’s been a little while it’ll be best to recap a little, it’s important to understand the types of networking available in VirtualBox and how they can be used in home labs. So far we’ve only used two types of networking that VirtualBox provides:

Bridged (connected to local network as though it’s any other computer on the local network). It has the same communication capabilities as other resources on the local network. It’ll function as any other network device on it, including DHCP and such-like.

Internal, as the name suggests, is essentially a standalone isolated network, hence we had to use a router to enable that internal network to communicate with other networks. In our previous article we covered how to use pfSense as a router, with one foot in the local network (Bridged) and one in the isolated LAN, configuring all the traffic to be allowed through, with an appropriate route specified (a recap on routes can be found further in the article).

NAT (Network Address Translation) essentially creates an isolated network, but one that can forward traffic to the outside world (so, for example, it can see and utilise an internet connection if there’s one on the real network, but is effectively an isolated network.) It’s also the default network type selection within VirtualBox. NAT comes with benefits and drawbacks...

Using a jump box to grant access to NAT network from local network, making access and management that little bit easier.

When using NAT only the local desktop that’s running VirtualBox knows about the VirtualBox servers it’s hosting. That can be a drawback, inasmuch as there’s no default connectivity to the network that the rest of the infrastructure sits on.

NAT is also the default network setting out of the box when a virtual machine is created. The VirtualBox host performs the NAT functionality. As part of the VirtualBox functionality it also provides DHCP IP address allocation for the NAT network. It can be manually configured if desired, or there’s a real reason to do it. Think of NAT as an isolated network that can reach the internet. It’s up to the reader to decide which is more appropriate.

Ontgrendel dit artikel en nog veel meer met
Je kunt genieten:
Geniet volledig van deze editie
Direct toegang tot 600+ titels
Duizenden oude edities
Geen contract of verplichting
ABONNEER NU
30 dagen proberen, dan gewoon €11,99 / maand. Op elk moment opzeggen. Alleen nieuwe abonnees.


Meer informatie
Pocketmags Plus
Pocketmags Plus

Dit artikel komt uit...


View Issues
Linux Format
February 2022
IN DE WINKEL BEKIJKEN

Andere artikelen in dit nummer


WELCOME
MEET THE TEAM
This issue Jonni’s being paranoid about malware. We wondered what’s the most paranoid thing you find yourself doing?
Threatscape Linux
If you weren’t taking your security seriously before,
REGULARS AT A GLANCE
German state to replace MS Office with LibreOffice
The switch will see 25,000 PCs move to open source software
Blender 3.0 released
Open-source 3D graphics tool receives major update
Man-uses-Linux fallout
After the well-publicised travails of a YouTuber trying to use Linux, the community bands together to help out
WHAT TO DO IN 2022
Matt Yonkovit Head of open source strategy and
ALARMING STUFF
Keith Edmunds is MD of Tiger Computing Ltd,
Proton: now even better!
Playing Windows games in Linux receives a big boost
Firefox sandboxing explained
Firefox 95 will come with RLBox to help boost security
Open 3D Engine now available
Open-source 3D engine will boost Linux game dev-work
Distro watch
What’s down the side of the free software sofa?
VENUS AND VULKAN
Antonio Caggiano is a software engineer based at
NEW AND IMPROVED
Jon Masters has been involved with Linux for
KERNEL WATCH
Jon Masters summarises the latest happenings in the Linux kernel, because someone has to
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to lxf.answers@futurenet.com
Mailserver
A diagram can save a thousand words, but
Alexander Tolstoy
is still zooming in and out his newly
FSearch
Version: 0.1 Web: https://github . com/cboxdoerfer/fsearch
Mapscii
Version: GIT Web: https://github.com/ rastapasta/mapscii
Telegrand
Version: GIT Web: https://github.com/ melix99/telegrand
Girouette
Version: 0.6.5 Web: https://github . com/gourlaysama/girouette
Sysmontask
Version: 1.0 Web: https://github.com/ KrispyCamel4u/SysMonTask
Luna Paint
Version: 0.11 Web: https://github.com/ lunapaint/vscode-luna-paint
AppImageLauncher
Version: 2.2.0 Web: https://github . com/TheAssassin/AppImageLauncher
Plop
Version: GIT Web: https://github.com/ Caltrop256/plop
Let’s Surf
Version: GIT Web: https://github.com/ jackbuehner/MicrosoftEdge-S.U.R.F
QOI
Version: GIT Web: https://github.com/ phoboslab/qoi
Xplorer
Version: 0.2 Web: https://github.com/ kimlimjustin/xplorer
DON’T TRUST YOUR VPN!
We lift the veil on the VPN world with the do’s and don’ts of what you should trust them with
REVIEWS
Easyspace web hosting
Mike Williams assesses a skilled UK host famous for its speed…
Intel Core i5 12600K
This is the best processor of 2022 so far for tech lovers and early adopters says Jacob Ridley, who’s looking forward to see what else the year will bring
Endless OS 4.0
Five minutes with the latest version of this distro and Mayank Sharma is reminded of the old adage: “The whole is greater than the sum of its parts.”
4MLinux 38.0
Any distro that’s survived for over a decade must be doing something right, but Mayank Sharma wasn’t prepared for what he saw inside this one…
Calculate Linux 22
Jonni Bidwell was dubious about making Gentoo easy, but after careful calculation of this KDE Edition he’s all for the idea…
Stellaris
Management hates anyone going anywhere, boldly or otherwise, so Phil Savage is in a space pickle as he’s only gone and taken over the galaxy
ROUNDUP
GUI backup tools
WE COMPARE GUI backup TONS OF tools STUFF SO YOU DON’T HAVE TO!
The Verdict
GUI backup tools
COMBAT MALWARE!
Jonni Bidwell wants to turn the tide on ransomware in 2022. It appears he has his work cut out for him…
TOP OF THE FOSS
CLOUD SOVEREIGNTY
Jonni Bidwell reveals how Nextcloud has become the poster-child not just for self-hosting, but for how to be a sustainable, successful FOSS project
Pi USER
Raspberry Pi Trading seeks stock flotation
Looking to boost investment, an initial public offering would inject up to $500 million into the business
Display HAT Mini
Les Pounder thinks that Pimoroni’s latest display was designed for ants, or at least younger people with better eyesight than him
Build an embedded temperature sensor
Les Pounder is feeling the chill this winter, but just how cold is it in his workshop and should he invest in a woolly hat, complete with pom-pom?
Booting multiple operating systems
Christian Cawley examines the various ways you can boot your Raspberry Pi, from installing an OS to multibooting
IN-DEPTH
THE GUIX SYSTEM
Guix takes a novel approach to its package management. Mats Tage Axelsson guides you around it
TUTORIALS
Graphing disk usage
Shashank Sharma is a fount of knowledge and knows how to present the information. Which is why he appreciates tools that display data clearly…
Store your vital passwords securely
Nick Peers takes a close look at Swifty, an offline password manager with a slick interface and hopefully bright future
Emulating the Commodore VIC-20
Les Pounder takes a trip back to the 1980s to discover which computer Captain Kirk was using when he wasn’t at the helm of the USS Enterprise
Recreate electronic rock music effects
Fancy following in the footsteps of Hendrix or Clapton? Mike Bedford shows you how to add 70s-style electronic effects to your music tracks
Build a self-hosted Fediverse server
Big Social has you, monitoring 24 hours a day all year round. Learn how David Rut land breaks free into his own self-run Fediverse echo-chamber
How to set up a pro-level music studio
Michael Reed digs deeper into what’s possible in the realm of a Linux-based music studio, and discovers that the sky’s the limit
CODING ACADEMY
Get the most from the Gin HTTP framework
Discover how you can write secure and powerful HTTP-based services with the help of Mihalis Tsoukalos, a bit of Go and the Gin framework
Lag is killing games
Tim Armstrong shows off Latency.GG , an open-source global internet measurement system for reducing lag and jitter in multiplayer games
Chat
X
Pocketmags ondersteuning