Community discussions

MikroTik App
 
200120022003
newbie
Topic Author
Posts: 25
Joined: Sat Jul 25, 2009 6:52 pm

Can the pcc load balance apply to routed network ?

Tue Apr 27, 2010 4:55 pm

I have four pppoe connection (same isp).

e.g.:
wan ip 111.111.111.111 (ip range 222.222.221.2-222.222.222.254)
wan ip 111.111.111.112 (ip range 222.222.222.2-222.222.223.254)

I have the following setting is RouterOS.
/ip firewall mangle add chain=input in-interface="Pacnet Line 01 (PPPoE)" action=mark-connection new-connection-mark="Pacnet Line 01 (PPPoE) Connection Mark)"
/ip firewall mangle add chain=input in-interface="Pacnet Line 02 (PPPoE)" action=mark-connection new-connection-mark="Pacnet Line 02 (PPPoE) Connection Mark)"


/ip firewall mangle add chain=output connection-mark="Pacnet Line 01 (PPPoE) Connection Mark)" action=mark-routing new-routing-mark="Pacnet Line 01 (PPPoE) Routing Mark)"
/ip firewall mangle add chain=output connection-mark="Pacnet Line 02 (PPPoE) Connection Mark)" action=mark-routing new-routing-mark="Pacnet Line 02 (PPPoE) Routing Mark)"


/ip firewall mangle add chain=prerouting dst-address=111.111.111.111/32 action=accept in-interface=Internal
/ip firewall mangle add chain=prerouting dst-address=111.111.111.112/32 action=accept in-interface=Internal


/ip firewall mangle add chain=prerouting dst-address-type=!Internal in-interface=Internal per-connection-classifier=both-addresses:2/0 action=mark-connection new-connection-mark="Pacnet Line 01 (PPPoE) Connection Mark)" passthrough=yes
/ip firewall mangle add chain=prerouting dst-address-type=!Internal in-interface=Internal per-connection-classifier=both-addresses:2/1 action=mark-connection new-connection-mark="Pacnet Line 02 (PPPoE) Connection Mark)" passthrough=yes


/ip firewall mangle add chain=prerouting connection-mark="Pacnet Line 01 (PPPoE) Connection Mark)" in-interface=Internal action=mark-routing new-routing-mark="Pacnet Line 01 (PPPoE) Routing Mark)"
/ip firewall mangle add chain=prerouting connection-mark="Pacnet Line 02 (PPPoE) Connection Mark)" in-interface=Internal action=mark-routing new-routing-mark="Pacnet Line 02 (PPPoE) Routing Mark)"

But I am not sure below code :
/ip firewall mangle add chain=prerouting dst-address=202.64.63.0/24 action=accept in-interface=Internal
/ip firewall mangle add chain=prerouting dst-address=202.64.130.0/24 action=accept in-interface=Internal
Can the pcc load balance apply to routed network ?
 
kazanova
Member
Member
Posts: 406
Joined: Tue Sep 06, 2005 11:52 am

Re: Can the pcc load balance apply to routed network ?

Tue Apr 27, 2010 6:21 pm

it will apply balance for any tow network
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Can the pcc load balance apply to routed network ?

Thu Apr 29, 2010 10:52 am

what are 202.64.63.0/24 and 202.64.130.0/24?