Check Multi Module Connection

This scenario demonstrates how to configure multiple cellular interfaces associated with different cellular modules.

../../../../_images/googlemultimodule.svg

Test ICMP Connectivity

Description

In DUT0, two cellular interfaces are defined, each associated with different cellular modules. Once configured, the ‘Ping’ command is used to check the connectivity of the two data interfaces with Google’s public DNS server.

Scenario

Step 1: Set the following configuration in DUT0 :

set cellular profile CELPROFILE1 apn movistar.es
set cellular profile CELPROFILE2 apn movistar.es
set controllers cellular wwan0 sim select socket_1
set controllers cellular wwan0 sim socket socket_1 encrypted-pin U2FsdGVkX18nRXUALhTfUZUz1vVX0wf3fIM779gm1TY=
set controllers cellular wwan0 sim socket socket_1 pdp 1 profile CELPROFILE1
set controllers cellular wwan1 sim select socket_1
set controllers cellular wwan1 sim socket socket_1 encrypted-pin U2FsdGVkX181ZiZSHrHv8+CxCplSEcpzqHdnmntP1Wc=
set controllers cellular wwan1 sim socket socket_1 pdp 1 profile CELPROFILE2
set interfaces cellular cell0 address dhcp
set interfaces cellular cell0 phy wwan0 pdp 1
set interfaces cellular cell1 address dhcp
set interfaces cellular cell1 phy wwan1 pdp 1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Note

Once the two cellular modules are configured, the following operational commands can be used to check if the SIM and registration states are correct for both modules.

Step 2: Run the command controllers cellular wwan0 show network-status on DUT0 and check whether the output matches the following regular expressions:

SIM status\s* = OK
Registration state\s* = registered
Show output
SIM status = OK
Registration state = registered
Public Land Mobile Network code = HOME[21407] ACT[21422]
Public Land Mobile Network name = Movistar
Network technology currently in use = lte(+5gnr)
Current Service Domain registered = cs-ps (capable cs-ps)
Current Roaming status = off
3GPP Cell ID = 72016415
Radio Band = eutran-20
Bandwidth = 10
Channel = 6400
LTE Tracking Area Code (TAC) = 28673
EN-DC Available = yes
DCNR Restriction = no
LTE Carrier Aggregation Info:
Primary Cell Info:
Band = E-UTRA Band 20
Frequency = 6400
Downlink Bandwidth = 10 MHz
Physical Cell ID = 195
Scell State = registered
RSRP (dBm) = -65
RSRQ (dB) = -6
RSSI (dBm) = -42
SINR (dB) = 14
Uplink Bandwidth = 10 MHz
Secondary Cell Info #0:
Band = E-UTRA Band 3
Frequency = 1301
Downlink Bandwidth = 20 MHz
Physical Cell ID = 216
Scell State = inactive
RSRP (dBm) = -79
RSRQ (dB) = -8
RSSI (dBm) = -61
SINR (dB) = 19
RX level (dBm) = -65
Coverage level = 5 (*****)

Step 3: Run the command controllers cellular wwan1 show network-status on DUT0 and check whether the output matches the following regular expressions:

SIM status\s* = OK
Registration state\s* = registered
Show output
SIM status = OK
Registration state = registered
Public Land Mobile Network code = HOME[21407] ACT[21422]
Public Land Mobile Network name = Movistar
Network technology currently in use = lte(+5gnr)
Current Service Domain registered = cs-ps (capable cs-ps)
Current Roaming status = off
3GPP Cell ID = 72016415
Radio Band = eutran-20
Bandwidth = 10
Channel = 6400
LTE Tracking Area Code (TAC) = 28673
EN-DC Available = yes
DCNR Restriction = no
LTE Carrier Aggregation Info:
Primary Cell Info:
Band = E-UTRA Band 20
Frequency = 6400
Downlink Bandwidth = 10 MHz
Physical Cell ID = 195
Scell State = registered
RSRP (dBm) = -69
RSRQ (dB) = -7
RSSI (dBm) = -45
SINR (dB) = 10
Uplink Bandwidth = 10 MHz
Secondary Cell Info #0:
Band = E-UTRA Band 3
Frequency = 1301
Downlink Bandwidth = 20 MHz
Physical Cell ID = 216
Scell State = inactive
RSRP (dBm) = -86
RSRQ (dB) = -7
RSSI (dBm) = -70
SINR (dB) = 12
RX level (dBm) = -70
Coverage level = 4 (**** )

Note

On the other hand, with the following commands it can be checked if the PDP contexts have correctly established the connection to the network.

Step 4: Run the command controllers cellular wwan0 pdp 1 show network-data-connection on DUT0 and check whether the output matches the following regular expressions:

Connection status\s* = connected
Show output
Connection status               = connected
Traffic channel status          = active
Max. TX channel rate (bps)      = 0
Max. RX channel rate (bps)      = 0
IPv4 address                    = 2.143.63.172
IPv4 mask                       = 255.255.255.248
IPv4 gateway                    = 2.143.63.173
IPv4 primary DNS                = 80.58.61.248
IPv4 secondary DNS              = 80.58.61.249

