DHCP Server is showing red

I have completed setting up a hotspot using the Mikrotik RB951Ui-2HnD. However, I am experiencing 2 errors:

  1. The DHCP Server is showing red

  2. I am unable to access the userman login page from the browser using the "ip address/userman"

Please find below the config file:

# sep/19/2020 02:26:08 by RouterOS 6.47
# software id = 8CC0-GSCR
#
# model = 951Ui-2HnD
# serial number = B8620B13DCBD
/interface bridge
add name=loopback protocol-mode=none
/interface wireless
set [ find default-name=wlan1 ] antenna-gain=0 country=no_country_set \
    disabled=no frequency-mode=manual-txpower ssid=MikroTik
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
add hotspot-address=192.168.31.1 name=hsprof1 use-radius=yes
/ip pool
add name=dhcp_pool0 ranges=192.168.31.100-192.168.31.200
add name=dhcp_pool1 ranges=192.168.31.100-192.168.31.200
add name=dhcp_pool2 ranges=192.168.31.100-192.168.31.200
add name=dhcp_pool3 ranges=192.168.31.2-192.168.31.254
add name=dhcp_pool4 ranges=192.168.31.2-192.168.31.254
add name=dhcp_pool5 ranges=192.168.31.100-192.168.31.200
add name=dhcp_pool6 ranges=192.168.31.100-192.168.31.200
add name=dhcp_pool7 ranges=192.168.31.100-192.168.31.200
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=wlan1 lease-time=10h name=\
    server1
/ip hotspot
add address-pool=dhcp_pool0 disabled=no interface=wlan1 name=hotspot1 \
    profile=hsprof1
/tool user-manager customer
set admin access=\
    own-routers,own-users,own-profiles,own-limits,config-payment-gw password=\
    password
/user group
set full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,pas\
    sword,web,sniff,sensitive,api,romon,dude,tikapp"
/ip address
add address=192.168.81.1 interface=loopback network=192.168.81.1
add address=192.168.31.1/24 interface=wlan1 network=192.168.31.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.31.0/24 dns-server=10.4.0.1,10.4.0.2,8.8.8.8,8.8.4.4 \
    gateway=192.168.31.1
/ip dns
set servers=10.4.0.1,10.4.0.2,8.8.8.8,8.8.4.4
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
    "place hotspot rules here" disabled=yes
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
    "place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat out-interface=ether1
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
    src-address=192.168.31.0/24
/ip hotspot user
add name=admin password=admin
/radius
add address=192.168.81.1 secret=admin service=hotspot
/system clock
set time-zone-name=Africa/Lagos
/tool user-manager database
set db-path=user-manager

Hi pob, first I would like to know whats the point of having 6 IP pools with the same network/range.

That must be an error… I’m not sure how it came about… unintended… I’m an amateur trying to configure an home hotspot.

How can I go about correcting this please… and fixing the other problems with the dhcp and accessing the userman login page

Sounds like you need to learn how to configure the router before attempting hotspot…

Error is because by default WLAN interface shows down when nobody is connected! That’s why dhcp-server show in red because is configured in a down interface