What is static and dynamic IP address?

(Last Updated On: November 11, 2016)

Static and dynamic IP address concept is important when we work on network related stuff / programming, for example Wi-Fi, Ethernet etc.

Answer:

Static and dynamic IP Address:

Static IP Address:

A static IP address is a fixed IP address that is manually assigned to a computer or a device on a network. Static IP address does not change over time and is permanent. Generally, we don’t need static IP address. It is useful for web hosting, email hosting server and FTP server etc. where we don’t want IP address that changes over time. In fact, static IP address is costly.

Dynamic IP Address:

A dynamic IP address assigned to any device i.e. mobile, computer and tablet etc. by network for example from Router, changes over time. If we consider a Router, dynamic IP address can be setup for a specific lease time, may for 1 day or week etc. Once the lease time expire router may assign a different IP address to devices.

It may also changes when you dial into your Internet service provider. Some ISPs change your IP each time you log on to their network while some make the changes periodically.

Most dynamic IP addresses are assigned using the Dynamic Host Configuration Protocol (DHCP)

NOTES:

One of the example of dynamic IP Address we can see in our home network. The router in our home network assigns IP addresses to our computers and other network devices i.e. tabs and mobiles etc. as we switch on Wi-Fi. You may notice the IP address changes on connecting devices to Wi-Fi. Also, note that it depend upon the lease time setting in the router. In the router configuration you can change the lease time.

In our organization network we use dynamic IP address. You may not see frequent changes of IP address of your machine as generally time lease is given for weeks or months or more, that depends on network administrator.