Does dynamic IP address belong to modem like devices? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Does dynamic IP address belong to modem like devices?

Title may not be as descriptive as I'd like it to be. Assume that I connect to google.com ( which is actually a combination of numbers like 192.168.x.x or something else ). Does that mean I send request to that particular server which has a specified ip address like any other device that can connect to internet? And when I send request, does that server find my computer because it knows the ip address of the specific device which I send the request with or my modem at home has a dynamic ip address ( which changes after every reboot of modem ) and when sending request to somewhere, my modem's dynamic ip address is attached to the package, that way the server sends back the response to my modem which then finds the device that sent the request among all the connected devices to that modem? If neither of them is right, then does dynamic address belong to the specific device ( say phone or laptop ) as well as static ip address? Let me know if the question isn't clear.

22nd Oct 2020, 2:06 PM
Mustafa K.
Mustafa K. - avatar
2 Answers
+ 4
NotAPythonNinja I don't see any necessity for questions to be directly related with programming as it is computer related so I didn't think it'd be a problem. If a distribute the internet connection from my phone with mobile hotspot and tethering thing. Then will my phone have a dynamic ip address which will be used as the point where the request is sent from, which will then the response will be directed to the actual device which connects to the phone or does every phone with hotspot already have a dynamic ip address that uses it when hotspot is enabled?
22nd Oct 2020, 2:48 PM
Mustafa K.
Mustafa K. - avatar
+ 1
Your local ip will not be accessible from outside as its current format with the command ipconfig in windows or ifconfig in linux,but there is a default getaway or router address which is used instead and there are some protocols and technics to hide your real ip or translate it to another format like NAT which stand for network address translation .
22nd Oct 2020, 8:00 PM
HBhZ_C
HBhZ_C - avatar