Network knowledge at your fingertips with NetBox
Conclusion
When I first started reading about NetBox, I found their aim of being "the premiere network source of truth" kind of cheesy. It's just a web GUI for a network map with some stuff from a database after all. Since installing and using it, however, I'm a true believer. I think every single network should be mapped-out using NetBox. I have installed the community edition at work as well as on my home network. It really is your network's "truth" – or at least it becomes that once you put in the work.
I am still in the process of documenting the network in my organization. It is an enormous task and one that never ends, because updates will need to be made as the network expands, contracts, and changes. My intent is to build NetBox out thoroughly enough that I can give a new employee a login to NetBox so they can find their way around the entire organization, even if they aren't able to access everything that they see in there. I also needed to add maps for each building in the NetBox's location section, which I could do by simply uploading PNG images of our physical maps. I might not give a new employee the credentials for our building's switches, but they will know where the switches are located, what devices connect to them and through which ports, and the IP addresses those devices have, as well as be able to very quickly and easily find product information. NetBox will give new employees all that they need to know about the devices that they will work on to be able to effectively and efficiently do their jobs. With dozens of printers and hundreds of PCs on our network, the ability to pinpoint one device and its connection to a specific switch by searching for a room or a building, and to have a link to the user's guide and installation manual, drivers download page, specifications, asset tag number and corresponding serial number, and so on, will greatly improve team efficiency in the long run, though it will absolutely take time to implement. None of that time is wasted, however, because anyone who is mapping out the network in NetBox is also learning all of the ins and outs of it simultaneously.
Something incredibly important that I didn't focus on in this article: Knowing what is on your network and where that gear is located is critical to network security and is connected directly to CIS Safeguards numbers 1.1, 1.2, 3.2, 4.6, and many others in the CIS Risk Assessment Methodology (RAM)[18].
Initially, I found a ton of overlap between tools that we were already using and NetBox. However, as I added more devices to the database and put in more details about each device, I realized that I had been looking at it all wrong. While alternatives exist to basically all of NetBox's functions, the disconnect between the individual programs and services creates inefficiency. NetBox offers a fantastic opportunity for long-term improvement in network management. NetBox, if well-implemented, will act as a central knowledge hub for your network, with each of those other programs and services functioning as spokes off of that hub. NetBox doesn't lay over the top of your existing management stack, but instead coalesces with it in a way that empowers your IT team. While NetBox may initially look like a lot of work, you will wonder what you ever did without it once you get it up and running.
Infos
- NetBox: https://github.com/netbox-community/netbox/wiki
- NetBox demo: https://demo.netbox.dev/login/?next=/
- Ubuntu: https://ubuntu.com/
- Level1Techs Guide to NetBox: https://forum.level1techs.com/t/netbox-ipam-dcim-guide/132435
- PostgreSQL: https://www.postgresql.org/
- Redis: https://redis.io/
- Python: https://www.python.org/
- Cockpit: https://cockpit-project.org/
- 45Drives cockpit-navigator: https://github.com/45Drives/cockpit-navigator
- nano: https://www.nano-editor.org/
- Vim: https://www.vim.org/
- Django: https://www.djangoproject.com/
- NetBox Community Plugins: https://github.com/netbox-community/netbox/wiki/Plugins
- gedit: https://github.com/GNOME/gedit
- Gnome Text Editor: https://gitlab.gnome.org/GNOME/gnome-text-editor
- Gunicorn: https://gunicorn.org/
- NGINX: https://www.nginx.com/
- CIS RAM: https://www.cisecurity.org/insights/white-papers/cis-ram-risk-assessment-method
« Previous 1 2 3 4
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.