I am wondering why my configuration does not work.
Could someone give me a clue?
I can connect to the AP with the given SSID and the tablet gets an IP address.
Also the device on ether1 gets an IP address.
However, I cannot reach the web server that is running on the device from the tablet.
At some point it worked. I thought I got it. But after rebooting mAP lite and the device on ether1, I cannot connect to ether1 again.
My setup
Code: Select all
+--------+
| |
| |
| Tablet |
| |
+--------+
o connect to AP
\_____/
\_________/
________
/ __ \
/ / \ \
o
|wlan1 DHCP server
+----+-----+
| mAP lite | bridge ether1, wlan1
+----------+
|ether1
| DHCP server
+----+-----+
| Device | web server
+----------+
My configuration
Code: Select all
/interface bridge
add name=bridge1
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX disabled=no distance=indoors \
frequency=auto installation=indoor mode=ap-bridge ssid=ST36249_AP wireless-protocol=802.11
/interface list
add exclude=dynamic include=static name=LAN
add exclude=static include=dynamic name=WIFI
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.99
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge1 name=dhcp1
/interface bridge port
add bridge=bridge1 interface=ether1 trusted=yes
add bridge=bridge1 interface=wlan1 trusted=yes
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add interface=ether1 list=LAN
add interface=wlan1 list=WIFI
/ip address
add address=192.168.88.1 interface=bridge1 network=192.168.88.1
add address=192.168.88.2 interface=ether1 network=192.168.88.2
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/system clock
set time-zone-name=Europe/Berlin