0% found this document useful (0 votes)
29 views3 pages

02balanceo de Carga PPC Router Modo Bridge

The document provides a step-by-step manual for configuring load balancing for three internet lines of the same speed. It includes instructions for naming interfaces, creating PPPoE connections, configuring IP addresses, and setting up routing and DNS. Following the outlined nine steps will ensure proper operation of the load balancing setup.

Uploaded by

andres1230829
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views3 pages

02balanceo de Carga PPC Router Modo Bridge

The document provides a step-by-step manual for configuring load balancing for three internet lines of the same speed. It includes instructions for naming interfaces, creating PPPoE connections, configuring IP addresses, and setting up routing and DNS. Following the outlined nine steps will ensure proper operation of the load balancing setup.

Uploaded by

andres1230829
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Manual de balanceo de carga PCC para 3 Lineas de Internet de la misma

Velocidad

si sigues estos 9 pasos basicos tendra tu balaneco Operando de manera


correcta

1)PASO 1:

Nombrando las interfaces

aqui se deben identificar las interfaces que van a usar

/interface ethernet
set [ find default-name=ether1 ] comment=Ether1 name=WAN1
set [ find default-name=ether2 ] comment=Ether2 name=WAN2
set [ find default-name=ether3 ] comment=Ether3 name=WAN3
set [ find default-name=ether5 ] comment=Ether5 name=LAN

2)PASO 2:

Creando las conexiones pppoe-client

Ojo!

en mi caso

password=\bandaancha09 tu debes averiguar el password de tu cuenta PPPoE


con el proveedor

user=tr069movistar tu debes averiguar el user de tu cuenta PPPoE con el


proveedor

/interface pppoe-client
add disabled=no interface=WAN1 mrru=1600 name=pppoe-out1 password=\
bandaancha09 user=tr069movistar
add disabled=no interface=WAN2 mrru=1600 name=pppoe-out2 password=\
bandaancha09 user=tr069movistar
add disabled=no interface=WAN3 mrru=1600 name=pppoe-out3 password=\
bandaancha09 user=tr069movistar

3)PASO 3:

Configurando las direeciones IP en la interface LAN

/ip address
add address=172.168.1.1/24 interface=LAN network=172.168.1.0
4)PASO 4:

Enmascarando las interfaces pppoe-client

/ip firewall nat


add action=masquerade chain=srcnat out-interface=pppoe-out1
add action=masquerade chain=srcnat out-interface=pppoe-out2
add action=masquerade chain=srcnat out-interface=pppoe-out3

5)PASO 5:

creando las rutas

/ip route
add gateway=pppoe-out1 check-gateway=ping distance=1
add gateway=pppoe-out2 check-gateway=ping distance=2
add gateway=pppoe-out3 check-gateway=ping distance=3

6)Paso 6:

Vamos a configurar en el mangle las siguientes lineas sirven para marcar


las conexiones nuevas
y que lo que entre por una conexion WAN Salga por la misma.

/ip firewall mangle


add chain=prerouting in-interface=pppoe-out1 connection-state=new new-
connection-mark=pppoe-out1_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out2 connection-state=new new-
connection-mark=pppoe-out2_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out3 connection-state=new new-
connection-mark=pppoe-out3_conn action=mark-connection passthrough=yes

add chain=output connection-mark=pppoe-out1_conn new-routing-


mark=to_pppoe-out1 action=mark-routing passthrough=yes
add chain=output connection-mark=pppoe-out2_conn new-routing-
mark=to_pppoe-out2 action=mark-routing passthrough=yes
add chain=output connection-mark=pppoe-out3_conn new-routing-
mark=to_pppoe-out3 action=mark-routing passthrough=yes

7)Paso 7:

Ahora dividiremos las conexiones que ingresan por la interfaz nombrada


"LAN" utilizando el clasificador per-connection-classifier

/ip firewall mangle


add chain=prerouting in-interface=LAN connection-state=new dst-address-
type=!local per-connection-classifier=both-addresses:3/0 action=mark-
connection new-connection-mark=pppoe-out1_conn passthrough=yes
add chain=prerouting in-interface=LAN connection-state=new dst-address-
type=!local per-connection-classifier=both-addresses:3/1 action=mark-
connection new-connection-mark=pppoe-out2_conn passthrough=yes
add chain=prerouting in-interface=LAN connection-state=new dst-address-
type=!local per-connection-classifier=both-addresses:3/2 action=mark-
connection new-connection-mark=pppoe-out3_conn passthrough=yes
y tambien marcamos las rutas de las conexiones

/ip firewall mangle


add chain=prerouting in-interface=LAN connection-mark=pppoe-out1_conn
action=mark-routing new-routing-mark=to_pppoe-out1 passthrough=yes
add chain=prerouting in-interface=LAN connection-mark=pppoe-out2_conn
action=mark-routing new-routing-mark=to_pppoe-out2 passthrough=yes
add chain=prerouting in-interface=LAN connection-mark=pppoe-out3_conn
action=mark-routing new-routing-mark=to_pppoe-out3 passthrough=yes

8)Paso 8:

Configurando las rutas, recuerdan las marcas de ruta que hicimos en el


paso 5, to_pppoe-out1 y to_pppoe-out2 to_pppoe-out3 vamos a usarlas
ahora!

/ip route
add gateway=pppoe-out1 routing-mark=to_pppoe-out1 check-gateway=ping
add gateway=pppoe-out2 routing-mark=to_pppoe-out2 check-gateway=ping
add gateway=pppoe-out3 routing-mark=to_pppoe-out3 check-gateway=ping

9)Paso 9:

Configurando los DNS Publicos

/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4

You might also like