RE: Basic VLAN Configuration

What is each devices Default Gateway? What is doing VLAN routing?
What model switch is this? If it's a L2 switch, then you'll have to use something else as your L3 device.

We used to use HP 26xx series switches as the "primary switch".
VLAN 1 (DATA) - 192.168.1.1
VLAN 2 (Voice) - 192.168.2.1
All user ports are Untagged (VLAN1) and TAGGED (VLAN2).
All uplink ports to other switches are TAGGED on both VLAN 1 and VLAN 2.
ALL DATA only devices are Untagged (VLAN1) and NO (VLAN2)
All Voice only device (phone sytem controller for instance) is untagged on VLAN2 and NO on VLAN1.

This 26xx series switch will be the default VLAN for each device on the network. IP routing will be enabled, And will have a ZERO statement pointing at the firewall.
The firewall would then have a simple route directing back to the Voice VLAN via 192.168.1.1

In the past few years, we've been pushing All routing function to the site's SonicWALL firewall.
In such as case, the SonicWALL will simply assume 192.168.1.1 (DATA VLAN) and will have a sub-inerface X0(v2) as 192.168.2.1.
The switch port connected to X0 will then be configured as Untagged (VLAN1) and TAGGED (VLAN2).
The switch will only need a management IP address, and a traditional default gateway (not IP routing).

In both examples, the respective .1 IP address will be the devices default gateway.