Multi-APN: Difference between revisions
Appearance
Gytispieze (talk | contribs) No edit summary |
No edit summary Tags: Mobile edit Mobile web edit |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
< | <p style="color:red">The information in this page is updated in accordance with [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.13'''] firmware version.</p> | ||
==Introduction== | ==Introduction== | ||
This article contains | This article contains instructions on how to utilize the device's <b>Multi-APN</b> 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== | ||
| Line 12: | Line 11: | ||
==Configuring router== | ==Configuring router== | ||
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 <b>R_00.07. | <i><b>Note:</b> As of firmware version <b>R_00.07.13</b>, 8 different APNs are supported at once. Multi-APN feature is <b><u>not supported</u></b> on the following devices: | ||
* TRB1 series | * TRB1 series | ||
* TRB256 | |||
* TRB5 series | * TRB5 series | ||
* | * RUT200 (if module is EC200A) | ||
* RUT901 | |||
* RUT906</i> | |||
---- | ---- | ||
<b>STEP 1</b>: Create a new mobile interface. | <b>STEP 1</b>: Create a new mobile interface: | ||
Connect to router's <b>WebUI</b>, navigate to <b>Network → WAN</b>. Find the <b>Add</b> button below and click the '''Add''' button. | |||
[[File:Multi_APN_7.8_add.png|border|class=tlt-border]] | |||
[[File: | |||
---- | ---- | ||
<b>STEP 2</b>: Configure the new interface. | <b>STEP 2</b>: Configure the new interface. | ||
An interface configuration window should appear after adding a new interface. | |||
Then configure the interface in this order: | Then configure the interface in this order: | ||
# | #Select <b>Mobile</b> in the protocol list. | ||
#Choose an APN from the list, <i>or</i> select <b> | #Choose the name for your new <b>interface</b>. | ||
#Choose an APN from the list, <i>or</i> select <b>+ Add new </b> to define a custom APN. | |||
#Press <b>Save & Apply</b> below. | #Press <b>Save & Apply</b> below once done. | ||
[[File: | [[File:Multi_APN_7.8_new_interface_edit.png|border|class=tlt-border]] | ||
If your first interface has auto APN, once you will click '''"Save & Apply"''', you will be prompted to a new window, where you will have to accept to turn off the Auto APN on the sim card interfaces. Choose '''Yes'''. | |||
[[File: | [[File:Multi_APN_7.8_auto_apn_off_yes.png|border|class=tlt-border]] | ||
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. | Once connected, you will see an IP assigned according to the APN. | ||
[[File: | [[File:Multi_APN_7.8_new_interface_connected.png|border|class=tlt-border]] | ||
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. | ||
| Line 58: | Line 54: | ||
<b>STEP 3</b>: Configure the default interface. | <b>STEP 3</b>: Configure the default interface. | ||
[[File: | [[File:Multi_APN_7.8_old_interface_edit.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 | Interface configuration window should appear after pressing EDIT. Follow the same steps in <b>STEP 2</b> with a different APN if needed. | ||
The default interface should soon connect to data with an IP assigned according to the APN | The default interface should soon connect to data with an IP assigned according to the APN. | ||
==Results== | ==Results== | ||
| Line 70: | Line 64: | ||
You should see the two different mobile interfaces connected to data with different IPs assigned: | You should see the two different mobile interfaces connected to data with different IPs assigned: | ||
[[File: | [[File:Multi_APN_7.8_interfaces_overall_connected.png|border|class=tlt-border]] | ||
==Testing configuration== | ==Testing configuration== | ||
You may also check if the configuration was successful by pinging an address reachable from the internet via <b>CLI</b> or <b>SSH</b>: | You may also check if the configuration was successful by pinging an address reachable from the internet via <b>CLI</b> or <b>SSH</b>: | ||
To check which interfaces are created for mobile, you can use this command: | |||
ifconfig | |||
[[File:Multi_APN_7.8_ifconfig.png|border|class=tlt-border]] | |||
To ping from the default interface, use command: | To ping from the default interface, use command: | ||
ping -I qmimux0 8.8.8.8 | ping -I qmimux0 8.8.8.8 | ||
[[File: | [[File:Multi_APN_7.8_ping1.png|border|class=tlt-border]] | ||
To ping from the created interface, use command: | To ping from the created interface, use command: | ||
ping -I qmimux<b> | ping -I qmimux<b>1</b> 8.8.8.8 | ||
[[File: | [[File:Multi_APN_7.8_ping2.png|border|class=tlt-border]] | ||
[[Category:Modem control]] | |||