Community discussions

MikroTik App
 
User avatar
arthurmitch
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 3:02 pm
Location: South Africa
Contact:

pcc giving problems

Tue May 03, 2011 3:41 pm

ok so far i have established everything works good but now and then something goes wrong like for instance iv i watch a youtube video it work and cashes faster than ever but suddenly it stops playing, after inspection it revealed it changed ip adresses like it does the loadbalancing between my two routers that have two different public ip addresses hoe would i go about fixing this problem?
 
User avatar
Egate
Long time Member
Long time Member
Posts: 554
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: pcc giving problems

Thu May 05, 2011 10:43 pm

Change ppc qualifier to src address.
 
User avatar
arthurmitch
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 3:02 pm
Location: South Africa
Contact:

Re: pcc giving problems

Wed May 11, 2011 8:25 am

hu ? ppc qualifier to src address what rule is that in the list?
 
User avatar
Egate
Long time Member
Long time Member
Posts: 554
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: pcc giving problems

Wed May 11, 2011 10:54 am

Sorry pcc. (Per connection classifier) under advance tab.
 
User avatar
arthurmitch
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Mon Jan 31, 2011 3:02 pm
Location: South Africa
Contact:

Re: pcc giving problems

Thu May 12, 2011 9:32 am

ok under my rules i have rule number 12 and 13 that states it but still doing the same problem,

Flags: X - disabled, I - invalid, D - dynamic
0 chain=input action=mark-connection new-connection-mark=wan1_conn passthrough=no in-interface=ether1-mweb

1 chain=input action=mark-connection new-connection-mark=wan2_conn passthrough=no in-interface=ether2-is

2 chain=output action=mark-routing new-routing-mark=to_wan1 passthrough=no connection-mark=wan1_conn

3 chain=output action=mark-routing new-routing-mark=to_wan2 passthrough=no connection-mark=wan2_conn

4 chain=prerouting action=accept dst-address=41.134.110.0/28 in-interface=ether5-lan

5 chain=prerouting action=accept dst-address=196.212.100.0/28 in-interface=ether5-lan

6 chain=prerouting action=mark-connection new-connection-mark=wan1_conn passthrough=yes connection-state=new protocol=tcp in-interface=ether1-mweb
dst-port=20-22,80-81,443,3203-3206,5900-5935,6000-6020,7000,8080-8082

7 chain=prerouting action=mark-connection new-connection-mark=wan1_conn passthrough=yes connection-state=new protocol=tcp in-interface=ether2-is
dst-port=20-22,80-81,443,3203-3206,5900-5935,6000-6020,7000,8080-8082

8 chain=prerouting action=mark-connection new-connection-mark=wan1_conn passthrough=yes connection-state=new protocol=tcp in-interface=ether1-mweb dst-port=2040-2050,6080,9091

9 chain=prerouting action=mark-connection new-connection-mark=wan1_conn passthrough=yes connection-state=new protocol=tcp in-interface=ether2-is dst-port=2040-2050,6080,9091

10 chain=prerouting action=mark-connection new-connection-mark=wan1_conn passthrough=yes dst-address=192.168.88.2 in-interface=ether5-lan

11 chain=prerouting action=mark-connection new-connection-mark=wan2_conn passthrough=yes dst-address=192.168.88.2 in-interface=ether5-lan

12 chain=prerouting action=mark-connection new-connection-mark=wan1_conn passthrough=yes dst-address-type=!local in-interface=ether5-lan connection-mark=no-mark
per-connection-classifier=both-addresses:2/0

13 chain=prerouting action=mark-connection new-connection-mark=wan2_conn passthrough=yes dst-address-type=!local in-interface=ether5-lan connection-mark=no-mark
per-connection-classifier=both-addresses:2/1

14 chain=prerouting action=mark-routing new-routing-mark=to_wan1 passthrough=no in-interface=ether5-lan connection-mark=wan1_conn

15 chain=prerouting action=mark-routing new-routing-mark=to_wan2 passthrough=no in-interface=ether5-lan connection-mark=wan2_conn

and all these rules are in my mangel. should i put another rule somwhere else?
 
User avatar
mikronab
newbie
Posts: 32
Joined: Wed May 02, 2012 11:05 am
Location: Tokyo, Japan

Re: pcc giving problems

Thu Jul 26, 2012 3:20 pm

i have the following setup.

2 ISPs. -> MTK Load balancing -> MTK Firewall -> LAN with 7 src addresses.
10.X.X.1 10.Y.Y.1

I activate this setting of 'use src address'. It working well with banks! But now traffic utilization is max on one ISP and the other have almost none. Might 'MTK Firewall' having effect this? So if i made MTK loadbalancing to do firewall job it would helping share BW between src addresses?
 
User avatar
Egate
Long time Member
Long time Member
Posts: 554
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: pcc giving problems

Thu Jul 26, 2012 5:39 pm

Unfortunately this is the luck of the draw. This happen even with more Wan's. Can manually give a routing mark to heavy users and balance them this way.
 
User avatar
mikronab
newbie
Posts: 32
Joined: Wed May 02, 2012 11:05 am
Location: Tokyo, Japan

Re: pcc giving problems

Fri Jul 27, 2012 12:15 pm

sry my network diagram was not very clear. dont know why it changed after post!

the router doing the load balancing has 1 IP on LAN. 1 ip that connecting to load balancing router. it is firewall router. would that not mean that all traffic from src address would use only one ISP? because thats what graphing seems to show? but i take out firewall router so LAN units have direct connect to load balance router. this working well! :D

so my question is this. there may be situation where load balance is needed and bank sites are failing. lucky this was my own lan because i can change setup easy! but say some customer having proxy server on private lan and wants it there for their own purporse or reason. i think it cannot?

thanks for replication!
 
User avatar
Egate
Long time Member
Long time Member
Posts: 554
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: pcc giving problems

Fri Jul 27, 2012 2:58 pm

1 ip that connecting to load balancing router. it is firewall router
Will only have one ip if you nat/masquerade your traffic before going to load balance.
 
User avatar
mikronab
newbie
Posts: 32
Joined: Wed May 02, 2012 11:05 am
Location: Tokyo, Japan

Re: pcc giving problems

Fri Jul 27, 2012 4:51 pm

yes it is nating. so if giving 1 ip then will cause b/w to go through 1 isp. is a shame is nice technology! taking that 'firewall' mt away all b/w is being used! :D
 
User avatar
Egate
Long time Member
Long time Member
Posts: 554
Joined: Thu May 15, 2008 10:43 am
Location: South Africa

Re: pcc giving problems

Fri Jul 27, 2012 11:07 pm

Disable nating on firewall and add it on on router doing load balance. Can actually use one router for load balancing and firewall.

Who is online

Users browsing this forum: qwertykolea and 153 guests