Adam
2013-12-19 22:52:16 UTC
After having read many articles on the web through the internet (words which should not be used interchangeably), here is what I have come to believe to be true.
An ISP (internet service provider) provides you with an IP (internet protocol) address. You can connect to the internet without a router, but you need a modem. If you have a router, you can set up a Local Area Network so many computers and devices can connect to the internet through the modem and through your ISP. However, for the router to be able to receive responses to requests that your computers have sent out, it needs to assign each computer on your network a slightly different IP address (192.168.74.x : 192.168 is a form used to identify a private IP address). Using NAT (network address translation), your router takes your private IP address and converts it to a public IP address that other computers can see and contact (this is the address you see when you look it up online).
Q1) Is this public IP address the IP assigned to you by your ISP? It seems like your router is assigning you your private IP address.
Q2) you can configure your router's IP address to be anything. Why is this so? I thought each IP address is unique. Is it because the routers IP address is private?
There is this notion of static and dynamic IP address. Using DHCP (dynamic host configuration protocol) you computer annouces "I need an IP address!" and it is temporarily provided one (DCHP also provides information on subnet, first router to be taken, etc). This IP address can change if you leave the network and come back.
Q3) So.....is the router assigning you an IP address? are you getting your IP from your ISP? or are you getting your IP from DHCP? And if so, where the hell does DHCP get this address from?
Q4) where does your computer announce to using DHCP that it needs an IP address? Does this announcement go through the router?
Q5) Subnet tells you what exactly? Something like a range of IP addresses that are local? what is that range?
After you somehow have an IP address, you can connect to the internet. If you are in a cafe or some sort, first stop is the Access point, which will connect you to the servers of the ISP of the cafe. If you are at home, connection is through the modem and your ISP. When you open your web browser, you type in a domain, you are redirected to a DNS server (domain name server) which is like an address book of domain names and IP addresses. So from your computer at home, connection goes through the modem, to the ISP, and to a DNS server, which supplies you with an IP address to whatever website you are visiting. Then, knowing where your packages of information must be sent (your requests for whatever you want, a website, file sharing, etc), you hop from router to router (via cable lines or satellite or wifi?) until you reach the server you want. Depending on your request, you are directed to a specific port on the server depending on if you are requesting a response that needs HTTP (port 80 usual), POP3/IMAP (for email), etc. If you are requesting a webpage, the server sends back packets of info which can be reconstructed and your web browser is able to convert the HTML (hyper text markup language) into a page of graphics/texts/videos etc.
If you could respond to the questions and correct the flaws in this last paragraph that would be greatly appreciated. Please help this confused mind! Be as detailed as possible. 10 points and thanks.