How to Load Balance Trivial File Transfer Protocol Servers

How to Load Balance Trivial File Transfer Protocol Servers

book

Article ID: CTX116337

calendar_today

Updated On:

Description

This article describes how to load balance a Trivial File Transfer Protocol (TFTP) server using Reverse Network Address Translation (RNAT) and Use Source IP (USIP).

TFTP is simple file transport protocol. It uses User Datagram Protocol (UDP) port 69 as a transport protocol and is typically implemented on private networks. After a connection is established, data transfer occurs over a separate data connection initiated by the server back to the client.

To overcome the challenges presented with load balancing, TFTP servers, RNAT and USIP modes can be implemented. These modes allow the server to which the initial connection was made, to connect to the client with the new data connection using the Virtual IP (VIP) as the Source IP.

Instructions

Complete the following procedure in the command line interface of the NetScaler appliance:
  1. Enable USIP by running the following command:
    #>enable ns mode USIP

  2. Create a service and virtual server as protocol: ANY, Port *.

  3. Enable USIP on the service:
    #> set service <serviceName> -usip Yes

  4. Set up RNAT to NAT to the VIP:
    #>set ns rnat <Host/ Subnet IP> <Host/Subnet Mask> -natip <VIP IP>

Issue/Introduction

This article describes how to load balance a Trivial File Transfer Protocol (TFTP) server using Reverse Network Address Translation (RNAT) and Use Source IP (USIP).

Additional Information

Because USIP is in use, ensure that the TFTP server default gateways are the MIP/SNIP of the NetScaler appliance.