D-Link TSD 2009 workshop 1 Outbound Route Load Balancing.

27
D-Link TSD 2009 workshop 1 Outbound Route Load Balancing

Transcript of D-Link TSD 2009 workshop 1 Outbound Route Load Balancing.

D-Link TSD 2009 workshop

1

Outbound Route Load Balancing

D-Link TSD 2009 workshop

2

Outbound Route Load Balancing

•Overview

•What is Outbound Route Load Balancing

•How to deploy the RLB Function

•RLB Behaviors

•RLB Algorithms

Hands-on

•Setting and debugging

Q&A

Outline

D-Link TSD 2009 workshop

3

What is Outbound Route Load Balancing ?

Outbound Route Load Balancing is the ability to distribute traffic over multiple routes based on a number of predefined distribution algorithms.

ISP1 ISP2

WAN1 WAN2

0.0.0.0/0 wan1 , Metric=10

0.0.0.0/0 wan2 , Metric=20

MAIN Routing Table

GoogleGoogleGoogleGoogle

D-Link TSD 2009 workshop

4

How to deploy Outbound RLB

Manual add identical routing entries.

Enable RLB.

D-Link TSD 2009 workshop

5

Manually add identical routing entries for RLB.

ISP2

WAN1:

IP:1.1.1.1/24

GW:1.1.1.2

WAN2:

IP:3.3.3.1/24

GW:3.3.3.2

ISP1

D-Link TSD 2009 workshop

6

Enable RLB.

D-Link TSD 2009 workshop

7

Outbound RLB behaviors

RLB engine auto lookup the identical routing entries.

RLB engine grouping the identical routing entries into RLB engine.

RLB engine using specify algorithm to design traffic go which way.

Outbound RLB Flowchart

D-Link TSD 2009 workshop

8

Auto lookup the identical routing entries in the routing table.

Identical routing entires

Identical routing entries

D-Link TSD 2009 workshop

Outbound RLB Engine

9

Grouping the identical destination routing entries into RLB engine.

Group 1

Group 2

D-Link TSD 2009 workshop

10

Using specified algorithm to design traffic go which way.

ISP1

ISP2

WAN1

WAN2

GoogleGoogleGoogleGoogle

RLB Group

RLB

D-Link TSD 2009 workshop

11

Outbound RLB Flowchart

Outgoing traffic

Lookup dst-network in main

routing table

Matching RLB routing entries

Yes

No

Yes

Dropped by “Default Access Rule”

NoRLB

Algorithm

WAN1

WAN2

Interface

src_IP src-_IF destination dest-_IF

192.168.1.9 lan1 http://google

Outbound Route Load Balancing Engine

WAN1 or WAN2

D-Link TSD 2009 workshop

12

Outbound Route Load Balancing Algorithms

Round Robin Algorithm

Destination Algorithm

Spillover Algorithm

D-Link TSD 2009 workshop

13

Round Robin AlgorithmSuccessive routes are chosen from the matching routes in a Randomly.

If the matching routes have unequal metric, then routes with lower metric are triggered more often.

Outgoing traffic

RLB Round Robin Algorithm

MAIN

Routing Table

M=10

M=10

WAN1

WAN2M=20

D-Link TSD 2009 workshop

14

The restriction Of Round Robin Algorithm

RLB Round Robin Algorithm

M=10

M=10

WAN1

WAN2M=20SSL ServerSSL Client

D-Link TSD 2009 workshop

15

Destination AlgorithmDestination is similar to Round Robin, but provides the “stickiness”

The unique destination IP addresses always get the same route from a lookup

Outgoing traffic

RLB Destination Algorithm

MAIN

Routing Table

M=10

M=10

WAN1

WAN2

Destination Stickiness Table 1. Face book wan22. Google wan1

Google

Face book

To Google

To Face Book

To Face BookTo

Google

D-Link TSD 2009 workshop

16

Destination AlgorithmHow to setup the Round Robin and Destination Algorithms

D-Link TSD 2009 workshop

17

Spillover AlgorithmThe first matching route's interface is repeatedly used until the Spillover Limits of that route's interface are exceeded for the Hold Timer.

Outgoing traffic

RLB Spillover Algorithm

MAIN

Routing Table

M=10

M=20

WAN1

WAN2

Spillover Parameters* Utilization Limit: 1Mbps* Hold Time: 10 Seconds

D-Link TSD 2009 workshop

18

Spillover Algorithm

How to setup the spillover algorithm

D-Link TSD 2009 workshop

19

Spillover Algorithm

How to setup the spillover algorithm

D-Link TSD 2009 workshop

Hands On

21

D-Link TSD 2009 workshop

Example of Route Load Balancing

22

ISP1 ISP2

WAN1:

IP:1.1.1.1/24

GW:1.1.1.2

PC1: 192.168.1.50

LAN: 192.168.1.1/24

PC2: 192.168.1.101

WAN2:

IP:3.3.3.1/24

GW:3.3.3.2

HTTP/FTP server5.5.5.5

Objective:

1. There are two Internet links, ISP1 and ISP2. All traffic is outgoing via ISP1 and ISP2 load balancing.

2. Try to configure the RLB instance objects to Round Robin/Destination/Spillover , to check what’s difference between each other.

D-Link TSD 2009 workshop

Example of Route Load Balancing

23

1 Set the object of IP4 address 2 Add two default route

D-Link TSD 2009 workshop

Example of Route Load Balancing

24

3 Add wan1, wan2 Interface Group

4 Add a IP-Rule entry

D-Link TSD 2009 workshop

Example of Route Load Balancing

25

5 Add a Round Robin or Destination Route Load Balancing Instance. Check the RLB status.

D-Link TSD 2009 workshop

Example of Route Load Balancing

26

6 Add a Spillover Load Balancing Instance

D-Link TSD 2009 workshop

Example of Route Load Balancing

27

7 Add a Spillover Settings

D-Link TSD 2009 workshop

Thank you

28