I know how to subnet but I'm a bit confused when it comes to how VLAN's work within a network. Say i have 3 different groups of users, split on 2 different levels of a building.
Ground floor = 5 students, 5 teachers First floor = 5 students, 5 teachers
Logic tells me the ground floor would be on it's own subnet, same with the first floor. But I also want the students to be on their own VLAN, and the teachers on their own. How does this work if the ground and first floors have their own subnet? ie whole first floor = 10.1.1.2-12 and ground floor 10/1/2/2-12
Thanks in advance for any explanation or if I'm heading in the wrong direction