What is static ip and dynamic ip?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is static ip and dynamic ip??

10th May 2020, 8:40 PM
Jhunna Kumar
Jhunna Kumar - avatar
2 Answers
+ 4
Static means it stays the same with each reconnect. Dynamic means it may change as needed upon reconnect.
10th May 2020, 8:46 PM
ChaoticDawg
ChaoticDawg - avatar
+ 3
Some more context: In almost all networks there is a DHCP server, which has the job of handing out IP adresses. At home it's built into your router. So when you connect to a network, your phone or whatever asks the DHCP for an IP address it can use, the DHCP knows what IP addresses are and aren't taken and gives you the next best one. (dynamic ip) You can also choose to ignore the DHCP and set your own IP, or you can configure the DHCP to give out the same address every time, or maybe there is no DHCP server so you have to do it all yourself. (static IP) A common approach in bigger networks is to give static IPs to important servers and such, and dynamic IPs to all other machines.
10th May 2020, 10:30 PM
Schindlabua
Schindlabua - avatar