FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
803 views 4 comments
by
I want to try the load balancing feature by connecting Rutx12 devices to two different computers and installing both sim cards, that is, by using 4 sim cards. First of all, should I do an openvpn application on both devices? Should I specify a server-client?

If I configure the load balancing ratios at 1/1 in the configuration of the 1st unit, I will be able to do a load balancing test halfway through. If I do 3/2 in the 2nd unit's configuration, I will get 60% and 40% performance. Is it true? If there is a scenario I need to run while doing this test, can you please share with me? (Configuration Example) How should I perform? Should I download a data file to generate heavy traffic? What would you recommend?

1 Answer

0 votes
by anonymous
Hello,

Regarding to the scenario you want to test here are the answers.

1. First of all, should I do an openvpn application on both devices? Should I specify a server-client?
- May i know why you want to configure openvpn configuration for both devices?

2. If I configure the load balancing ratios at 1/1 in the configuration of the 1st unit, I will be able to do a load balancing test halfway through.
- The load traffic will be split in to two in this case.

3. If I do 3/2 in the 2nd unit's configuration, I will get 60% and 40% performance. Is it true? If there is a scenario I need to run while doing this test, can you please share with me? (Configuration Example) How should I perform? Should I download a data file to generate heavy traffic? What would you recommend?

- You may refer to these links for that:
https://wiki.teltonika-networks.com/view/RUTX12_Failover#Load_Balancing
https://wiki.teltonika-networks.com/view/LTE_Bonding_vs_Load_Balancing

Regards,
Jerome
by

First of all, thank you for the quick reply.

1. First of all, should I do an openvpn application on both devices? Should I specify a server-client?
- May i know why you want to configure openvpn configuration for both devices?

- The reason for this is to integrate the same application below into my system. "The router with the Public IP address (RUTX) acts as the OpenVPN server and other RUTX acts as client. OpenVPN connects the networks of HQ Office and Remote Office."

https://wiki.teltonikanetworks.com/view/Connecting_two_same_subnet_office_networks_using_OpenVPN_bridge_(TAP)_on_RUTX

But I could not get a successful result in the client. (Status: Disconnected) Could this be due to the wrong matching of the remote address I selected? (remote: 192.168.1.1)

- Also, should I upgrade unit's firmware version for load balancing? (Now: RUTX_R_00.02.03.4)

- In the example below, load balancing operation has been performed between the wired WAN and Mobile WAN. It is possible to make LTE between 2 sim cards (2 mobile wan) using the same ratios (sim1: 3 / sim2: 2). Can you confirm?

https://wiki.teltonika-networks.com/view/RUTX12_Failover#Load_Balancing

by anonymous
Hello,

Regarding the OpenVPN setup you are having are  you having public ip address on both sim cards?? and how bout the RUTX that you want to make an OpenVPN client.

Upgrading the firmware to the latest one would be the best practice in doing this setup.

https://wiki.teltonika-networks.com/view/RUTX12_Firmware_Downloads

For the question of yours if it is possible to have the same ratio on sim cards in RUTX12 i will try to confirm with HQ.

Regards,
Jerome
by

1) I have two RUTX12 devices. Both have one sim card active. I can connect to the internet with LTE. The server at HQ Office connected to must be (192.168.1.1) and the remote one is set as client (192.168.1.2). The server is already connected. So the client router is also disconnected, but did I choose these addresses correctly? When I do ipconfig from PC at HQ Office, I see it as 10.1.10.54. I guess I should also choose the routers in this subnet. For example, server= 10.1.10.20, client=10.1.10.25. Can I overcome the error like this?

2) Load balancing feature can be used when two sim cards are active. You will only confirm the ratio with HQ, is it correct?

3) How can I prove performance in a load balancing trial? Is a graphic being created for this in WebUI?

Thank you

by anonymous
Hello,

The load balancing feature is on the device itself if it is using 2 or more different WAN Sources.

For the OpenVPN config that you are doing may i know what type of VPN configuration are you trying to implement? You want to use bridge mode?? Because you IP Addressing is seems to belong on the bridge mode meaning you are just bridging the LAN networks. If you want to use the Tunnel Type OpenVPN connection you need to have different subnet on the network, let say your server will be having this LAN network IP 192.168.1.1 and the OpenVPN client will be having 192.168.2.1 and for the 3rd you will be having  192.168.3.1 it will vary on the subnet mask you set.

For the OpenVPN assigning of IP it comes with partners where everything is on subnet mask /30.

Example:
OpenVPN Server:
10.10.30.0 -> Network Address.
10.10.30.1 -> First usable IP
10.10.30.2 -> Second usable IP
10.10.30.3  -> Broadcast Address

First OpenVPN client will be able to get this IP:
10.10.30.4 -> Network Address
10.10.30.5 -> First usable IP
10.10.30.6 -> Second usable IP
 10.10.30.7 -> Broadcast Address

Both IP is needed for the local endpoint and the remote endpoint.

For the performance of the load balancing trials you can try to perform speedtest.  

Hope it helps.

Regards,
Jerome