Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

PHS8-E / PLS8-E subnet mask issue | Telit Cinterion IoT Developer Community

October 30, 2015 - 2:35pm, 5044 views


our company is using mobile modules in our devices. We have switched from Sierra to Cinterion and we are having some issues when connecting to mobile network.

When obtaining IP address from ISP, our subnet mask is and sometimes With same SIM cards in Sierra modules we get

Since we get we sometimes have overlap of subnets and therefore our devices cannot comunicate (ping etc).

We are writting our own embeded software, so we are sure its not the code that it manipulating subnet mask.

Our code does the following AT commands:

      send_at_command('ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0')
      send_at_command('AT+CGDCONT=17,"IP","' .. apn .. '"')
      send_at_command('AT^SGAUTH=17,' .. papchap .. ',' .. user.. ',' .. pass )

Then we check IP address in a loop with:

And afer that we use dhclient Linux software to place IP address on our ppp_0 interface.

To repeat and conclude, same hardware, same software, different modules (Sierra and Cinterion) we get different subnet masks (but same IP address).

Does anyone have some ideas?

Thank you in advance,