I have never done that with these cameras. never felt the need to. I know there were some users that looked into doing static IP’S and i think port forwarding a while ago, so the best I can do is point you in that direction for now. I don’t think it gives any benefit for these unless you are using RTSP.
a few posts down on this they get into how they had to do it as I believe these cameras use DHCP. but this post is from a while ago. so i don’t know what may have changed between then and now. I haven’t looked into those intricacies in many moons.