Question Locked

Need help understanding DHCP through switch

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a Sonicwall TZ500 Firewall/Router and I am trying to connect and configure a switch through the firewall software.
I am having difficulty understanding how DHCP can be accessed through the switch. I am instructed to give the management port a static ip different from the DHCP range. When a device connects to the switch, it is given an ip in the range of the management port not the firewall.

For example: my DHCP range from the firewall is 192.168.254.xxx and my management port on the switch is 192.168.100.1 When I plugged a laptop into the switch port 24 it assigned 192.168.100.142 I want the switch to use the DHCP from the firewall. I don't see dhcp enabled on the switch, actually I can't locate anything regarding dhcp on the switch.

If you don't understand my description of the issue, please let me try to clear up the explanation.

Thanks for reading

3 replies

by rproffitt edited

You write about a switch but no make or model. Also, most switches are unmanaged so to make the devices managed you put them on managed ports. It's that simple.

by abartkiewicz

A switch is a layer 2 device and DHCP is a layer 3 protocol. Your switch can't do DHCP. It would have to be a router for that. What it sounds like to me is that you have your "switch plugged into your firewall and the "switch" is getting an ip (192.168.254.XXX) from your firewall. Then is it possible your switch is actually a router and it is giving you an IP on 192.168.100.X? If this is the case you should set your "switch" to do a passthrough to your firewall

This discussion is closed to new replies.