I would like to have help in setting up the following scenario.
I need to have one hotspot running in my school, I have to authenticate students and teachers.
After authentication i need to move, or assign students to their VLAN (10) and teachers on their VLAN (20).
The 2 vlan has nothing in common and have differents ip subnets.
Probably the better solution for you would be to set up two SSIDs. One open that students will connect to, and have the AP automatically tag their traffic for VLAN10, and then have an encrypted SSID for the teachers to connect to that will tag them for VLAN20. If you want them to sign in still you can still run a separate hotspot on that interface, or whatever method you want.
If you are using Radius, I think you can only use it for one of the two hotspots, since I’m not aware of a way for Radius to determine what hotspot someone is coming off of, and who is allowed to sign in on that hotspot.
You can use multiple Hotspots on the same router with RADIUS - you can either use RADIUS domains/realms to indicate what users can log in where, or use the RADIUS location attributes configured in the Hotspot server profile that are sent with the access requests.