Community discussions

MikroTik App
 
Ucom
just joined
Topic Author
Posts: 3
Joined: Mon Apr 20, 2015 11:58 pm

CCR Mikrotik Routing between two subnet in one interface

Tue Apr 21, 2015 12:12 am

Device is CCR
ether2 10.9.8.254/24 and 10.9.9.254/24
Fileserver 10.9.8.100
Client1 10.9.8.2
Client2 10.9.9.2

Client 1 R/W speed to Fileserver is ~700-900Mbps
Client 2 R/W speed to Fileserver is ~100-300Mbps

No queue limits or smth.
When we set up DC and let the server do routing then Client1 and Client2 R/W speeds are ~same.

Why CCR routing hangs?
I googeled and found this http://stackoverflow.com/questions/2866 ... -interface BUT this is not normal. Also it didnt work.
 
User avatar
DigitalBlueBiz
Trainer
Trainer
Posts: 33
Joined: Fri Mar 27, 2015 9:11 pm
Location: Brno, Czech Republic, Europe
Contact:

Re: CCR Mikrotik Routing between two subnet in one interface

Wed Apr 29, 2015 1:10 am

Hi Ucom,
it looks like a 100% cpu utilization issue, you need to setup master port to enable the switch chip to do wire speed switching. To do that just select ether2 port as the master which will act as Layer 3 and set all the others (client 1, client2, fileserver) as slave then test the stuff again and throughput of both clients will be only dependent on fileserver performances.
Look here for examples http://wiki.mikrotik.com/wiki/Manual:Sw ... p_Features
 
IntrusDave
Forum Guru
Forum Guru
Posts: 1286
Joined: Fri May 09, 2014 4:36 am
Location: Rancho Cucamonga, CA

Re: CCR Mikrotik Routing between two subnet in one interface

Wed Apr 29, 2015 3:46 am

Hi Ucom,
it looks like a 100% cpu utilization issue, you need to setup master port to enable the switch chip to do wire speed switching. To do that just select ether2 port as the master which will act as Layer 3 and set all the others (client 1, client2, fileserver) as slave then test the stuff again and throughput of both clients will be only dependent on fileserver performances.
Look here for examples http://wiki.mikrotik.com/wiki/Manual:Sw ... p_Features
Setting a master port won't help, as he is doing layer 3 routing and not layer 2 switching. Also, only the CCR1009 has a switch chip. (the OP didn't specify the model)

Ucom - I've seen this same issue with my CCR1016, It ended up being my Mangle rules. Also make sure you aren't NAT'ing between the two subnets, that will slow it down too. Unfortunately, RouterOS 6 doesn't fully support the multi-core processors. Routing, NAT and Mangle are all single thread processes, so once you max out that core, it's done.
 
User avatar
DigitalBlueBiz
Trainer
Trainer
Posts: 33
Joined: Fri Mar 27, 2015 9:11 pm
Location: Brno, Czech Republic, Europe
Contact:

Re: CCR Mikrotik Routing between two subnet in one interface

Wed Apr 29, 2015 7:12 am

Hi IntrusDave,
Device is CCR
ether2 10.9.8.254/24 and 10.9.9.254/24
Fileserver 10.9.8.100
Client1 10.9.8.2
Client2 10.9.9.2

Client 1 R/W speed to Fileserver is ~700-900Mbps
Client 2 R/W speed to Fileserver is ~100-300Mbps
Setting a master port won't help, as he is doing layer 3 routing and not layer 2 switching. Also, only the CCR1009 has a switch chip. (the OP didn't specify the model)
The OP is doing a mix of switching and routing, he has 2 networks running on the same L2 broadcast domain (eth2 has ip addresses from 2 different networks) plus client 1 to fileserver connection is around wirespeed, this is why I assumed he uses CCR1009 and I told him to use the switch chip also for client 2.

@Ucom: Can you please post the output of /export hide-sensitive so we can check where is your bottleneck?
 
Ucom
just joined
Topic Author
Posts: 3
Joined: Mon Apr 20, 2015 11:58 pm

Re: CCR Mikrotik Routing between two subnet in one interface

Tue Aug 11, 2015 8:52 am

Hi,

I've attached the configuration of another Mikrotik we have, but we're facing the same issue there.
You do not have the required permissions to view the files attached to this post.