Community discussions

MikroTik App
 
erkan1525
just joined
Topic Author
Posts: 15
Joined: Sat Nov 12, 2016 3:04 pm

Ethernet loaad balance

Fri Jun 19, 2020 1:09 pm

Hi,
I have a problem I made a drawing to better explain it. Please take a look at the drawing.

There are PPPoE servers in CCR1036. We serve our customers by verifying with Radius. We do NAT using 10 fixed ipv4.

There is only one gateway. Our Mikrotik device does not have a 10G port. There are only 4 1G sfp ports.

How can we balance load in such a situation. ?
Thank you very much for your help in advance.

Image
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: Ethernet loaad balance

Fri Jun 19, 2020 2:35 pm

That's pretty little information.
I guess you already know that the ideal solution would be replacing your CCR with one that actually has SFP+ slots.

You could distribute your ten addresses across multiple physical interfaces, no bridges.
Then you can set routes for all interfaces to the same gateway and specify out-interfaces in your srcnat rules.

like:
/ip address add address=176.177.178.2/27 interface=sfp1
/ip address add address=176.177.178.3/27 interface=sfp2
/ip address add address=176.177.178.4/27 interface=sfp3
/ip address add address=176.177.178.5/27 interface=sfp4

/ip route add gateway=176.177.178.1%sfp1
/ip route add gateway=176.177.178.1%sfp2
/ip route add gateway=176.177.178.1%sfp3
/ip route add gateway=176.177.178.1%sfp4
-Chris
 
erkan1525
just joined
Topic Author
Posts: 15
Joined: Sat Nov 12, 2016 3:04 pm

Re: Ethernet loaad balance

Sat Jun 20, 2020 5:33 pm

That's pretty little information.
I guess you already know that the ideal solution would be replacing your CCR with one that actually has SFP+ slots.

You could distribute your ten addresses across multiple physical interfaces, no bridges.
Then you can set routes for all interfaces to the same gateway and specify out-interfaces in your srcnat rules.

like:
/ip address add address=176.177.178.2/27 interface=sfp1
/ip address add address=176.177.178.3/27 interface=sfp2
/ip address add address=176.177.178.4/27 interface=sfp3
/ip address add address=176.177.178.5/27 interface=sfp4

/ip route add gateway=176.177.178.1%sfp1
/ip route add gateway=176.177.178.1%sfp2
/ip route add gateway=176.177.178.1%sfp3
/ip route add gateway=176.177.178.1%sfp4
-Chris
It did not work. Thank you for your answer. Maybe I couldn't. I made the definitions you specified. But I was disconnected from the router and the ip. I'll try again tonight.
 
erkan1525
just joined
Topic Author
Posts: 15
Joined: Sat Nov 12, 2016 3:04 pm

Re: Ethernet loaad balance

Sun Jun 21, 2020 6:35 am

That's pretty little information.
I guess you ................................................................
-Chris
Do not working. I made these definitions. But romon and rope access is closed.
Please help me...
Thanks...
 
User avatar
cdiedrich
Forum Veteran
Forum Veteran
Posts: 997
Joined: Thu Feb 13, 2014 2:03 pm
Location: Basel, Switzerland // Bremen, Germany
Contact:

Re: Ethernet loaad balance

Sun Jun 21, 2020 11:30 am

I think the best start would be that you post an export of your config. Then we can take a deeper look.
-Chris
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2984
Joined: Mon Apr 08, 2019 1:16 am

Re: Ethernet loaad balance

Sun Jun 21, 2020 11:36 am

The answer here could be "bonding" the 2 interfaces. https://wiki.mikrotik.com/wiki/Manual:Interface/Bonding

But the "unmanaged" switch is preventing any special setup. Your cost/budget model might indicate if replacing the unmanaged switch is an option.

Who is online

Users browsing this forum: AshuGite and 21 guests