Hi Fakhrullo
Could you add a minimum reproducible example of this happening? The MXID should stay the same, but IP might change to something outside your subnet.
Does regular device discovery (not specifying IP or MXID) work? Eg. the stock rgb_preview.py example.
Thanks,
Jaka