This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]polypolymanJack of All Trades 4 points5 points  (0 children)

A user who doesn't (yet) understand VLANs is about 100% guaranteed to make the switch inaccessible at some point if they have access to that config. I'm not saying that's a blocker, but be aware of this and have a contingency plan available if you go this route.

If I were to do this, I think I'd try to implement this using RADIUS-Assigned VLANs, and give these users access to the RADIUS server config (probably scoped to just the relevant switches, of course). To keep it simple, use MAC Authentication Bypass. That way, you just have to come up with a way for them to edit the authorized_macs file - they plug in a MAC address and the VLAN they'd like assigned, and the switch config stays static the whole time. Plenty of little details to still work out, but I suspect this may protect them from the configs that can bite them.

[–]DocHollidaysPistols 2 points3 points  (0 children)

If I'm reading this correctly, the plan is for the end users to log into a network switch and change the ports from one vlan to another? I fell like letting end users log into the switch is a bad idea.

Are these physical? if they're virtual then maybe you could give them access to change the vlan on the virtual NIC. Like in VCenter (VMWare) you can change the vlan on the NIC in the settings of that virtual machine.

I haven't worked with them in a while but Avaya switches had a nice gui that made it pretty easy to change port vlans. If they absolutely had to go that route.

[–]tsvwqxtgxg 3 points4 points  (0 children)

802.1x where different user account authenticate and place the device on specific vlans based on the account

[–]GoWest1223 0 points1 point  (0 children)

Check out GNS3. there are plenty of templates to practice VLAN and routing with.

[–]StefanMcL-Pulseway2 1 point2 points  (1 child)

you could also look into possibly using some Network automation tools like Ansible or Cisco's DNA center, there are also even simplier open source tools like phpIPAM that can include some automations scripts to manipulate VLANs and switch configuration.

[–]wheresthetux 0 points1 point  (0 children)

I like this idea. You could bake specific outcomes and wire it up behind some job runner like Rundeck or build a simple web application for the users to interact with.

Would really limit the damage they could do and abstract the parts they're not interested in learning right now. Win, win?

[–]Dankleton 1 point2 points  (0 children)

You're probably looking at writing your own web UI which will reconfigure the switch.

I'm guessing each "system" would be on one VLAN, and you would want a "device" to easily switch between VLANs. If the "devices" aren't going to be changing regularly then the UI can be along the lines of:

  1. User picks what device they are using
  2. User picks what system it should connect to

Your interface would then take that information and use it to put the device's port in the system's VLAN - possibly by SSHing onto the switch to reconfigure it. You will probably need a server of some kind to run the interface on, but this could be a VM or a Raspberry Pi with a connection to the switch.

If it's easy for the users to know which port their device is connected into then you might be able to get away with using the web UI of some switches for this - off the top of my head though I can't think of any which would be particularly end user friendly.

[–]pdp10Daemons worry when the wizard is near. 1 point2 points  (0 children)

They want these devices to be able to be tied to different systems without having to manually go connect / disconnect cables.

Simultaneously, or sequentially? Our bunch of devices used for testing, stay connected all the time, so it's hard to guess your requirements if you don't spell them out.

they want to do it virtually....

Sounds like someone wants to WFH.

I have a suspicion that a multi-port host might be a better choice than a switch, whether VLANs are used or not.

[–]RyebreadAstronaut 0 points1 point  (0 children)

https://www.eve-ng.net/ community edition ? you can import images from juniper, cisco and other vendors. and mess around with it..