not getting IP from Mikrotik

I have Mikrotik 4.12 with hotspot and it is connected to switch to connect APs. When I connect to any of APs, I don’t get an IP from DHCP server. There are users who get IP and other who doesn’t get IP. I am connecting NanoStation M2 and I get data rate of 130Mb/s in my laptop but I don’t get IP from the server. I used to get IP from the DHCP server normally.

Note: when I specify static IP in my computer, the internet is working normally.

The DHCP server has network 192.168.2.0/24 with Netmask 30 and use one address pool which is 192.168.2.2-192.168.2.254

192.168.2.1 is hotspot IP

Weird, I changed the Netmask to 32 and the internet is working now and I am getting IP from the server.

what are the reason?

Please post your configuration in a [ code ] [ /code ] block.

/ip address export
/ip dhcp-server export

/ip address
add address=192.168.2.1/24 broadcast=192.168.2.255 comment="" disabled=no \
    interface=lan network=192.168.2.0
add address=192.168.1.60/24 broadcast=192.168.1.255 comment="" disabled=no \
    interface=wan network=192.168.1.0
add address=192.168.6.1/32 broadcast=192.168.6.1 comment="" disabled=no \
    interface=lan network=192.168.6.1

/ip dhcp-server
add address-pool=hs-pool authoritative=after-2sec-delay bootp-support=static \
    disabled=no interface=lan lease-time=1d name=webbox
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=192.168.2.0/24 comment="" dns-server=\
    212.72.23.30,62.231.243.249,8.8.8.8,8.8.4.4 gateway=192.168.6.1 netmask=\
    32

I am using diffrent gate way 192.168.6.1 becuase it help against Netcut. hacker doesn’t get the gateway.