The official Mikrotik router thread

Dude you skinned that poor cat until there was only a piece of sinew left :)
:ROFL:
5009 is damn nice hardware and interested in what you doing with the USB? You can test the containers when they become available as you have the memory to do so while I have to upgrade my Hexs
USB powers Raspberry Pi, nothing fancy, just an easy way I skinned the cat to keep my pihole/unify controller running via the mini UPS.
 
Thanks @Leno, I am currently using one that @B-127 kindly shared with me which seems to be working pretty well. It uses Netwatch in conjunction with PCC to balance connections over the two links, and then does failover when Frogfoot inevitably goes down.

I've downgraded to 6.49.2 again, will perhaps try 7.1 on the next iteration. For some reason my route to access my Rain CPE wasn't working. Downgraded to 6.49.2 and it works again. Bizarre.

@IceQB, happy 3000th post, yo
 
Thanks @Leno, I am currently using one that @B-127 kindly shared with me which seems to be working pretty well. It uses Netwatch in conjunction with PCC to balance connections over the two links, and then does failover when Frogfoot inevitably goes down.

I've downgraded to 6.49.2 again, will perhaps try 7.1 on the next iteration. For some reason my route to access my Rain CPE wasn't working. Downgraded to 6.49.2 and it works again. Bizarre.

@IceQB, happy 3000th post, yo
I've setup mine as basic failover, fibre goes Voda kicks in.
Fibre comes back, switches back.
Tried with load balancing but the failover just wouldn't work like it should.

3000 didn't even notice
 
I've setup mine as basic failover, fibre goes Voda kicks in.
Fibre comes back, switches back.
Tried with load balancing but the failover just wouldn't work like it should.

3000 didn't even notice
I'll send you a sanitised and modified version of what I am running, the bits that make the LB/FO work. Just give me a couple of minutes to get it cleaned up and onto Pastebin

EDIT: https://pastebin.com/NcjjeQ5W

This should be the relevant config. I'm fighting a huge case of flu so please pardon if I maybe missed some config.

Network: 10.0.0.0/24
Rain CPE: 192.168.0.1 via ether2
Frogfoot: pppoe0 via ether1
 
Last edited:
My failover is 1 fibre line 2 ISP's using PPPoE. Made the 2nd ISP a default route distance of 2 so if ISP1 ever goes down I am not even aware. It also allows me to always route a specific subnet belonging to ISP2 as they have a server I use there which I can only access using their range.

Sometimes ISP1 has a go slow and I manually disable then have to remember to enable later. Have not tested if the latency goes up and could script the change but it only happens every few months anyway.

If my fibre line goes down I have an LTE router as well, but touch wood have yet to use it so its not even configured at the moment.
 
I'll send you a sanitised and modified version of what I am running, the bits that make the LB/FO work. Just give me a couple of minutes to get it cleaned up and onto Pastebin

EDIT: https://pastebin.com/NcjjeQ5W

This should be the relevant config. I'm fighting a huge case of flu so please pardon if I maybe missed some config.

Network: 10.0.0.0/24
Rain CPE: 192.168.0.1 via ether2
Frogfoot: pppoe0 via ether1
Thanks will go thru it later tonight
 
Thanks will go thru it later tonight
Cool.

Mine is likely overly complex as it also made provision for additional rules that forced Netflix and YouTube over Frogfoot and not Rain UNLESS Frogfoot is down, because on the package I use, all streaming content is forced to 720p on Rain. But I stripped all that out as it isn't necessary for you, most likely.

But see if it works for you.
 
I'll send you a sanitised and modified version of what I am running, the bits that make the LB/FO work. Just give me a couple of minutes to get it cleaned up and onto Pastebin

EDIT: https://pastebin.com/NcjjeQ5W

This should be the relevant config. I'm fighting a huge case of flu so please pardon if I maybe missed some config.

Network: 10.0.0.0/24
Rain CPE: 192.168.0.1 via ether2
Frogfoot: pppoe0 via ether1
You can simplify the PCQ

