if you break this into 24 bit mask, you will have 256 subnets with 254 hosts each. An example has been outlined:
I don't like to use 0 in my space if I don't have to so I skipped the first available subnet.
Vlan # Use subnet mask host range
vlan10 Servers 172.18.1.0 255.255.255.0 172.18.1.1 to 172.18.1.254
vlan20 users 172.18.2.0 255.255.255.0 172.18.2.1 to 172.18.2.254
vlan30 wired/wireless 172.18.3.0 255.255.255.0 172.18.3.1 to 172.18.3.254
vlan40 Lab 172.18.4.0 255.255.255.0 172.18.4.1 to 172.18.4.254
vlan50 test 172.18.5.0 255.255.255.0 172.18.5.1 to 172.18.5.254
the default gateway is going to be whatever IP you assign to the router. I typically assign the first ip address of the host range to the router. So for vlan10 the gw would be 172.18.1.1, vlan20 172.18.2.1 etc..