Allied Telesis Routers and Switches manual Set system name=LB-2

Page 7

Configure Load Balancer 2

Load balancer 2 is identical to load balancer 1, except for its:

name (which is just a convenience and does not affect how it functions)

public interface’s IP address

private interface’s IP address

load balancer redundancy peer, which is load balancer 1

Because the two load balancers are so similar, the following instructions do not explain the steps—see the instructions for load balancer 1 for explanations.

1.Name the router

set system name=LB-2

2.Create the VLANs

create vlan=vlan2 vid=2 create vlan=vlan3 vid=3 create vlan=vlan4 vid=4

3.Add ports to the VLANs

add vlan=2 port=1

add vlan=3 port=2-4

add vlan=4 port=5

4.Configure IP on the VLANs

enable ip

add ip int=vlan2 ip=172.214.1.4 mask=255.255.255.0

add ip int=vlan3 ip=192.168.1.201

add ip int=vlan4 ip=192.168.2.1

5.Configure the firewall

enable firewall

create firewall policy=lb

set firewall policy=lb tcptimeout=5 udptimeout=5 othertimeout=5 add firewall policy=lb int=vlan2 type=public

add firewall policy=lb int=vlan3 type=private add firewall policy=lb int=vlan4 type=private

Configure Load Balancer Redundancy on Allied Telesis Routers and Switches

7

Image 7
Contents Examples IntroductionWhich products and software version does it apply to? What information will you find in this document?Example of Basic Redundancy Configure Load BalancerDisable the GUI and the Http server on port Configure the firewallConfigure load balancing Configure VrrpSave the configuration Configure triggersSet system name=LB-2 Either Create the Scripts Script for when a load balancer becomes the slave slave.scpExtension Controlling Server Selection Configure Load Balancing Extra CommandsSlave.scp Configure the Triggers Extra CommandsModify the Scripts Master.scpCreate New Scripts Script for when the preferred server goes down sftp1down.scpCommands Load Balancer Configuration SummaryCommands Load Balancer File sftp1up.scp File master.scpFile slave.scp File sftp1down.scp