Balanceo De Carga Routeros

Páginas: 3 (742 palabras) Publicado: 12 de julio de 2011
Load Balancing over Multiple Gateways

1

Load Balancing over Multiple Gateways
The typical situation where you got one router and want to connect to two ISPs:

Of course, you want to do loadbalancing! There are several ways how to do it. Depending on the particular situation, you may find one best suited for you.

Policy Routing based on Client IP Address
If you have a number ofhosts, you may group them by IP addresses. Then, depending on the source IP address, send the traffic out through Gateway #1 or #2. This is not really the best approach, giving you perfect load balancing,but it's easy to implement, and gives you some control too. Let us assume we use for our workstations IP addresses from network 192.168.100.0/24. The IP addresses are assigned as follows: •192.168.100.1-127 are used for Group A workstations • 192.168.100.128-253 are used for Group B workstations • 192.168.100.254 is used for the router. All workstations have IP configuration with the IP addressfrom the relevant group, they all have network mask 255.255.255.0, and 192.168.100.254 is the default gateway for them. We will talk about DNS servers later. Now, when we have workstations divided intogroups, we can refer to them using subnet addressing: • Group A is 192.168.100.0/25, i.e., addresses 192.168.100.0-127 • Group B is 192.168.100.128/25, i.e., addresses 192.168.100.128-255 If you donot understand this, take the TCP/IP Basics course, or, look for some resources about subnetting on the Internet! We need to add two IP Firewall Mangle rules to mark the packets originated from Group Aor Group B workstations.

Load Balancing over Multiple Gateways For Group A, specify • Chain prerouting and Src. Address 192.168.100.0/25 • Action mark routing and New Routing Mark GroupA.

2It is a good practice to add a comment as well. Your mangle rules might be interesting for someone else and for yourself as well after some time. For Group B, specify • Chain prerouting and Src....
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Balanceo de Carga
  • Balanceo De Cargas
  • CUADRO DE CARGAS O BALANCEO DE CARGAS
  • Balanceo de Carga (Servidores)
  • Configuracion Balanceo de carga con mod_proxy
  • Instalacion y configuracion de balanceo de carga mysql
  • balanceo de carga
  • Balanceo de carga

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS