Segment the IoT devices: cameras, video recorder and building controller
Move cameras, a video recorder and a building controller onto their own VLAN, give it a gateway, and write an ACL so only the security desk reaches them: no one else can watch the video or send Modbus and BACnet commands.
Scenario
A contractor installed two IP cameras (CAM1, CAM2), a video recorder (NVR1) that records them, and a building controller (BMS1) that runs heating and ventilation. The plan put them in their own subnet, 192.168.30.0/24, and they were addressed that way with gateway 192.168.30.1, but their switch ports on DSW1 (Gi1/0/3 to Gi1/0/6) were left in the users' VLAN 10, and VLAN 30 does not exist yet. Today they share a broadcast domain with the users' computers and nobody can manage them. Policy: the security desk PC (PC2, 192.168.10.20) may open the recorder's web interface (HTTPS 443) and the building controller's web page (HTTP 80). Nothing else on the users' VLAN may reach VLAN 30: no RTSP video (TCP 554), no Modbus (TCP 502), no BACnet (UDP 47808). The recorder must keep pulling video from the cameras. Test with `telnet <address> <port>` and the web browser on the PCs, and with the Segmentation and Health tabs.
Your tasks
- Create VLAN 30 named IOT and make Gi1/0/3 to Gi1/0/6 (CAM1, CAM2, NVR1, BMS1) access ports in VLAN 30.
- Give VLAN 30 its gateway: interface Vlan30 with 192.168.30.1/24, up. DSW1 then routes between the two VLANs.
- The security desk (PC2) reaches the recorder's web interface (TCP 443 on NVR1) and the building controller's web page (TCP 80 on BMS1).
- Allow nothing else into VLAN 30 from the users' VLAN: write an extended ACL that permits only PC2 to NVR1 on 443 and PC2 to BMS1 on 80, and apply it outbound on interface Vlan30. The recorder must still pull video from both cameras (TCP 554).
The lab checks the result, not the exact commands. For example, a ping task passes only when the ping really succeeds through the network you built.
Do these first if the topic is new to you: Inter-VLAN routing on a Layer 3 switch (SVIs), Extended ACL: allow only web and DNS to a server.