I have bought the MikroTik hex S and I’m trying to install in my network.
I have attached the fiber cable to the SFP port and, for what I can see, it works correctly (SKYLANE SFP Bi. Tx1310/Rx1490 adapter).
My ISP gave me a username&password to use to set up the internet connection while I’m using my fritzbox 7590 as modem/router.
Which kind of setup should I do on the MikroTik hex S to enable the connection?
So its mostly done in the PPP menu settings instead of mostly IP DHCP CLient.
If there is no PPP you have to download extra packages to find it and load it.
Choose the PPPOE-client settings.
Well....I just searched for tutorials to understand how to configure the mikrotik and in the majority of them it's suggested to cancel the default config. So my question.
I would follow your suggestion and keep it since I'm still far away to really know how to secure my network
Going back on my first question, I can read this on my fritzbox:
This means that should be a PPPoE setup as suggested by anav?
That depends as to whether you have a static or dynamic IP from your ISP.
What may be easier, in your case, is to access the router via the web portal and use the Quick Configuration to connect via PPPoE then retrieve a dynamic IP. This will configure your DHCP client for the WAN interface.
That doesn’t mean you should not allow automatic IP address acquisition. Depends how your ISP delivers internet, but they should instruct you what to do. I don’t think you can actually statically set IP address when using PPPoE, but your ISP might have reserved IP address for you (and you then receive the same adress every time the pppoe session establishes). With “normal IPoE” it’s possible both that ISP makes static DHCP lease for you or that they instruct you to statically configure address (in the later case instructions have to include subnet mask, gateway address as well as DHCP server address and possibly NTP server address … these are all data otherwise obtained with DHCP lease).
Trying to get a mikrotik up and running as well, I’m using currently the router provided by telecom Italian with a technicolor gpon onu.
I plugged it in, added a vlan (835) to sfp and created a ppoe client on vlan1, no connection. Tried the same via easy configure and created a ppoe. Nothing either.
So, I have made some progress.
It appears that to be able to connect via pppoe I have to first setup a vlan_id=35 on ethernet1 (the info I found were for setup on ether1 as WAN, I will try afterwards to replicate on port SFP).
Hereafter my conf:
[admin@MikroTik] > export
# jun/16/2021 23:59:05 by RouterOS 6.48.3
# software id = DW36-0XQ9
#
# model = RB760iGS
# serial number = D4500D9CDA6F
/interface bridge
add admin-mac=08:55:31:76:53:30 auto-mac=no comment=defconf name=bridge
/interface ethernet
set [ find default-name=ether1 ] comment=LuxFibre_LOL
/interface vlan
add interface=ether1 name=luxfiber_lol35 vlan-id=35
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge name=defconf
/ppp profile
add change-tcp-mss=yes name=pppoe-luxfibre_lol use-mpls=no
/interface pppoe-client
add add-default-route=yes comment=LuxFibre_LOL disabled=no interface=luxfiber_lol35 max-mru=1492 max-mtu=1492 name=pppoe-luxfibre_lol password=MY_PASSWORD profile=pppoe-luxfibre_lol user=MY_USER
/interface bridge port
add bridge=bridge comment=defconf interface=ether2
add bridge=bridge comment=defconf interface=ether3
add bridge=bridge comment=defconf interface=ether4
add bridge=bridge comment=defconf interface=ether5
add bridge=bridge comment=defconf interface=sfp1
/ip neighbor discovery-settings
set discover-interface-list=LAN
/interface list member
add comment=defconf interface=bridge list=LAN
add comment=defconf interface=ether1 list=WAN
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
/ip dhcp-client
add comment=defconf disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.88.0/24 comment=defconf gateway=192.168.88.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip dns static
add address=192.168.88.1 comment=defconf name=router.lan
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=accept chain=input comment="defconf: accept to local loopback (for CAPsMAN)" dst-address=127.0.0.1
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
/system clock
set time-zone-name=Europe/Luxembourg
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN
[admin@MikroTik] >
With this configuration, I’m able to:
ping Google dns from the mikrotik terminal
ping any other website from the microtik terminal
ping the mikrotik ip (192.168.88.1) from my macbook
Unfortunately, I can’t ping the Google dns from the macbook although the dhcp setup seems fine
Can you also help me understand why I’m receiving this error message and how can I fix it?
[admin@MikroTik] >
00:17:08 echo: system,error,critical login failure for user enable from 31.163.164.248 via telnet
[admin@MikroTik] >
00:17:09 echo: system,error,critical login failure for user system from 31.163.164.248 via telnet
[admin@MikroTik] >
00:17:11 echo: system,error,critical login failure for user root from 31.163.164.248 via telnet
[admin@MikroTik] >
00:17:13 echo: system,error,critical login failure for user enable from 31.163.164.248 via telnet
[admin@MikroTik] >
00:17:14 echo: system,error,critical login failure for user system from 31.163.164.248 via telnet
[admin@MikroTik] >
00:17:16 echo: system,error,critical login failure for user root from 31.163.164.248 via telnet
[admin@MikroTik] >
00:17:18 echo: system,error,critical login failure for user enable from 31.163.164.248 via telnet
[admin@MikroTik] >
00:17:20 echo: system,error,critical login failure for user system from 31.163.164.248 via telnet
[admin@MikroTik] >
There are plenty of devices whose MAC addresses start with cc:50:e3 and which aren’t on the DHCP lease list … that MAC address range belongs to Espressif Inc, seems like they produce smart home gadgets. How these devices obtained their IP addresses is beyond my imagination. One reason might be that you changed active DHCP server while many devices had valid DHCP lease and those devices will appear on the lease list only after they renew lease which happens around half of lease lifetime.
Regarding wireless router: all devices have test results published as part of product pages. When looking at the numbers, many forum members find number under “Routing - 25 ip filter rules - 512 byte” to represent real-life performance pretty good.
And my advice: go for separate router (can be wired only) and for separate wireless AP. You’ll be able to place both devices at respective ideal locations and you’ll be able to replace AP with better model in (relatively) short time (or select different vendor) while router will likely perform fine for longer period of time.