Community discussions

MikroTik App
 
kapone91
just joined
Topic Author
Posts: 15
Joined: Thu May 31, 2012 4:43 pm

Load balancing with 2 PPPOE- Please help.

Wed Jul 25, 2012 8:42 am

I have the following configuration can you please tell me what is wrong ?

/ip /firewall / mangle
0 chain=input action=mark-connection new-connection-mark=rds_conn
passthrough=yes in-interface=pppoe-rds

1 chain=input action=mark-connection new-connection-mark=romtelecom_conn
passthrough=yes in-interface=pppoe-romtelecom

2 chain=output action=mark-connection new-connection-mark=to_rds
passthrough=yes connection-mark=rds_conn

3 chain=output action=mark-connection new-connection-mark=to_romtelecom
passthrough=yes connection-mark=romtelecom_conn

4 chain=prerouting action=mark-connection new-connection-mark=rds_conn
passthrough=yes dst-address-type=local in-interface=ether5-local
per-connection-classifier=both-addresses-and-ports:2/0

5 chain=prerouting action=mark-connection new-connection-mark=romtelecom_conn
passthrough=yes dst-address-type=local in-interface=ether5-local
per-connection-classifier=both-addresses-and-ports:2/1

6 chain=prerouting action=mark-connection new-connection-mark=rds_conn
passthrough=yes dst-address-type=local in-interface=ether5-local

7 chain=prerouting action=mark-connection new-connection-mark=romtelecom_conn
passthrough=yes dst-address-type=local in-interface=ether5-local
per-connection-classifier=src-address:2/1

8 chain=prerouting action=mark-routing new-routing-mark=to_rds passthrough=ye>
in-interface=ether5-local connection-mark=rds_conn

9 chain=prerouting action=mark-routing new-routing-mark=to_romtelecom
passthrough=yes in-interface=ether5-local connection-mark=romtelecom_conn

10 chain=prerouting action=mark-routing new-routing-mark=to_rds passthrough=ye>
in-interface=ether5-local connection-mark=rds_conn

11 chain=prerouting action=mark-routing new-routing-mark=to_romtelecom
passthrough=yes in-interface=ether5-local connection-mark=romtelecom_conn

/ip routes
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 ether2-rds 1
1 A S 0.0.0.0/0 pppoe-romtelecom 1
2 A S 0.0.0.0/0 pppoe-rds 1
3 DS 0.0.0.0/0 192.168.1.1 1
4 S 0.0.0.0/0 pppoe-romtelecom 2
5 ADC 86.124.64.1/32 86.124.89.149 pppoe-rds 0
6 ADC 89.122.152.254/32 89.122.249.120 pppoe-romtelecom 0
7 ADC 192.168.1.0/24 192.168.1.1 ether5-local 0

Is this doing load balancing now ?

And i cannot acces Mikrotik from both ip's only from the internet connection that is active , in the case above 2 A S 0.0.0.0/0 pppoe-rds 1, do you know why ?

Thank you
 
CyberT
Member Candidate
Member Candidate
Posts: 172
Joined: Tue Feb 01, 2011 1:39 pm
Location: Johannesburg, South Africa
Contact:

Re: Load balancing with 2 PPPOE- Please help.

Wed Jul 25, 2012 12:04 pm

have a look at
http://www.mikrotik.com/testdocs/ros/2.9/ip/route.php the eCMPr part, the table should be more like
3 A S 0.0.0.0/0 10.0.0.2,10.0.0.1

also read
http://wiki.mikrotik.com/wiki/Manual:IP/Route
 
kapone91
just joined
Topic Author
Posts: 15
Joined: Thu May 31, 2012 4:43 pm

Re: Load balancing with 2 PPPOE- Please help.

Wed Jul 25, 2012 2:05 pm

The thing is that , i have two pppoe connection not two static , and from what i saw is different then static.
Am i right ?