pfSense with Windows DHCP server and Multi subnet/vlan network (and a cisco switch).
-
Hello,
im trying to get some dhcp leasing working in my environment.
i have multiple subnets on my pfsense router (mini pc with four nics)
172.16.3.1 (router/lan/native)
172.16.10.1 (managment) - vlan 10
172.16.20.1 (clients) - vlan 20
10.24.50.1 (wifi) - vlan 50
and 172.16.100.1 (servers) - vlan 100-
I have a Windows DHCP server tagged vlan 100 within proxmox (172.16.100.3)
-
and a windows 10 testing desktop tagged for vlan 50 configured with DHCP
-
dhcp relay is enabled on the router (pfsense) and the routers ip is 172.16.3.1
-
the dhcp relay on pfsense is pointing to 172.16.100.3 (the dhcp server on proxmox) with the lan/client and wifi vlans all selected.
i have a superscope setup on the dhcp server with 10.24.50.0 net,172.16.20.0 net, 172.16.3.0 net as sub scopes under the super scope (they are configured with the relevant router ips, e.g. the scope for 10.24.50.0 is configured with the router ip 10.24.50.1 - which is the vlan static ip for wifi net/vlan on pfsense.
i have a cisco switch (catalyst 3560G) connecting the pfsense router and my server together.
i have trunked all relevant ports with the vlans and all firewall rules on my router are 'allow all' while testing.
the cisco switch has ip helper-address on vlan 50 configured to point to 172.16.100.3 (the dhcp server)
This configuration doesnt seem to work. does anyone know what im doing wrong?
-
-
@TgWaKu
I run DHCP off my Cisco layer 3 switch not pfsense. I recommend only 1 DHCP server per local network. Otherwise, you need to limit the scopes.