In a PCQ 2 stream setup, you only need to mark the rain traffic as the frogfoot half will just use the default route

If RAIN goes down you can set your netwatch to just disable either the mark connection or mark routing rule, and the route distances should take care of the rest

The static route for 1.1.1.1 pppoe0 will also not work as with routes to pppoe interfaces, when pppoe0 goes down, that static route gets removed/invalidated and netwatch will still be able to reach 1.1.1.1
 
To use an ip for netwatch on only one connection here is an example of the routing

192.168.88.20 is a dummy ip on my network that wont route anything, it just makes sure that traffic will fail if my pppoe1 is down

Code:
/ip route
add disabled=no dst-address=8.8.4.4/32 gateway=pppoe1
add comment="dummy route" disabled=no distance=2 dst-address=8.8.4.4/32 gateway=192.168.88.20
 
You'd plug in the ONT LAN cable into the "LAN" port of the UPS and plug the "POE" port from the UPS into the HAP Router, then the router can be as far away as the LAN cable is long.

My neighbour had some IT guys setting up security cams, so I asked them to take a look. The cable they had worked, thanks :)
 
@Leno Do you by any chance have a working failover config for IPV6?
Would be keen to see how that is configured, if not no worries :)
I havent played with the ipv6 nat yet, which would be required

Once Frogfoot problems in PE level out ill enable my ipv6 again

The other problem is Rain doesnt have ipv6 so I would have to use HE tunnelbroker, but rain has CGNAT also so will have to look at setting up a wireguard server somewhere locally

Without load balancing it should work the same, ipv6 src Nat rule for the tunnelbroker / backup connection, and a higher distance default route for backup connection (assuming your primary is pppoe or similar)
 
For setting up wireguard I used this video as a guide

It didn't work following his guide, needed to do the following in addition to the steps in the video

1. IP > Firewall > Filter Rules : drag the wireguard rule he mentions up above the defconf blocks
2. IP > Firewall > Filter Rules : add a new rule Chain = Forward, In Interface = wireguard, Action = Accept
3. Interface > Interface List : add wireguard to "LAN" (so my rules for LAN based traffic applied to clients)
Thanks for this. Wireguard is working great and my iPhone now auto connects when on any network that is not my home WiFi :thumbsup:
 
Has anyone set up load balancing? I tried PCC but it’s not playing ball. At this point my issues has issues :crying:
 
Has anyone set up load balancing? I tried PCC but it’s not playing ball. At this point my issues has issues :crying:
The config I posted earlier should have snippets of my LB setup. Otherwise post your sanitised config and let's have a look
 
The config I posted earlier should have snippets of my LB setup. Otherwise post your sanitised config and let's have a look
I've made a basic clean script export and removed stuff like dhcp, wireguard etc, I'm going to add another script later where I re-added all the PCC rules (but it does make the Internet die)

Basically, I want to load balance Afrihost/Cool Ideas to get gbit. I know that I won't be able to get a single gbit connection, but as I understand it, I can for example pull from both ISPs on something like Steam which uses concurrent connections. :)

Current script (non PCC) https://pastebin.com/cLfYsC9d (Cool Ideas disabled, default route added for Afrihost, nothing fancy
Script with rules: https://pastebin.com/Qagaxdvh
 
Last edited:
I've made a basic clean script export and removed stuff like dhcp, wireguard etc, I'm going to add another script later where I re-added all the PCC rules (but it does make the Internet die)

Basically, I want to load balance Afrihost/Cool Ideas to get gbit. I know that I won't be able to get a single gbit connection, but as I understand it, I can for example pull from both ISPs on something like Steam which uses concurrent connections. :)

Current script (non PCC) https://pastebin.com/cLfYsC9d (Cool Ideas disabled, default route added for Afrihost, nothing fancy
Script with rules: TBA
You cant have fastrack enabled with PCC - fasttrack ignores mangle rules

Code:
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
    connection-state=established,related hw-offload=yes packet-mark=no-mark

edit : Noticed now your packet-mark=no-mark
 
Top
Sign up to the MyBroadband newsletter
X