Showing results for 
Search instead for 
Did you mean: 

VLANs with DHCP on SG 200-50 switches

Level 1
Level 1


I have 3 Cisco SG 200-50 switches ithat I'm using for a new set up. The 3 switches plug into a SonicWall appliance for routing and Internet access. I would like each SG switch to be a separate VLAN (ie. VLAN 10, VLAN 20, VLAN 30).

So I have my main network at the SonicWall level:

Switch A (SG 200-50) would be VLAN 10:

Switch B (SG 200-50) would be VLAN 20:

Switch C (SG 200-50) would be VLAN 30:

On my "main" network I have my email, DNS, and DHCP servers which supply the IP addresses for each VLAN. I have my DHCP server configured with 3 scopes (1 per VLAN). However I can't see a way using these switches to tell these VLANs which scope to request IP addresses from?

Am I doing this wrong or should I redesign my layout?

Thanks in advance!

2 Replies 2

Tom Watts
VIP Alumni
VIP Alumni

Hi Steve, this seems to depend on what the Sonicwall supports. The DHCP server and Sonicwall we will need to have the correct DHCP relay configurations. 

The SG200 switches are only layer 2 device which means they will not route VLANS. This translates in to a couple of concepts. The Sonicwall will need to support 802.1q either through sub interfaces or a trunk. If the Sonicwall does not support this then you may run 3 physical wires in to each respective VLAN from the router to the switches.

Please mark answered for helpful posts

-Tom Please mark answered for helpful posts

Level 1
Level 1

Everything Tom said, and depending on what FW version your sonicwall is running, you can do 802.1q trunking. Please see this tech document:

While the SG300 switches are much more robust; (you can assign an IP interface to each VLAN and use the switch as the default gateway to reach other VLANs, another router, the internet, etc)  it looks like you'll be fine since sonicwall has been implementing this feature since at least 2008.