NetBox Lab
NetBox Lab
In this lab we are going to document the Campus Network we configured in our workshop.
▪ Go to the homepage and click Sites under the Organization tab. New page will come up,
click on the +Add button and fill in the form.
Create a region
Next, we have to create the region to complete the first part of the Organization tab. To do that,
again go to the homepage and click Regions under the Organization tab.
New page will come up, click on the +Add button and fill in the form.
Now we need connect Regions to Sites. Go to Sites from the Organization tab, Select the My_Campus
and click on Edit Selected. A new window come up. Next, right side of the window there are few
options, select Campus-HQ from the drop-down menu at Region field, and click on Apply.
Create a tenant:
Go to the home page and navigate Tenants option from the Organization block. Click it, new
window will popup, click on the +Add button to add a new one. Fill up the gap and click on Create
button.
Now it should look like this.
Connect the tenant with the site:
Go to Sites from the Organization tab, Sites, Select the My_Campus and click on Edit Selected.
Next, right side of the window there are few options, select IT Department from the drop-down
menu at Tenant field, and click on Apply.
Create a Location:
Go to the home page and navigate Locations option from the Organization block. Click it, new window
will popup, click on the +Add button to add a new one. Fill up the gap and click on Create button.
Select CAMPUS_ITDEP from the drop-down menu at Tenancy field and click on Apply.
Add new RACKS:
To add a new rack, go to the home page, and navigate Racks option. Click it, new window will popup,
click on the +Add button to add a new one. Fill up the gap, use My_Campus site, use Campus-HQ for
region, CAMPUS _ITDEP for tenant, HQ-MDF for Location from the drop-down option respectively;
use default rack dimensions and name of the rack as CAMPUS_ServerRack_01 and click on Create
button.
Add Another Rack for Network Devices.
Before adding new device, we must create few necessary definitions for devices.
To create device role, navigate Device Roles option from the drop-down menu Devices. Click it, new
window will popup, click on the +Add button to add a new one. Add Core_Router, Core_Switch,
Access_Switch,Server, Workstaion ..etc with assigning the colour code.
Add Manufacturers
From the Devices drop down menu, select Manufacturers and then click +Add from the new
window. Create Cisco and Dell, by fill in the gap, and it will look like below.
After adding it should look like this.
Next, from the Devices drop down menu, select Device Types and then click +Add from the new
window. Fill the gap with sample specification of Dell.
Note: As this is 2U rack server, it will cover from Front to Rear, and that is why option Full Depth
should be checked. But for the Cisco switch, Full Depth option should be unchecked.
Add a Server
Add Network interface to Server.
Add console port and interfaces using the same steps used in 3725.
Define patch panels
After creating
Now add Front ports and Rear ports using +Add component button. Select Rear ports first. Then
add as follows.
Select Devices option from the drop-down menu Devices. New window will popup, click on the +Add
button to add a new one. Add switch and server and select all the option from the drop-down menu,
accordingly, keep in mind to check, Hardware, Location Tenancy.
For this workshop network we need to add 2 more servers for Pfsense and LibreNMS . Repeat the
same steps to add servers or click on Clone button and fill the gaps accordingly.
First, we add new Location for Faculty 1 and Add devices for that location. We can repeat the same
steps for other locations as well.
now we add a 9U Rack for above location.
Go to devices and select previously created Faculty_01 Router and assign it to this Rack.
We need another Fibre patch Panel and CAT 6 Patch Panel to this Rack.
You can click on the Rack position and add Devices. Go to Racks and select Faculty_01 Rack.
First go to the Devices menu and it will show you all the devices you added previously.
For Example we will connect Campus core routers’ Fa1/0 to Faculty_01s ‘ Fa1/15
Select Campus core router and go to intarfaces tab.Now select the interface you want to connect
and click on green colour connection drop-down icon and select Front Port from drop-down.
It will open the following window with source device (A Side) and destination device (B Side) and
cable type for the connection. Fill the gaps according to your configurations.
Here we are connecting devices via fibre patch panels which are in CAMPUSNW-Rack01
and FACULTY_01_NWRack01.
Cable path as follows.
Then Campus Faculty_01 Rack patch panel Front port 10 to FACULTY_01 Routers’ Fa1/15 Interface.
To view the cable trace, click on the Blue colour Trace button.
Vlans
Go to VLANS under IPAM and add VLANS.
You can clone above or can add vlans by following above steps.
IP Address Management
Now we will work on IPAM, and then go back to DCIM to see the full picture.
• Create Aggregates
• Create Prefixes
• Create IP address
Create Aggregates:
First, select RIRs (Regional Internet Registry) from the IPAM tab, and create new one with
CAMPUS_HQ.
It will take you to a new window, where you have to create Aggregate IPs. Here we assume the IP
Prefix is 10.0.0.0/8.
Select Prefixes from the IPAM tab to add new prefixes. we will use 10.1.0.0/16 as our prefix for the
campus.
Now add child prefixes for VLANs.
Add child prefixes for all the VLANS with /24 mask.
You can Access each Device as above and can set the IP Addresses for their interfaces.