ServerIron ADX Server Load Balancing Guide
Release 12.0.00
June 15, 2009

Table of Contents Previous Next Print


Server Load Balancing > Policy-Based Routing for Reverse SLB Traffic

Policy-Based Routing for Reverse SLB Traffic
Policy-Based Routing (PBR) is supported for reverse SLB traffic on the ServerIron ADX. Policy-Based Routing routes traffic based on policies you define. A PBR policy specifies the next hop for traffic that matches the policy.
To configure PBR, you define the policies using IP ACLs and route maps, then enable PBR globally or on individual interfaces. The device routes traffic that matches the ACLs according to the instructions in the route maps.
In a network where clients belonging to different sub-nets and VLANs are sending traffic to VIPs belonging to their respective sub-nets, you can configure PBR to send return traffic back to each client the way it came, rather than having all of the traffic use the default route. To do this, you can configure ACLs and route maps and apply them either globally or to individual interfaces.
In the following example, clients belonging to two different sub-nets 33.33.33.0/24 and 10.10.1.0/24 are accessing VIPs 33.33.33.111 and 10.10.1.111, respectively. The next-hop routers for these clients are 33.33.33.1 and 10.10.1.1. To load balance the return traffic to the clients, you can configure the following ACLs and route map:
ServerIron(config)# access-list 101 permit ip 33.33.33.0 0.0.0.255 any
ServerIron(config)# access-list 102 permit ip 10.10.1.0 0.0.0.255 any
ServerIron(config)# route-map test-route permit 101
ServerIron(config-route-map test-route)# match ip address 101
ServerIron(config-route-map test-route)# set ip next-hop 33.33.33.2
ServerIron(config-route-map test-route)# exit
ServerIron(config)# route-map test-route permit 102
ServerIron(config-route-map test-route)# match ip address 102
ServerIron(config-route-map test-route)# set ip next-hop 10.10.1.2
ServerIron(config-route-map test-route)# exit
ServerIron(config)# ip policy route-map test-route
 

Server Load Balancing > Policy-Based Routing for Reverse SLB Traffic

Table of Contents Previous Next Print
Copyright © 2009 Brocade Communications Systems, Inc.