SG3210 Switch config help request
Hi, I am a total newbie in networking and trying to learn, I have 2 different internet providers with their respective modems. Modem A has dhcp enabled a distributes the ip adresses in 192.168.254.1-254 range and modem B is also dhcp enabled and it distributes the ip adresses in 14.7.93.1-254 range. I have a SG-3210 switch with the latest firmawere. and TL-WA801N access point. My goal is to distribute these 2 internet connections using my switch and I would like to implement it in the following way. In the switch, I connected 1st port from the lan1 of modem A, 2nd port from the lan1 of modem B. Then I connected access point to the 8th port of the switch. I want ports 1,3,4 to be in vlan 10 and ports 2,5,6 in vlan 20. But port 8 should be able to transmit both groups so that I can create 2 seperate ssid with their respective vlan so that any device connecting the that wifi should reach internet using that groups modem and not the other one. For this reason I;
1) created vlan 10 in the switch with ports 1,3,4 untagged and port 8 tagged
2) created vlan 20 in the switch with ports 2,5,6 untagged and port 8 tagged
3) gave the acccess point a static ip from the modem A range 192.168.254.5
4) created an interface in the switch from L3 subsection with the static ip 192.168.254.2 (So that i can reach the switch from the browser in that ip range, not needed in the other range)
5) in the accces point created 2 ssids, one for vlan 10 and another one for vlan 20
6) I left ports 7,9,10 on system vlan 1 (they won't be used for now)
My question, is this the correct way of what I am trying to achive, what are the points should I improve. I fell like I am losing some internet speed or introducing some lag to the network but it is just a hunch.
I would be more than happy to recieve your comments on the topic.