Hi, I created a dhcp server with the IP ranges and when I connected my PC to the interface where I defined the dhcp server, it does not hand out any IP addresses. Static assignment is recognized and works fine with access to both the subnet and the internet. I am thinking that my definition of the dhcp server is correct. Please help if you can spot the error in this config I have attached. Thank you.
tiker
------------------------------------------------------------------------------------------------------
#
/interface ethernet
set [ find default-name=ether4 ] name=LAN
set [ find default-name=ether1 ] name=WAN
set [ find default-name=ether2 ] master-port=LAN
set [ find default-name=ether3 ] master-port=LAN
/ip pool
add name=dhcp-pool ranges=192.168.10.50-192.168.10.100
/ip dhcp-server
add address-pool=dhcp-pool interface=LAN name=dhcp1
/ip address
add address=192.168.0.150/24 interface=WAN network=192.168.0.0
add address=192.168.10.1/24 interface=LAN network=192.168.10.0
/ip dhcp-server network
add address=192.168.10.0/24 dns-server=8.8.8.8 gateway=192.168.10.1
/ip firewall nat
add action=masquerade chain=srcnat comment="Masquerade Public Traffic" out-interface=WAN src-address=192.168.10.0/24
/ip route
add distance=1 gateway=192.168.0.1
/lcd interface pages
set 0 interfaces=sfp1,WAN
/system clock
set time-zone-name=America/Chicago