It is recommended to assign a fixed IP address to both LAN/BAN and WAN by setting a DHCP reservation in the DHCP server configuration (also known as static lease). This makes the IP addresses persistent in case of factory or configuration reset.