Multi-APN: Difference between revisions

From Teltonika Networks Wiki
(Created page with "<span style="color: red;">The information in this page is updated in accordance with firmware version <span style="color: #0054A6;"><b>R_00.07.00</b></span>.</span> ==Configu...")
 
No edit summary
Line 1: Line 1:
<span style="color: red;">The information in this page is updated in accordance with firmware version <span style="color: #0054A6;"><b>R_00.07.00</b></span>.</span>
<span style="color: red;">The information in this page is updated in accordance with firmware version <i><b>R_00.07.00</b></i>.</span>
 
==Introduction==
 
This article contains instruction on how to utilize the device's Multi-APN feature in order to establish connections to multiple mobile networks using a single SIM card. This feature may also be referred to as "Multiple PDN".


==Configuration prerequisites==
==Configuration prerequisites==


'''Prerequisites''':
'''Prerequisites''':
* Latest firmware with Multi-APN support
* Latest firmware with Multi-APN support <i>(R_00.07.00 and newer)</i>
* SIM card with multiple APNs
* SIM card with multiple APNs


Line 15: Line 19:
In the example below, we will be using <i>wap</i> (dynamic) and <i>bangapro</i> (static) as our different APNs. Replace these values in accordance with your SIM card provider.
In the example below, we will be using <i>wap</i> (dynamic) and <i>bangapro</i> (static) as our different APNs. Replace these values in accordance with your SIM card provider.


<i><b>Note:</b> As of firmware version <span style="color: #0054A6;"><b>R_00.07.00</b></span>, only 2 different APNs are supported at once.</i>
<i><b>Note:</b> As of firmware version <b>R_00.07.00</b>, only 2 different APNs are supported at once on the following devices:
----
* RUTX series
<b>STEP 1</b>: Navigate to mobile interface configuration.
* RUT9 series
 
* TRB2 series</i>
 
Connect to router's <b>WebUI</b>, navigate to <b>Network > Interfaces</b>. Find the default mobile interface and click the EDIT icon on the right.
 
[[File:Networking_rutos_configuration_example_multi_apn_interfaces_default_interface_edit_v1.png|border|class=tlt-border]]
----
<b>STEP 2</b>: Configure the default interface.
 
 
Interface configuration window should appear after pressing EDIT. Follow these steps:
#Disable <b>Auto APN</b>.
#Choose an APN from the list, <i>or</i> select <b>-- Custom --</b> to define a custom APN.
#Enter your APN in the <b>Custom APN</b> field.
#Press <b>Save & Apply</b> below.
 
[[File:Networking_rutos_configuration_example_multi_apn_interface_configuration_mobile_apn2_v1.png|border|class=tlt-border]]
 
The interface should soon connect to data with an IP assigned according to the APN:
 
[[File:Networking_rutos_configuration_example_multi_apn_interfaces_mobile2_running_v1.png|border|class=tlt-border]]
----
----
<b>STEP 3</b>: Create a new mobile interface.
<b>STEP 1</b>: Create a new mobile interface.




Find the <b>Add New Instance</b> section below, enter a name for your mobile interface and click ADD.
Connect to router's <b>WebUI</b>, navigate to <b>Network > Interfaces</b>. Find the <b>Add New Instance</b> section below, enter a name for your mobile interface and click ADD.


[[File:Networking_rutos_manual_add_new_instance_demo_v1.png|border|class=tlt-border]]
[[File:Networking_rutos_manual_add_new_instance_demo_v1.png|border|class=tlt-border]]
----
----
<b>STEP 4</b>: Configure the new interface.
<b>STEP 2</b>: Configure the new interface.




Line 55: Line 40:
Then configure the interface in this order:
Then configure the interface in this order:
#Disable <b>Auto APN</b>.
#Disable <b>Auto APN</b>.
#Choose an APN from the list (different from the one previously), <i>or</i> select <b>-- Custom --</b> to define a custom APN.
#Choose an APN from the list, <i>or</i> select <b>-- Custom --</b> to define a custom APN.
#Enter your APN in the <b>Custom APN</b> field.
#Enter your APN in the <b>Custom APN</b> field.
#Press <b>Save & Apply</b> below.
#Press <b>Save & Apply</b> below.
Line 70: Line 55:


If your new interface is unable to connect, make sure you have not set an identical APN on the default mobile interface for that SIM card.
If your new interface is unable to connect, make sure you have not set an identical APN on the default mobile interface for that SIM card.
----
<b>STEP 3</b>: Configure the default interface.
[[File:Networking_rutos_configuration_example_multi_apn_interfaces_default_interface_edit_v1.png|border|class=tlt-border]]
Interface configuration window should appear after pressing EDIT. Follow the same steps in <b>STEP 2</b> with a different APN or leave it on Auto APN if the interface automatically connected to a different APN.
The default interface should soon connect to data with an IP assigned according to the APN:
[[File:Networking_rutos_configuration_example_multi_apn_interfaces_mobile2_running_v1.png|border|class=tlt-border]]


==Results==
==Results==

Revision as of 10:41, 30 July 2021

Main Page > General Information > Configuration Examples > Modem control > Multi-APN

The information in this page is updated in accordance with firmware version R_00.07.00.

Introduction

This article contains instruction on how to utilize the device's Multi-APN feature in order to establish connections to multiple mobile networks using a single SIM card. This feature may also be referred to as "Multiple PDN".

Configuration prerequisites

Prerequisites:

  • Latest firmware with Multi-APN support (R_00.07.00 and newer)
  • SIM card with multiple APNs

Configuring router

If you're having trouble finding this page or some of the parameters described here on your device's WebUI, you should turn on "Advanced WebUI" mode. You can do that by clicking the "Advanced" button, located at the top of the WebUI.

In the example below, we will be using wap (dynamic) and bangapro (static) as our different APNs. Replace these values in accordance with your SIM card provider.

Note: As of firmware version R_00.07.00, only 2 different APNs are supported at once on the following devices:

  • RUTX series
  • RUT9 series
  • TRB2 series

STEP 1: Create a new mobile interface.


Connect to router's WebUI, navigate to Network > Interfaces. Find the Add New Instance section below, enter a name for your mobile interface and click ADD.


STEP 2: Configure the new interface.


Interface configuration window should appear after adding a new interface. Select Mobile in the protocol list.

Then configure the interface in this order:

  1. Disable Auto APN.
  2. Choose an APN from the list, or select -- Custom -- to define a custom APN.
  3. Enter your APN in the Custom APN field.
  4. Press Save & Apply below.

The new interface should appear in the list and start connecting to mobile data.

Once connected, you will see an IP assigned according to the APN.

If your new interface is unable to connect, make sure you have not set an identical APN on the default mobile interface for that SIM card.


STEP 3: Configure the default interface.

Interface configuration window should appear after pressing EDIT. Follow the same steps in STEP 2 with a different APN or leave it on Auto APN if the interface automatically connected to a different APN.

The default interface should soon connect to data with an IP assigned according to the APN:

Results

You should see the two different mobile interfaces connected to data with different IPs assigned:

Testing configuration

You may also check if the configuration was successful by pinging an address reachable from the internet via CLI or SSH:

To ping from the default interface, use command:

ping -I qmimux0 8.8.8.8

To ping from the created interface, use command:

ping -I qmimux8 8.8.8.8