I have recently been thinking about splitting up my main POE switch into multiple VLANs and I am trying to figure out how to do what I have in my head. I am trying to do intervlan routing on some but not all the vlans. The main point here is that I want VLAN 30, 40, 50 to go upstream to the router to handle in ip firewall rules. I do not allow any of vlan 40 to anything else and vlan 30 and 50 have very limited access patters to each other.
I only want the default vlan(1), 10 and 20 to be routed at the switch. Even if a computer on IoT does scan on vlan 10 would need to go to the router.
Here is what I have so far but I am unsure if a device from non intervlan vlan requests a device if the switch will route it or send it to the router. This is what I have in my show ip route currently before setting up vlans.
Thanks in advance.
I only want the default vlan(1), 10 and 20 to be routed at the switch. Even if a computer on IoT does scan on vlan 10 would need to go to the router.
Here is what I have so far but I am unsure if a device from non intervlan vlan requests a device if the switch will route it or send it to the router. This is what I have in my show ip route currently before setting up vlans.
Code:
Total number of IP routes: 2
Type Codes - B:BGP D:Connected O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP Codes - i:iBGP e:eBGP
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
Destination Gateway Port Cost Type Uptime
1 0.0.0.0/0 192.168.1.1 ve 1 1/1 S 9m14s
2 192.168.1.0/24 DIRECT ve 1 0/0 D 9m15s
Code:
vlan 10 name Home
untag ethernet 1/1/1
router-interface ve 10
interface ve 10
ip address 192.168.10.5/24
vlan 20 name Servers
untag ethernet 1/1/2
router-interface ve 20
interface ve 20
ip address 192.168.20.5/24
vlan 30 name IoT
untag ethernet 1/1/3
vlan 40 name Work
untag ethernet 1/1/4
vlan 50 name Cameras
untag ethernet 1/1/5