TFTP

1 Introduction

TFTP is a free, open source IPv6 ready application that includes DHCP, TFTP, DNS, SNTP and Syslog servers as well as a TFTP client.

The KEMP LoadMaster is used to load balance the TFTP Server workload. The LoadMaster offers advanced Layer 4 and Layer 7 server load balancing, SSL Acceleration and a multitude of other advanced Application Delivery Controller (ADC) features. The LoadMaster intelligently and efficiently distributes user traffic among the application servers so that users get the best experience possible. 

1.1 Document Purpose

This document provides the recommended LoadMaster settings used when load balancing the TFTP Server workload. The KEMP Support Team is available to provide solutions for scenarios not explicitly defined. The KEMP support site can be found at: https://support.kemptechnologies.com

1.2 Intended Audience

This document is intended to be read by anyone who is interested in configuring the LoadMaster to optimize the TFTP Server.

2 Architecture

Architecture.png

3 Configure the LoadMaster

The deployed TFTP Server environment determines which of the following setups is used.

3.1 Enable Subnet Originating Requests Globally

It is best practice to enable the Subnet Originating Requests option globally.

In a one-armed setup (where the Virtual Service and Real Servers are on the same network/subnet) Subnet Originating Requests is usually not needed. However, enabling Subnet Originating Requests should not affect the routing in a one-armed setup.

In a two-armed setup where the Virtual Service is on network/subnet A, for example, and the Real Servers are on network B - Subnet Originating Requests should be enabled on LoadMasters with firmware version 7.1-16 and above.

When Subnet Originating Requests is enabled, the LoadMaster will route traffic so that the Real Server will see traffic arriving from the LoadMaster interface that is in that network/subnet not the Virtual Service address.

When Subnet Originating Requests is enabled globally, it is automatically enabled on all Virtual Services. If the Subnet Originating Requests option is disabled globally, you can choose whether or not to enable Subnet Originating Requests on a per-Virtual Service basis.

To enable Subnet Originating Requests globally, follow the steps below:

1. In the main menu of the LoadMaster Web User Interface (WUI), go to System Configuration > Miscellaneous Options > Network Options.

SCMONO002.png

2. Tick the Subnet Originating Requests check box.

3.2 Enable Check Persist Globally

It is recommended that you change the Always Check Persist option to Yes – Accept Changes. Use the following steps:

1. Go to System Configuration > Miscellaneous Options > L7 Configuration.

SCMOLC001.png

2. Click the Always Check Persist dropdown arrow and select Yes – Accept Changes.

4 Create a TFTP Virtual Service

The following are the steps involved and the recommended settings to configure the TFTP Virtual Service:

1. In the main menu of the LoadMaster WUI, go to Virtual Services > Add New.

DG0002.png

2. Type a valid Virtual Address.

3. Type 69 as the Port.

4. Enter a recognizable Service Name, such as TFTP Virtual Service.

5. Select udp as the Protocol.

6. Click Add this Virtual Service.

7. Configure the settings as shown in the following table:

Section

Option

Value

Standard Options

Force L4 Enabled
  Scheduling Method least connection

Real Servers

Real Server Check Method

ICMP Ping

8. Add the Real Servers:

a) Expand the Real Servers section.

b) Click Add New.

c) Enter the address of the relevant Real Server.

d) Complete the other fields as required.

e) Click Add this Real Server then click OK to the pop-up message.

f) Repeat the steps above to add more Real Servers as needed, based on your environment.

Document History

 

Date

Change

Reason for Change

Version

Resp.

Apr 2017 Initial draft First release 1.0 POC
July 2017 Release updates Updates for 7.2.39 2.0 LB

 

 

Was this article helpful?

0 out of 0 found this helpful

Comments