the router (or firewall, if it connects directly to the VLANs) will have VLAN interfaces defined for each VLAN connected. Those VLAN interface IP addresses will be the default gateway for each ...