Navigate to the left-side panel and click the Internet Setup tab.
Select the Static IP option from the WAN Access Type drop-down menu.
Fill up the IP Address, Subnet Mask, and Default Gateway fields with the information provided by your ISP.
Enter a public DNS server address (for example, 22.214.171.124) in the DNS Server 1 field.
Verify the configured settings and click the Apply Changes button.
Make sure to use wireless security to prevent unauthorized access to your network.
To check whether you have configured the WAN connection to Static IP, click the Status tab.
At last on using how to configure D Link router with static IP steps, Scroll down the router’s settings page to the WAN Configuration section and check whether the protocol has been changed to Static. Also, check whether the Status reads Static IP.