Hello & Thank You!
I have 2 Mikrotik CRS124-24G-1S-2HnD - 1 is configured as the main ROUTER and runs all the network logic (2 DHCP Servers, Hotspot Server & Radius. The Radius server only allows guest WiFi access - DHCP is independent). 2nd mikrotik is utilized as a Managed SWITCH & AP for Hotspot. There are 3 addition AP appliances - RBcAPGi-5acD2nD-US connected to the Switch on ports 18, 20, 22 - also for the Hotspot. I have 2 VLANs - 1 (default - I’m calling it ‘Office’) & 200 ( ‘Hotspot’).
I have the ROUTER 99% configured (always that last 1%! ) and functional. The only issue I have at this point is guests accessing the internet through the Hotspot fail speedtests - the upload portion is always 0. Something I probably need to add in the firewall. All functionality of the Office VLAN (1) work normally.
The main issue - I’m not quite sure how to configure the SWITCH and APs. I’ve been reading many forum posts - and I thought I had it making sense - but nothing connected would receive a DHCP address (from Hotspot) or be able to ping the Hotspot servers or internet with statically assigned address.
I’ve attached a network diagram and output of the /export hide-sensitive
# apr/03/2019 16:05:40 by RouterOS 6.43.8
# software id = 7B86-7ZL3
#
# model = CRS125-24G-1S-2HnD
# serial number = 49C80458A3D7
/interface bridge
add disabled=yes fast-forward=no name=br-divlan10
add disabled=yes fast-forward=no name=br-divlan20
add disabled=yes name=br-hotspot-wifi vlan-filtering=yes
add admin-mac=4C:5E:0C:92:33:2F auto-mac=no fast-forward=no name=bridge-local \
vlan-filtering=yes
add name=loopback
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-Ce \
country="united states" disabled=no distance=indoors frequency=auto mode=\
ap-bridge ssid=OFFICE wireless-protocol=802.11
/interface ethernet
set [ find default-name=ether1 ] name=ether1-gateway speed=100Mbps
set [ find default-name=ether2 ] name=ether2-master-local speed=100Mbps
set [ find default-name=ether3 ] name=ether3-slave-local speed=100Mbps
set [ find default-name=ether4 ] name=ether4-slave-local speed=100Mbps
set [ find default-name=ether5 ] name=ether5-slave-local speed=100Mbps
set [ find default-name=ether6 ] name=ether6-slave-local speed=100Mbps
set [ find default-name=ether7 ] name=ether7-slave-local speed=100Mbps
set [ find default-name=ether8 ] name=ether8-slave-local speed=100Mbps
set [ find default-name=ether9 ] name=ether9-slave-local speed=100Mbps
set [ find default-name=ether10 ] name=ether10-slave-local speed=100Mbps
set [ find default-name=ether11 ] name=ether11-slave-local speed=100Mbps
set [ find default-name=ether12 ] name=ether12-slave-local speed=100Mbps
set [ find default-name=ether13 ] name=ether13-slave-local speed=100Mbps
set [ find default-name=ether14 ] name=ether14-slave-local speed=100Mbps
set [ find default-name=ether15 ] name=ether15-slave-local speed=100Mbps
set [ find default-name=ether16 ] name=ether16-slave-local speed=100Mbps
set [ find default-name=ether17 ] name=ether17-slave-local speed=100Mbps
set [ find default-name=ether18 ] name=ether18-slave-local speed=100Mbps
set [ find default-name=ether19 ] name=ether19-slave-local speed=100Mbps
set [ find default-name=ether20 ] name=ether20-slave-local speed=100Mbps
set [ find default-name=ether21 ] name=ether21-slave-local speed=100Mbps
set [ find default-name=ether22 ] name=ether22-slave-local speed=100Mbps
set [ find default-name=ether23 ] name=ether23-slave-local speed=100Mbps
set [ find default-name=ether24 ] name=ether24-slave-local speed=100Mbps
set [ find default-name=sfp1 ] advertise=10000M-full name=sfp1-slave-local
/interface vlan
add comment="DVR & IP CAMERA" interface=bridge-local name=VLAN100 vlan-id=100
add comment="Hotspot WiFi" interface=bridge-local name=VLAN200 vlan-id=200
/interface list
add exclude=dynamic name=discover
add name=mactel
add name=mac-winbox
add name=WAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk eap-methods="" \
group-ciphers=tkip,aes-ccm mode=dynamic-keys supplicant-identity=MikroTik \
unicast-ciphers=tkip,aes-ccm
/ip hotspot profile
set [ find default=yes ] dns-name=daysinn-alice.pcrcloudservices.com \
hotspot-address=10.5.50.1 login-by=http-chap,https name=hsprof1 \
nas-port-type=cable radius-accounting=no rate-limit=\
"2m/8m 10m/25m 7m/18m 30/30 8 1m/4m" ssl-certificate=\
daysinn-alice_pcrcloudservices_com.crt_0 use-radius=yes
/ip hotspot user profile
set [ find default=yes ] keepalive-timeout=3m mac-cookie-timeout=1d \
session-timeout=12h shared-users=unlimited
/ip pool
add name=dhcp ranges=192.168.0.101-192.168.0.150
add name=hs-pool-31 ranges=10.5.50.2-10.5.50.254
/ip dhcp-server
add address-pool=dhcp authoritative=after-2sec-delay disabled=no interface=\
bridge-local name=default
add address-pool=hs-pool-31 disabled=no interface=VLAN200 lease-time=3h name=\
hs-dhcp-31
/ip hotspot
add address-pool=hs-pool-31 disabled=no interface=VLAN200 name=hotspot1
/snmp community
set [ find default=yes ] addresses=0.0.0.0/0
/tool user-manager customer
set admin access=\
own-routers,own-users,own-profiles,own-limits,config-payment-gw
/tool user-manager profile
add name=hotspot-guest name-for-users=hotspot-guests override-shared-users=\
unlimited owner=admin price=0 starts-at=now validity=0s
/tool user-manager profile limitation
add address-list="" download-limit=3145728B group-name="" ip-pool="" name=\
limit1 owner=admin transfer-limit=0B upload-limit=512000B uptime-limit=0s
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1
add bridge=bridge-local interface=ether3-slave-local
add bridge=bridge-local interface=ether4-slave-local
add bridge=bridge-local interface=ether5-slave-local
add bridge=bridge-local interface=ether6-slave-local
add bridge=bridge-local interface=ether7-slave-local
add bridge=bridge-local interface=ether8-slave-local
add bridge=bridge-local interface=ether9-slave-local
add bridge=bridge-local interface=ether10-slave-local
add bridge=bridge-local interface=ether11-slave-local
add bridge=bridge-local interface=ether12-slave-local
add bridge=bridge-local interface=ether13-slave-local
add bridge=bridge-local interface=ether14-slave-local
add bridge=bridge-local interface=ether15-slave-local
add bridge=bridge-local interface=ether16-slave-local
add bridge=bridge-local interface=ether17-slave-local
add bridge=bridge-local interface=ether18-slave-local
add bridge=bridge-local interface=ether19-slave-local
add bridge=bridge-local interface=ether20-slave-local pvid=200
add bridge=bridge-local interface=ether21-slave-local pvid=200
add bridge=bridge-local interface=ether22-slave-local pvid=200
add bridge=bridge-local interface=ether23-slave-local pvid=200
add bridge=bridge-local interface=ether24-slave-local pvid=200
add bridge=bridge-local interface=sfp1-slave-local
add bridge=bridge-local interface=VLAN200 pvid=200
/ip neighbor discovery-settings
set discover-interface-list=discover
/interface bridge vlan
add bridge=bridge-local tagged=bridge-local,sfp1-slave-local untagged="ether24\
-slave-local,ether23-slave-local,ether22-slave-local,ether21-slave-local,e\
ther20-slave-local" vlan-ids=200
/interface list member
add interface=wlan1 list=discover
add interface=ether2-master-local list=discover
add interface=ether3-slave-local list=discover
add interface=ether4-slave-local list=discover
add interface=ether5-slave-local list=discover
add interface=ether6-slave-local list=discover
add interface=ether7-slave-local list=discover
add interface=ether8-slave-local list=discover
add interface=ether9-slave-local list=discover
add interface=ether10-slave-local list=discover
add interface=ether11-slave-local list=discover
add interface=ether12-slave-local list=discover
add interface=ether13-slave-local list=discover
add interface=ether14-slave-local list=discover
add interface=ether15-slave-local list=discover
add interface=ether16-slave-local list=discover
add interface=ether17-slave-local list=discover
add interface=ether18-slave-local list=discover
add interface=ether19-slave-local list=discover
add interface=ether20-slave-local list=discover
add interface=ether21-slave-local list=discover
add interface=ether22-slave-local list=discover
add interface=ether23-slave-local list=discover
add interface=ether24-slave-local list=discover
add interface=sfp1-slave-local list=discover
add interface=bridge-local list=discover
add list=discover
add interface=br-divlan20 list=discover
add list=discover
add interface=br-divlan10 list=discover
add interface=ether2-master-local list=mactel
add interface=ether3-slave-local list=mactel
add interface=ether4-slave-local list=mactel
add interface=ether2-master-local list=mac-winbox
add interface=ether5-slave-local list=mactel
add interface=ether3-slave-local list=mac-winbox
add interface=ether6-slave-local list=mactel
add interface=ether4-slave-local list=mac-winbox
add interface=ether7-slave-local list=mactel
add interface=ether5-slave-local list=mac-winbox
add interface=ether8-slave-local list=mactel
add interface=ether6-slave-local list=mac-winbox
add interface=ether9-slave-local list=mactel
add interface=ether7-slave-local list=mac-winbox
add interface=ether10-slave-local list=mactel
add interface=ether8-slave-local list=mac-winbox
add interface=ether11-slave-local list=mactel
add interface=ether9-slave-local list=mac-winbox
add interface=ether12-slave-local list=mactel
add interface=ether10-slave-local list=mac-winbox
add interface=ether13-slave-local list=mactel
add interface=ether11-slave-local list=mac-winbox
add interface=ether14-slave-local list=mactel
add interface=ether12-slave-local list=mac-winbox
add interface=ether15-slave-local list=mactel
add interface=ether13-slave-local list=mac-winbox
add interface=ether16-slave-local list=mactel
add interface=ether17-slave-local list=mactel
add interface=ether18-slave-local list=mactel
add interface=ether14-slave-local list=mac-winbox
add interface=ether19-slave-local list=mactel
add interface=ether15-slave-local list=mac-winbox
add interface=ether20-slave-local list=mactel
add interface=ether16-slave-local list=mac-winbox
add interface=ether21-slave-local list=mactel
add interface=ether17-slave-local list=mac-winbox
add interface=ether22-slave-local list=mactel
add interface=ether18-slave-local list=mac-winbox
add interface=ether23-slave-local list=mactel
add interface=ether19-slave-local list=mac-winbox
add interface=ether24-slave-local list=mactel
add interface=sfp1-slave-local list=mactel
add interface=ether20-slave-local list=mac-winbox
add interface=wlan1 list=mactel
add interface=ether21-slave-local list=mac-winbox
add interface=bridge-local list=mactel
add interface=ether22-slave-local list=mac-winbox
add interface=ether23-slave-local list=mac-winbox
add interface=ether24-slave-local list=mac-winbox
add interface=sfp1-slave-local list=mac-winbox
add interface=wlan1 list=mac-winbox
add interface=bridge-local list=mac-winbox
add interface=ether1-gateway list=WAN
/ip address
add address=192.168.0.1/24 comment="default configuration" interface=\
bridge-local network=192.168.0.0
add address=97.79.173.210/29 interface=ether1-gateway network=xxx.xxx.xxx.xxx
add address=10.5.50.1/24 comment="hotspot network" interface=VLAN200 network=\
10.5.50.0
add address=192.168.10.1/24 interface=loopback network=192.168.10.0
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid interface=\
ether1-gateway
/ip dhcp-server network
add address=10.5.50.0/24 comment="HOT SPOT - GUEST NETWORK" dns-server=\
10.5.50.1 gateway=10.5.50.1 netmask=24
add address=192.168.0.0/24 comment="default configuration" gateway=\
192.168.0.1 netmask=24
/ip dns
set allow-remote-requests=yes cache-max-ttl=1d servers=\
208.67.220.220,208.67.222.222
/ip dns static
add address=192.168.0.1 name=router
/ip firewall address-list
add address=192.168.0.2 comment="Laundry Room - Mikrotik Router 2" list=\
INTERNAL-OFFICE
add address=192.168.0.11 comment="Building A - Middle Hall - cAP" list=\
INTERNAL-OFFICE
add address=192.168.0.12 comment="Building B - Middle Hall - cAP" list=\
INTERNAL-OFFICE
add address=192.168.0.13 comment=\
"Building A - Back Hall - Front of Laundry - cAP" list=INTERNAL-OFFICE
add address=192.168.0.252 comment="Camera DVR - port 8000" list=\
INTERNAL-OFFICE
add address=192.168.0.253 comment="Camera DVR - port 8088" list=\
INTERNAL-OFFICE
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=accept chain=forward comment="Office Access to Hotspot Resources" \
disabled=yes in-interface=bridge-local out-interface=br-divlan20
add action=accept chain=forward disabled=yes in-interface=br-divlan20 \
out-interface=bridge-local
add action=accept chain=input comment=WHITELIST src-address-list=WHITELIST
add action=accept chain=input comment="default configuration" protocol=icmp
add action=accept chain=input comment="default configuration" \
connection-state=established,related
add action=drop chain=input comment="default configuration" in-interface=\
ether1-gateway
add action=fasttrack-connection chain=forward comment="default configuration" \
connection-state=established,related
add action=accept chain=forward comment="default configuration" \
connection-state=established,related
add action=drop chain=forward comment="default configuration" \
connection-state=invalid
add action=drop chain=forward comment="default configuration" \
connection-nat-state=!dstnat connection-state=new in-interface=\
ether1-gateway
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="default configuration" \
out-interface=ether1-gateway
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=10.5.50.0/24
add action=netmap chain=dstnat disabled=yes dst-address=xxx.xxxx.xxx.xxx \
dst-port=8088 protocol=tcp to-addresses=192.168.0.253 to-ports=8088
add action=netmap chain=dstnat comment=\
"Forwarding to Security Cameras -- Front DVR (Lorex)" dst-address=\
xxx.xxxx.xxx.xxx dst-port=35000 protocol=tcp to-addresses=192.168.0.252 \
to-ports=35000
add action=netmap chain=dstnat dst-address=xxx.xxxx.xxx.xxx dst-port=35001 \
protocol=udp to-addresses=192.168.0.252 to-ports=35001
add action=netmap chain=dstnat comment=" \
\_ -- Back Laundry Room DVR" dst-address=xxx.xxxx.xxx.xxx \
dst-port=8088 protocol=tcp to-addresses=192.168.0.253 to-ports=8088
add action=netmap chain=dstnat comment=\
"OLD SETTINGS Forwarding to Security Cameras" dst-address=xxx.xxx.xxx.xxx\
dst-port=8000 protocol=tcp to-addresses=192.168.0.252 to-ports=8000
add action=dst-nat chain=dstnat comment="PCR Remote to Network Locations \
\_ Laundry Room - Mikrotik Switch w/ WiFi" dst-port=31338 protocol=\
tcp src-address-list=WHITELIST to-addresses=192.168.0.2
add action=dst-nat chain=dstnat comment=" \
\_ Building A - Middle Hall - Mikrotik cAP" dst-port=\
protocol=tcp src-address-list=WHITELIST to-addresses=192.168.0.11
add action=dst-nat chain=dstnat comment=" \
\_ Building B - Middle Hall - Mikrotik cAP" dst-port=\
protocol=tcp src-address-list=WHITELIST to-addresses=192.168.0.12
add action=dst-nat chain=dstnat comment=" \
\_ Building A - Back Hall - Mikrotik cAP" dst-port=\
protocol=tcp src-address-list=WHITELIST to-addresses=192.168.0.13
/ip hotspot service-port
set ftp disabled=yes
/ip hotspot user
add disabled=yes name=guest server=hotspot1
/ip hotspot walled-garden
add comment="place hotspot rules here" disabled=yes
/ip hotspot walled-garden ip
add action=accept comment="DHCP Server" disabled=no dst-address=192.168.10.1 \
!dst-address-list !dst-port !protocol server=hotspot1 !src-address \
!src-address-list
add action=accept comment="Office Resources on Hotspot Bridge" disabled=yes \
!dst-address dst-address-list=INTERNAL-OFFICE !dst-port !protocol server=\
hotspot1 !src-address !src-address-list
add action=accept disabled=yes !dst-address !dst-address-list !dst-port \
!protocol server=hotspot1 !src-address src-address-list=INTERNAL-OFFICE
/ip route
add distance=1 gateway=xxx.xxx.xxx.xxx
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www address=192.168.0.0/24,65.36.17.210/32
set ssh disabled=yes
set www-ssl certificate=xxx.crt_0 disabled=no
set api disabled=yes
set api-ssl disabled=yes
/lcd
set time-interval=hour
/lcd interface pages
set 0 interfaces=wlan1
/radius
add address=192.168.10.1 service=hotspot
/system clock
set time-zone-name=America/Chicago
/system identity
set name=router
/system ntp client
set enabled=yes primary-ntp=138.68.46.177
/tool mac-server
set allowed-interface-list=mactel
/tool mac-server mac-winbox
set allowed-interface-list=mac-winbox
/tool romon port
add
/tool sniffer
set only-headers=yes
/tool user-manager database
set db-path=user-manager
/tool user-manager profile profile-limitation
add from-time=0s limitation=limit1 profile=hotspot-guest till-time=23h59m59s \
weekdays=sunday,monday,tuesday,wednesday,thursday,friday,saturday
/tool user-manager router
add coa-port=1700 customer=admin disabled=no ip-address=192.168.10.1 log=\
auth-ok,auth-fail name=local-router use-coa=no
/tool user-manager user
add customer=admin disabled=no shared-users=unlimited username=daysinn \
wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
