basic settings + Load balancing on RB750 help

I have RB 750, OS v4.11
next there is two connections

  1. Wifi on RB411, with dhcp

  2. ADSL router, with dhcp

  3. RB411 : IP 192.168.2.1

  4. ADSL : IP 192.168.1.1

What I need to do by step? I tried some manual on forum but dont work. when i start TOOLS/ping and write some ip its work, but from pc conected to rb750 dont work and Windows 7 write conected to internet :confused:

please help

http://wiki.mikrotik.com/wiki/Manual:PCC

That applies 100%. Just substitute your interface names and network addressing.

I just configured from this manual, but it is not clear to me

add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses:2/0
action=mark-connection new-connection-mark=wlan1_conn passthrough=yes

!local - is inverted ?
per-connection-classifier=both-addresses:2/0 \ -this \

Yes. ā€œdst-address-type=!localā€ means ā€œif the destination address of the packet is one that is not implemented on any router interfaceā€ - you don’t want to force the sending out of packets destined to the router itself.

Here’s an explanation for the PCC line itself: http://wiki.mikrotik.com/wiki/How_PCC_works_(beginner)

when I add Routes . conection stop funkction hmm

this works well but does not associate the two connection speeds

http://wiki.mikrotik.com/wiki/ECMP_load_balancing_with_masquerade

and this dont work

http://wiki.mikrotik.com/wiki/Manual:PCC

is any way to load balancing ?

PCC works fine. If it doesn’t for you there’s a mistake in your configuration. Post the relevant parts (IP addressing, routing, and the entire firewall) and the symptoms if you need help troubleshooting it.

hmmm :confused:

IP ADRESSES

Flags: X - disabled, I - invalid, D - dynamic

ADDRESS NETWORK BROADCAST INTERFACE

0 192.168.3.1/24 192.168.3.0 192.168.3.255 LAN
1 D 192.168.1.3/24 192.168.1.0 192.168.1.255 DSL
2 D 192.168.2.34/24 192.168.2.0 192.168.2.255 WIFI

IP FIREWALL MANGLE
0 chain=input action=mark-connection new-connection-mark=DSL_pripojenie passthrough=no
in-interface=DSL
1 chain=input action=mark-connection new-connection-mark=WIFI_pripojenie passthrough=no
in-interface=WIFI
2 chain=output action=mark-routing new-routing-mark=to_DSL passthrough=no
connection-mark=DSL_pripojenie
3 chain=output action=mark-routing new-routing-mark=to_WIFI passthrough=no
connection-mark=WIFI_pripojenie
4 chain=prerouting action=accept dst-address=192.168.1.0/24 in-interface=LAN
5 chain=prerouting action=accept dst-address=192.168.2.0/24 in-interface=LAN
6 chain=prerouting action=mark-connection new-connection-mark=DSL_pripojenie
passthrough=yes dst-address-type=local in-interface=LAN
per-connection-classifier=both-addresses:2/0
7 chain=prerouting action=mark-connection new-connection-mark=WIFI_pripojenie
passthrough=yes dst-address-type=local in-interface=LAN
per-connection-classifier=both-addresses:2/1
8 chain=prerouting action=mark-routing new-routing-mark=to_DSL passthrough=no
in-interface=LAN connection-mark=DSL_pripojenie
9 chain=prerouting action=mark-routing new-routing-mark=to_WIFI passthrough=no
in-interface=LAN connection-mark=WIFI_pripojenie

IP FIREWALL NAT
0 chain=srcnat action=masquerade out-interface=DSL
1 chain=srcnat action=masquerade out-interface=WIFI

IP ROUTES

Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

DST-ADDRESS PREF-SRC GATEWAY DISTANCE

0 A S 0.0.0.0/0 DSL 1
1 A S 0.0.0.0/0 WIFI 1
2 ADS 0.0.0.0/0 192.168.1.1 0
3 DS 0.0.0.0/0 192.168.2.1 0
4 S 0.0.0.0/0 DSL 1
5 S 0.0.0.0/0 WIFI 2
6 ADC 192.168.1.0/24 192.168.1.3 DSL 0
7 ADC 192.168.2.0/24 192.168.2.34 WIFI 0
8 ADC 192.168.3.0/24 192.168.3.1 LAN 0

Please someone send me a configuration file to rb 750

In mangle rules 5 and 6 the dst-address-type should be ā€˜!local’ and not ā€˜local’. The latter makes no sense, that would tell the router to run PCC on traffic destined to itself - and that traffic doesn’t need policy routing at all. Your screenshot shows the inversion checked, but you text export shows it being applied wrong

The rest looks OK, but it is impossible to tell if the routes are rights since ā€œ/ip route printā€ doesn’t show marks, and neither does the screenshot. Post the output of ā€œ/ip route print detailā€.

Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=DSL gateway-status=DSL reachable
check-gateway=ping distance=1 scope=30Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit

0 A S dst-address=0.0.0.0/0 gateway=DSL gateway-status=DSL reachable check-gateway=ping distance=1 scope=30
target-scope=10 routing-mark=to_DSL
1 A S dst-address=0.0.0.0/0 gateway=WIFI gateway-status=WIFI reachable check-gateway=ping distance=1 scope=30
target-scope=10 routing-mark=to_WIFI
2 ADS dst-address=0.0.0.0/0 gateway=192.168.1.1 gateway-status=192.168.1.1 reachable DSL distance=0 scope=30
target-scope=10
3 DS dst-address=0.0.0.0/0 gateway=192.168.2.1 gateway-status=192.168.2.1 reachable WIFI distance=0 scope=30
target-scope=10
4 S dst-address=0.0.0.0/0 gateway=DSL gateway-status=DSL reachable check-gateway=ping distance=1 scope=30
target-scope=10
5 S dst-address=0.0.0.0/0 gateway=WIFI gateway-status=WIFI reachable check-gateway=ping distance=1 scope=30
target-scope=10
6 ADC dst-address=192.168.1.0/24 pref-src=192.168.1.3 gateway=DSL gateway-status=DSL reachable distance=0
scope=10
7 ADC dst-address=192.168.2.0/24 pref-src=192.168.2.34 gateway=WIFI gateway-status=WIFI reachable distance=0
scope=10
8 ADC dst-address=192.168.3.0/24 pref-src=192.168.3.1 gateway=LAN gateway-status=LAN reachable distance=0
scope=10
ping.jpg
iproute.jpg

Your routes are wrong. Route 0 should have a distance of 0, so should route 1. Route 2 should have a distance of 1, and route 3 should have a distance of 2. Your configuration does not match the wiki article.

I also just noticed that mangle rule 4 should have an in-interface of DSL, and not LAN.

That said it looks like the route via your DSL provider is not working. That appears to be unrelated to PCC as with the routing table being what it is right now you are not actually using PCC.

Would have done it to me through Remote Desktop ?

Sorry, I don’t understand that question.

I need it set up well but I do not have the know-how. Maybe you could set it over the Internet. over remote desktop from my pc… then what you will say ?

Sorry, I don’t do that. Maybe someone else will volunteer. There’s also a consultant section on the Mikrotik website where you can find consultants in your area you can pay to configure your router for you.

thats ok and thanks for help .. i try something else