Say I have an uplink port (1/3/1) connected to our upstream, then various clients across 1/1/1 - 1/1/48. I want to create two or more VLANs where each VLAN can only use IPs from a specific subnet.
vlan 101 tag e 1/3/1 untag e 1/1/1 to 1/1/24 (assign 10.0.0.0/24 to vlan 101)? vlan 102 tag e 1/3/1 untag e 1/1/25 to 1/1/48 (assign 10.0.1.0/24 to vlan 102)? (route vlan 101 & 102 traffic through 1/3/1)?
I want to prevent a host in vlan 102 (e.g. 1/1/25) from using an IP that belongs to vlan 101 (e.g. 10.0.0.5) and vice versa.
What's the best way to accomplish this?
Note that this switch is layer 3 capable.