Are the ports between the switch and the router setup as trunk ports? Are you allowing all vlans on the trunks ports or only specific ones and if so have you added the 2 new vlans? Are you able to ping the gateway address for either of those vlans from your main vlan?
I now have is 98% working. My issue it turn out was routing on the actual hosts.
I have multiple subnets on some of my VLANS because of the requirement of the hosts and I was missing gateway routing for those subnets.
I also had an issue with Ubuntu because they have made it harder to manually program the interfaces and routes.