Here you can find the required configuration for a MikroTik hEX S to replace an eir provided router. The details about what led to this decision can be found here.
The most important part is setting VLAN ID to 10. The DNS and DHCP configuration are my personal choices, also Port Forwarding and DynDNS might not be relevant to you.
Initial Screen
Quick Set
Internet Interface Configuration
Interfaces > VLAN > +
Internet Access Configuration
IP > Firewall > NAT > +
Remove the now obsolete NAT Rule #0.
DHCP Configuration
IP > DHCP Server
Edit the preconfigured DHCP Server details.
DNS
IP > DNS
DynDNS
System > Scripts > +
############################################### :local NoIPUser "your username" :local NoIPPass "your password" :local NoIPDomain "your domain name.ddns.net" :local WANInterface "vlan1" ############################################### # Get the Current IP on the Interface :local CurrentIP [/ip address get [find interface="$WANInterface" disabled=no] address] # Strip the Net Mask off the IP Address :for i from=( [:len $CurrentIP] - 1) to=0 do={ :if ( [:pick $CurrentIP $i] = "/") do={ :set CurrentIP [:pick $CurrentIP 0 $i] } } :if ([:resolve $NoIPDomain] != $CurrentIP) do={ /tool fetch mode=http user=$NoIPUser password=$NoIPPass url="http://dynupdate.no-ip.com/nic/update\3Fhostname=$NoIPDomain&myip=$CurrentIP" keep-result=no :log info "No-IP: Update $NoIPDomain - $CurrentIP" } else={ :log info "No-IP: No update needed. $CurrentIP" }
System > Scheduler > +
Port Forwarding incl. Hairpin NAT
IP > Firewall > Address List > +
IP > Firewall > NAT > +
Make “Hairpin NAT” rule #0 by moving it to the top.
IP > Firewall > NAT > +
Very helpful and precise article, worked straight away when we -finally- got p’n’t to deliver the fibre. thank you & 73 de ei4ku!
Thank you very much zed, and congrats on being the first commenting on this post 😉
I’m going to try to set this up on my Unifi CGW Fiber, to bypass the eir fibre box 7. Fingers, and lots of other things, crossed 🤞🤞
Good luck, Rory! Please let me know how it went, I’m curious. I don’t know that eir fibre box 7, will look it up now 😉
Cheers,
Axel
Hi Axel,
It’s their new modem router for a fiber connection. It’s got WiFi 7 and 10GbE RJ45. It seems ok but it’s not my Unifi system so I’m trying to route around it.
Yeah, it’s probably ok-ish, until you really use it 🤣 Nowhere near the UniFi or the MikroTik, which is my choice. The rest of my wired network is also UniFi, all the APs are cheap TP-Links (which I might swap for UniFis some day).