Step 5: Run the command controllers cellular wwan1 pdp 1 show network-data-connection on DUT0 and check whether the output matches the following regular expressions:

Connection status\s* = connected
Show output
Connection status               = connected
Traffic channel status          = active
Max. TX channel rate (bps)      = 0
Max. RX channel rate (bps)      = 0
IPv4 address                    = 37.12.51.191
IPv4 mask                       = 255.255.255.128
IPv4 gateway                    = 37.12.51.192
IPv4 primary DNS                = 80.58.61.248
IPv4 secondary DNS              = 80.58.61.249

Note

Additionally, with the previous operational commands, the IP addresses that have been provided by the operator to be used by each cellular interface are displayed. So, with the following commands, it can be checked if the two cellular interfaces have been correctly configured by the DHCP client.

Step 6: Run the command interfaces cellular cell0 show on DUT0 and check whether the output matches the following regular expressions:

cell0\s+\d+.\d+.\d+.\d+\/\d+\s+up\s+up
Show output
------------------------------------------------------------------
Name            IP Address           Admin  Oper  Vrf  Description
------------------------------------------------------------------
cell0  2.143.63.172/29               up     up
fe80::dc79:7aff:fe24:a8c4/64

Step 7: Run the command interfaces cellular cell1 show on DUT0 and check whether the output matches the following regular expressions:

cell1\s+\d+.\d+.\d+.\d+\/\d+\s+up\s+up
Show output
------------------------------------------------------------------
Name            IP Address           Admin  Oper  Vrf  Description
------------------------------------------------------------------
cell1  37.12.51.191/25               up     up
fe80::f896:71ff:fe43:a377/64

Note

Once everything above has been verified, we can be sure that the two cellular interfaces have been configured correctly and that there must be connectivity with the network from each of them. The latter can be verified, for example, by pinging Google's DNS public server.

Step 8: Ping the IP address 8.8.8.8 from DUT0:

admin@DUT0$ ping 8.8.8.8 local-address cell0 count 1 size 56 timeout 1
Show output
PING 8.8.8.8 (8.8.8.8) from 2.143.63.172 cell0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=39.9 ms

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 39.860/39.860/39.860/0.000 ms

Step 9: Ping the IP address 8.8.8.8 from DUT0:

admin@DUT0$ ping 8.8.8.8 local-address cell1 count 1 size 56 timeout 1
Show output
PING 8.8.8.8 (8.8.8.8) from 37.12.51.191 cell1: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=38.5 ms

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 38.474/38.474/38.474/0.000 ms

Step 1: Set the following configuration in DUT0 :

set cellular profile CELPROFILE1 apn movistar.es
set cellular profile CELPROFILE2 apn movistar.es
set controllers cellular wwan0 sim select socket_1
set controllers cellular wwan0 sim socket socket_1 encrypted-pin U2FsdGVkX1/6/CwNXBJ9oHtd3HXn2DOtDye/qlrn1q4=
set controllers cellular wwan0 sim socket socket_1 pdp 1 profile CELPROFILE1
set controllers cellular wwan1 sim select socket_1
set controllers cellular wwan1 sim socket socket_1 encrypted-pin U2FsdGVkX1//FnxUHIptRgdcaI0vjku2aYziXf1vzXY=
set controllers cellular wwan1 sim socket socket_1 pdp 1 profile CELPROFILE2
set interfaces cellular cell0 address dhcp
set interfaces cellular cell0 phy wwan0 pdp 1
set interfaces cellular cell1 address dhcp
set interfaces cellular cell1 phy wwan1 pdp 1
set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'

Note

Once the two cellular modules are configured, the following operational commands can be used to check if the SIM and registration states are correct for both modules.

Step 2: Run the command controllers cellular wwan0 show network-status on DUT0 and check whether the output matches the following regular expressions:

SIM status\s* = OK
Registration state\s* = registered
Show output
SIM status = OK
Registration state = registered
Public Land Mobile Network code = HOME[21407] ACT[21422]
Public Land Mobile Network name = Movistar
Network technology currently in use = lte(+5gnr)
Current Service Domain registered = cs-ps (capable cs-ps)
Current Roaming status = off
3GPP Cell ID = 72016415
Radio Band = eutran-20
Bandwidth = 10
Channel = 6400
LTE Tracking Area Code (TAC) = 28673
EN-DC Available = yes
DCNR Restriction = no
LTE Carrier Aggregation Info:
Primary Cell Info:
Band = E-UTRA Band 20
Frequency = 6400
Downlink Bandwidth = 10 MHz
Physical Cell ID = 195
Scell State = registered
RSRP (dBm) = -83
RSRQ (dB) = -7
RSSI (dBm) = -59
SINR (dB) = 14
Uplink Bandwidth = 10 MHz
Secondary Cell Info #0:
Band = E-UTRA Band 3
Frequency = 1301
Downlink Bandwidth = 20 MHz
Physical Cell ID = 216
Scell State = inactive
RSRP (dBm) = -85
RSRQ (dB) = -10
RSSI (dBm) = -63
SINR (dB) = 15
RX level (dBm) = -83
Coverage level = 5 (*****)

