Hi,
My goal is to configure DHCP server for two SSIDs that I have created. I seem to configure DHCP pools and servers per wireless interface but it’s in red and clients don’t get any IP leases. I don’t know whats wrong, please help. I have my config below:
[admin@MikroTik] > /export compact
# jan/02/1970 00:02:41 by RouterOS 5.25
# software id = XXXXXXX
#
/interface bridge
add admin-mac=D4:CA:6D:A6:53:77 auto-mac=no l2mtu=1598 name=bridge-local \
protocol-mode=rstp
/interface wireless
set 0 antenna-gain=90 band=2ghz-b/g/n channel-width=20/40mhz-ht-above country=\
"united kingdom" disabled=no distance=indoors frequency=2472 \
frequency-mode=regulatory-domain ht-rxchains=0,1 ht-txchains=0,1 l2mtu=2290 \
mode=ap-bridge ssid="eduroam test" wireless-protocol=802.11
/interface ethernet
set 0 name=ether1-gateway
set 1 name=ether2-master-local
set 2 master-port=ether2-master-local name=ether3-slave-local
set 3 master-port=ether2-master-local name=ether4-slave-local
set 4 master-port=ether2-master-local name=ether5-slave-local
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-eap,wpa2-eap group-ciphers=\
tkip,aes-ccm mode=dynamic-keys tls-certificate=cert1 tls-mode=\
verify-certificate unicast-ciphers=tkip,aes-ccm wpa-pre-shared-key=\
45E50251F88E wpa2-pre-shared-key=XXXXXXX
add authentication-types=wpa-psk,wpa2-psk eap-methods=passthrough \
management-protection=allowed name="open wifi" supplicant-identity=""
/interface wireless
add disabled=no l2mtu=2290 mac-address=D6:CA:6D:A6:53:7B master-interface=wlan1 \
name=wlan1_1 security-profile="open wifi" ssid="eduroam setup test" \
wds-cost-range=0 wds-default-cost=0
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
add name=dhcp_pool1 ranges=0.0.0.2-255.255.255.254
add name=dhcp_pool2 ranges=192.168.1.10-192.168.1.140
add name=dhcp_pool3 ranges=192.168.1.150-192.168.1.200
/ip dhcp-server
add address-pool=dhcp_pool2 disabled=no interface=wlan1 name=server1
add address-pool=dhcp_pool3 disabled=no interface=wlan1_1 name=server2
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1
/ip address
add address=192.168.1.254/24 comment="default configuration" interface=\
bridge-local
/ip dhcp-client
add comment="default configuration" disabled=no interface=ether1-gateway
/ip dhcp-server network
add dns-server=0.0.0.0 gateway=0.0.0.1
add address=192.168.1.0/24 comment="default configuration" dns-server=\
192.168.1.2 gateway=192.168.1.254
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add action=drop chain=input comment="default configuration" in-interface=\
ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=\
invalid
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" disabled=yes \
out-interface=ether1-gateway to-addresses=0.0.0.0
/ip neighbor discovery
set ether1-gateway disabled=yes
set wlan1 disabled=yes
set wlan1_1 disabled=yes
/radius
add address=192.168.1.52 secret=XXXXXXXX service=wireless timeout=500ms
add address=192.168.1.53 secret=XXXXXXXX service=wireless timeout=500ms
/system leds
set 0 interface=wlan1
/tool mac-server
add disabled=no interface=ether2-master-local
add disabled=no interface=ether3-slave-local
add disabled=no interface=ether4-slave-local
add disabled=no interface=ether5-slave-local
add disabled=no interface=wlan1
add disabled=no interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=wlan1
add interface=bridge-local
[admin@MikroTik] >