Hi,
I am new with Mikrotik.
I made a mess on my hAP ac2 and lost the IP setting on it. IP changed to 0.0.0.0 and I had to connect to the router via MAC address. The result, I have to setup everything manually.
No Complain at all. I will learn more ![]()
I watched the video below:
https://www.youtube.com/watch?v=vtWZmhI2Jug
Now I have access to the internet via LAN port 2.
My cellphone can connect to the WiFi of the Mikrotik and get an IP address from the dhcp. However, does not have access to the internet.
I guess the issue is in routing section. I cannot route WIFI traffic to my default gateway, I do not know, how to do it..
Please help.
[admin@MikroTik] > export compact
mar/01/2020 15:20:58 by RouterOS 6.46.4
software id = Y0VH-ZIIZ
model = RBD52G-5HacD2HnD
serial number = xxxxxxx
/interface bridge
add admin-mac=74:4D:28:9D:4C:A3 auto-mac=no comment=defconf name=bridgeLocal
add name=bridgeWiFi
/interface wireless
set [ find default-name=wlan1 ] ssid=MikroTik
set [ find default-name=wlan2 ] disabled=no hide-ssid=yes mode=ap-bridge
ssid=MF-5 wireless-protocol=802.11
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys
supplicant-identity=MikroTik wpa-pre-shared-key=";lgi02uf,v29fvhd,hthD"
wpa2-pre-shared-key=";lgi02uf,v29fvhd,hthD"
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=Pool-WiFi5 ranges=192.168.77.150-192.168.77.254
/ip dhcp-server
add address-pool=Pool-WiFi5 disabled=no interface=bridgeWiFi name=dhcp-WiFi5
/interface bridge port
add bridge=bridgeLocal comment=defconf interface=ether2
add bridge=bridgeLocal comment=defconf interface=ether3
add bridge=bridgeLocal comment=defconf interface=ether4
add bridge=bridgeLocal comment=defconf interface=ether5
add bridge=bridgeWiFi interface=wlan2 trusted=yes
add bridge=bridgeLocal interface=wlan1
/interface list member
add interface=ether1 list=WAN
add interface=ether2 list=LAN
add interface=ether3 list=LAN
add interface=ether4 list=LAN
add interface=ether5 list=LAN
add comment="WiFi 5G" interface=wlan2 list=LAN
add interface=wlan1 list=LAN
/interface wireless cap
set bridge=bridgeLocal discovery-interfaces=bridgeLocal interfaces=
wlan1,wlan2
/ip address
add address=192.168.7.1/24 interface=ether2 network=192.168.7.0
add address=192.168.77.1/24 interface=bridgeWiFi network=192.168.77.0
add address=192.168.1.77/24 interface=ether1 network=192.168.1.0
/ip dhcp-client
add comment=defconf interface=bridgeLocal
/ip dhcp-server network
add address=192.168.77.0/24 comment=WiFi dns-server=192.168.77.1 gateway=
192.168.77.1
/ip dns
set servers=8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat log=yes out-interface=ether1
/ip route
add distance=1 gateway=192.168.1.1
add distance=1 dst-address=192.168.7.0/24 gateway=192.168.1.1
add distance=1 dst-address=192.168.77.1/32 gateway=192.168.1.1
/system clock
set time-zone-name=America/New_York
[admin@MikroTik] >