Step 3: Run the command controllers cellular wwan1 show network-status on DUT0 and check whether the output matches the following regular expressions:

SIM status\s* = OK
Registration state\s* = registered
Show output
SIM status = OK
Registration state = registered
Public Land Mobile Network code = HOME[21407] ACT[21422]
Public Land Mobile Network name = Movistar
Network technology currently in use = lte(+5gnr)
Current Service Domain registered = cs-ps (capable cs-ps)
Current Roaming status = off
3GPP Cell ID = 72016415
Radio Band = eutran-20
Bandwidth = 10
Channel = 6400
LTE Tracking Area Code (TAC) = 28673
EN-DC Available = yes
DCNR Restriction = no
LTE Carrier Aggregation Info:
Primary Cell Info:
Band = E-UTRA Band 20
Frequency = 6400
Downlink Bandwidth = 10 MHz
Physical Cell ID = 195
Scell State = registered
RSRP (dBm) = -84
RSRQ (dB) = -9
RSSI (dBm) = -58
SINR (dB) = 6
Uplink Bandwidth = 10 MHz
Secondary Cell Info #0:
Band = E-UTRA Band 3
Frequency = 1301
Downlink Bandwidth = 20 MHz
Physical Cell ID = 216
Scell State = inactive
RSRP (dBm) = -85
RSRQ (dB) = -8
RSSI (dBm) = -69
SINR (dB) = 14
RX level (dBm) = -82
Coverage level = 4 (**** )

Note

On the other hand, with the following commands it can be checked if the PDP contexts have correctly established the connection to the network.

Step 4: Run the command controllers cellular wwan0 pdp 1 show network-data-connection on DUT0 and check whether the output matches the following regular expressions:

Connection status\s* = connected
Show output
Connection status               = connected
Traffic channel status          = active
Max. TX channel rate (bps)      = 0
Max. RX channel rate (bps)      = 0
IPv4 address                    = 37.12.17.93
IPv4 mask                       = 255.255.255.252
IPv4 gateway                    = 37.12.17.94
IPv4 primary DNS                = 80.58.61.248
IPv4 secondary DNS              = 80.58.61.249

Step 5: Run the command controllers cellular wwan1 pdp 1 show network-data-connection on DUT0 and check whether the output matches the following regular expressions:

Connection status\s* = connected
Show output
Connection status               = connected
Traffic channel status          = active
Max. TX channel rate (bps)      = 0
Max. RX channel rate (bps)      = 0
IPv4 address                    = 37.12.43.134
IPv4 mask                       = 255.255.255.252
IPv4 gateway                    = 37.12.43.133
IPv4 primary DNS                = 80.58.61.248
IPv4 secondary DNS              = 80.58.61.249

Note

Additionally, with the previous operational commands, the IP addresses that have been provided by the operator to be used by each cellular interface are displayed. So, with the following commands, it can be checked if the two cellular interfaces have been correctly configured by the DHCP client.

Step 6: Run the command interfaces cellular cell0 show on DUT0 and check whether the output matches the following regular expressions:

cell0\s+\d+.\d+.\d+.\d+\/\d+\s+up\s+up
Show output
-----------------------------------------------------------------
Name           IP Address           Admin  Oper  Vrf  Description
-----------------------------------------------------------------
cell0  37.12.17.93/30               up     up
fe80::4e0:87ff:fe24:1102/64

Step 7: Run the command interfaces cellular cell1 show on DUT0 and check whether the output matches the following regular expressions:

cell1\s+\d+.\d+.\d+.\d+\/\d+\s+up\s+up
Show output
------------------------------------------------------------------
Name            IP Address           Admin  Oper  Vrf  Description
------------------------------------------------------------------
cell1  37.12.43.134/30               up     up
fe80::7c96:52ff:fee3:91c5/64

Note

Once everything above has been verified, we can be sure that the two cellular interfaces have been configured correctly and that there must be connectivity with the network from each of them. The latter can be verified, for example, by pinging Google's DNS public server.

Step 8: Ping the IP address 8.8.8.8 from DUT0:

admin@DUT0$ ping 8.8.8.8 local-address cell0 count 1 size 56 timeout 1
Show output
PING 8.8.8.8 (8.8.8.8) from 37.12.17.93 cell0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=27.7 ms

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 27.732/27.732/27.732/0.000 ms

Step 9: Ping the IP address 8.8.8.8 from DUT0:

admin@DUT0$ ping 8.8.8.8 local-address cell1 count 1 size 56 timeout 1
Show output
PING 8.8.8.8 (8.8.8.8) from 37.12.43.134 cell1: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=23.9 ms

--- 8.8.8.8 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 23.923/23.923/23.923/0.000 ms