E
E
Evgeny Gladkov2019-01-25 18:23:38
Mikrotik
Evgeny Gladkov, 2019-01-25 18:23:38

How to set up Internet access on a microtik router?

Help setting up Mikrotik. I have microtik hap ac lite. I set everything up, everything works everywhere, except for the most important thing - there is no Internet from the wire. I also tried using dhcp-client (always in the searching state ...), and registering a static ip with handles (the gateway has a reachable value), but there is no Internet even on the router (ping 8.8.8.8 does not work on the router (timeout)). I did not push the connector into the wan bridge. How do you say CHADNT (What Am I Doing Wrong)? On the old d-link, everything works perfectly via dhcp. The firmware on the router is the latest, v6.43.8., I even installed everything from extra packages, it does not work.

Here is the complete config
# jan/25/2019 21:57:36 by RouterOS 6.43.8
# software id = 21LH-WQ1W
#
# model = RouterBOARD 952Ui-5ac2nD
/interface bridge
add name=bridge1
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-onlyn basic-rates-b="" country=\
russia disabled=no distance=indoors frequency=auto hw-protection-mode=\
rts-cts max-station-count=30 mode=ap-bridge rate-set=configured ssid=\
Sander2G supported-rates-b="" tx-power-mode=all-rates-fixed \
wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-onlyac country=russia disabled=no \
distance=indoors frequency=auto hw-protection-mode=rts-cts \
max-station-count=30 mode=ap-bridge ssid=Sander5G tx-power-mode=\
all-rates-fixed wireless-protocol=802.11
/interface wireless nstreme
set wlan1 enable-polling=no
set wlan2 enable-polling=no
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk eap-methods="" mode=\
dynamic-keys supplicant-identity=MikroTik wpa2-pre-shared-key=xxxxx
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp_pool1 ranges=192.168.0.100-192.168.0.200
/ip dhcp-server
add address-pool=dhcp_pool1 disabled=no interface=bridge1 lease-time=3d name=\
dhcp1
/interface bridge port
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=wlan1
add bridge=bridge1 interface=wlan2
/ip address
add address=192.168.0.1/24 interface=bridge1 network=192.168.0.0
add address=176.107.8.249/24 interface=ether1 network=176.107.8.0
/ip dhcp-server network
add address=192.168.0.0/24 gateway=192.168.0.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall nat
add action=masquerade chain=srcnat src-address=192.168.0.0/24
/ip route
add distance=1 gateway=176.107.8.1
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/ip upnp
set enabled=yes
/system clock
set time-zone-name=Europe/Moscow

Answer the question

In order to leave comments, you need to log in

4 answer(s)
E
Evgeny Gladkov, 2019-01-26
@Jeff_Pro123

Problem solved, thank you all.
It was necessary to change the dhcp client default route distance to 10.

C
CityCat4, 2019-01-25
@CityCat4

Binding on the poppy from the provider?

J
joginzbajin, 2019-01-25
@joginzbajin

And try to go through the "comics" for the first time (this or another does not matter)
On the new firmware there will be a nuance with the bridge, it's easy enough to figure it out...

A
Alexander, 2019-01-28
@stinger0

out interface is not specified in the NAT masquerading rule. In the same rule, correct and everything will start.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question