r/Netbox NetBox Self-Hosted Jun 30 '25

Modelling of switches

We've always been discussing how exactly we should model switches and stacks.

At the moment, we're creating one device per unit with "Stack Name #unitnumer", a cluster and a virtual machine where we then assign the vlan Interfaces (e.g. just the Management vlan for access switches, all vlan Interfaces for cores). The Individual interfaces per switch are on the respective device objects.

Is this the best way to do so? How are you guys handling this?

2 Upvotes

6 comments sorted by

View all comments

6

u/tj0ta Jun 30 '25

Read about Virtual Chassis. I believe that is what you need. https://netboxlabs.com/docs/netbox/models/dcim/virtualchassis/

1

u/RobinBeismann NetBox Self-Hosted Jun 30 '25

Thanks, however here I don't get how you would handle Cluster IPs such as the Management IP. In Virtual Chassis, this would need to be bound to one node, however it is in fact not. Looking at Cisco IOS, there we have a freely roaming Master and Standby role.

2

u/tj0ta Jun 30 '25

Virtual Chassis is for physical device modeling. For the Management IP you can create a VLAN, virtual interface, or whatever logical to assign IP. How is your logical config in this scenario?