Trouble with DHCP in RTCS 4.2.0.1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Trouble with DHCP in RTCS 4.2.0.1

545件の閲覧回数
christian333
Contributor I

Hi,

we observe some problem with RTCS of MQX 4.2.0.1 regarding DHCP renewal (using ipcfg task).

When unplugging and re-plugging the network connector of our device running MQX/RTCS in DHCP mode, everything works fine. First the device uses settings for network A (IP, netmask, gw, dns). After replugging it uses settings of Network B.

But consider the following scenario:

The device is connected to a switch, which in turn is connected to a network offering DHCP (network "A"). Certainly the device wouldn't recognize immediately that something changed when the switch is plugged to another network ("B"), but the device itself stays connected to the switch during that time. But, when the device tries to renew its DHCP lease, it should get a NACK and then a new lease shoul be received, this time from the other network (B). This in fact works as expected, but with the exception of the DNS. IP, netmask and gateway will be set to network B's settings, but DNS will stay unchanged, as received before from network A.

This usecase is highly relevant to us, because we produce devices that are built into installation cabinets of buildings and cannot simply be rebooted. So, if someone decides to change his DSL router for example, after some time the devices installed in the cabinet must resume correct operation. Note that for this reason we set the maximum DHCP lease time to some short value (maybe 10 min).

We had fixed this bug in RTCS of MQX 4.0.x, but in the latest RTCS LWDNS is no longer there, so the fix does not work any more.

Does anybody know how to fix this in RTCS 4.2.0.1?

Thanks a lot in advance and kind regards,

Christian

ラベル(1)
0 件の賞賛
1 返信

249件の閲覧回数
Carlos_Musich
NXP Employee
NXP Employee

Hi,

MQX development team confirmed that this is going to be handled in MQX4,2,0.2.

Sorry for the inconvenience.

Regards,

Carlos

0 件の賞賛