RUT240 Load Balancing: Difference between revisions

From Teltonika Networks Wiki
No edit summary
Line 25: Line 25:
[[Image:Networking rut manual load balancing rule.png|border]]
[[Image:Networking rut manual load balancing rule.png|border]]


If you want to add a rule, simply write a name, press '''Add''' button and then you will be redirected to the '''Configuration window'''. In order to configure an existing rule, click the '''Edit''' button located next to it, after which you will be redirected to the '''Configuration window'''.  
If you want to add a new rule, simply write a name, press '''Add''' button and then you will be redirected to the '''Configuration window'''. In order to configure an existing rule, click the '''Edit''' button located next to it, after which you will be redirected to the '''Configuration window'''.  


[[Image:Networking rut manual load balancing rule edit.png|border]]
[[Image:Networking rut manual load balancing rule edit.png|border]]

Revision as of 13:44, 22 January 2020

Main Page > EOL Products > RUT240 > RUT240 Manual > RUT240 WebUI > RUT240 Network section > RUT240 Load Balancing

Summary

Load balancing lets users create rules that divide traffic between different interfaces. This chapter is an Overview of the Load Balancing function in RUT routers.

Policies

The Policies section contains Load Balancing policies. One default configuration named Balanced is already in place. You can edit this default policy or create a new custom one.



To configure a Policy, click the Edit button located next to it, after which you will be redirected to the Configuration window.



As you can see from the image above, the configuration is very simple. You can assign ratio values to WAN interfaces. The ratio values represent a percentage of load that will go through an interface. For example, in the default configuration 3 parts of traffic will go through the Mobile interface and 2 parts will go through the Wired interface, which means roughly 60% (3/5) of data will be transferred through Mobile, 40% (2/5) through Wired. If the ratios would be different, say Mobile: 5, Wired: 10, then 33% (5/15) of data would be transferred through Mobile, and 66% (10/15) would go through Wired.

Rule

The Rule section contains Load Balancing rules. One default rule named default_rule is already in place. You can edit it or create a new custom one.

If you want to add a new rule, simply write a name, press Add button and then you will be redirected to the Configuration window. In order to configure an existing rule, click the Edit button located next to it, after which you will be redirected to the Configuration window.

Field name Value Description
Source address Default: "" IP address from which data will be transmitted
Source port Default: "" Port that will be used for transmission.
Destination address Default: 0.0.0.0/0 Matches outgoing traffic to this IP or range of IPs only
Destination port Default: "" Port that will be used for transmission at the destination.
Protocol Default: all Specifies to which protocol the rule should apply. All vailable options are presented in the table below
Policy assigned Default: balanced <Defines to which policy the rule should be assigned/td>

Protocol options are presented below:

Option name Port Protocol Description
ip 0 IP Internet protocol, pseudo protocol number
#hopopt 0 HOPOT IPv6 Hop-by-Hop Option
icmp 1 ICMP Internet control message protocol
igmp 2 IGMP Internet Group Management
ggp 3 GGP Gateway-gateway protocol
ipencap 4 IP-ENCAP IP encapsulated in IP (officially ``IP)
st 5 ST ST datagram mode
tcp 6 TCP Transmission control protocol
egp 8 EGP Exterior gateway protocol
igp 9 IGP Any private interior gateway
pup 12 PUP PARC universal packet protocol
udp 17 UDP User datagram protocol
hmp 20 HMP Host monitoring protocol
xns-idp 22 XNS-IDP Xerox NS IDP
rdp 27 RDP Reliable datagram protocol
iso-tp4 29 ISO-TP4 ISO Transport Protocol class 4
xtp 36 XTP Xpress Transfer Protocol
ddp 37 DDP Datagram Delivery Protocol
idpr-cmtp 38 IDPR-CMTP IDPR Control Message Transport
ipv6 41 IPv6 Internet Protocol, version 6
ipv6-route 43 IPv6-Route Routing Header for IPv6
ipv6-frag 44 IPv6-Frag Fragment Header for IPv6
idrp 45 IDRP Inter-Domain Routing Protocol
rsvp 46 RSVP Reservation Protocol
gre 47 GRE General Routing Encapsulation
esp 50 IPSEC-ESP Encap Security Payload
ah 51 IPSEC-AH Authentication Header
skip 57 SKIP SKIP
ipv6-icmp 58 IPv6-ICMP ICMP for IPv6
ipv6-nonxt 59 59 IPv6-NoNxt No Next Header for IPv6
ipv6-opts 60 IPv6-Opts Destination Options for IPv6
rspf 73 RSPF CPHB Radio Shortest Path First
vmtp 81 VMTP Versatile Message Transport
eigrp 88 EIGRP Enhanced Interior Routing Protocol
ospf 89 OSPFIGP Open Shortest Path First IGP
ax.25 93 AX.25 AX.25 frames
ipip 94 IPIP IP-within-IP Encapsulation Protocol
etherip 97 ETHERIP Ethernet-within-IP Encapsulation
encap 98 ENCAP Yet Another IP encapsulation
# 99 - Any private encryption scheme
pim 103 PIM Protocol Independent Multicast
ipcomp 108 IPCOMP IP Payload Compression Protocol
vrrp 112 VRRP Virtual Router Redundancy Protocol
l2tp 115 L2TP Layer Two Tunneling Protocol
isis 124 ISIS IS-IS over IPv4
sctp 132 SCTP Stream Control Transmission Protocol
fc 133 FC Fibre Channel