ip_address
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ip_address [2026/11/10 15:36] – ultracomfy | ip_address [2026/11/17 15:56] (current) – ultracomfy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| <WRAP column 18% right> | <WRAP column 18% right> | ||
| - | {{page> | + | {{page> |
| </ | </ | ||
| Line 6: | Line 6: | ||
| <WRAP centeralign> | <WRAP centeralign> | ||
| <fs xx-large> | <fs xx-large> | ||
| + | |||
| + | <WRAP center round info 60%> | ||
| + | While IP addresses aren't necessarily connected to the internet, much of what you are about to read might make more sense to you if you read about the internet first. See: [[: | ||
| + | </ | ||
| + | |||
| An IP (Internet Protocol) address is a numerical identifier assigned to a network interface, allowing it to be identified and communicate with other devices over an IP network. | An IP (Internet Protocol) address is a numerical identifier assigned to a network interface, allowing it to be identified and communicate with other devices over an IP network. | ||
| Line 36: | Line 41: | ||
| ====== IP Assignment ====== | ====== IP Assignment ====== | ||
| - | The IP address a DHCP server assigns to a device isn't (entirely) random. For home networks, three different reserved address spaces exist that routers may use to assign IP addresses. These begin with '' | + | The IP address a DHCP server assigns to a device isn't (entirely) random. For example, my network at home is administered by a FritzBox router. Most FritzBoxes come out of the factory configured to assign |
| - | The reason IP addresses are leased is for the sake of recycling. If every device got a new IP address every time it logged on, the router/DHCP server would eventually run out of IP addresses it can assign. | + | The reason IP addresses are leased is for the sake of recycling. If every device got a new IP address every time it logged on, the router/DHCP server would eventually run out of IP addresses it can assign. |
| <WRAP box> | <WRAP box> | ||
| Line 53: | Line 58: | ||
| ++++ Advanced Reading: Private Address Ranges | | ++++ Advanced Reading: Private Address Ranges | | ||
| - | The range of addresses a router can assign is limited. Routers | + | There are multiple |
| ^ Range ^ Start ^ End ^ | ^ Range ^ Start ^ End ^ | ||
| Line 67: | Line 72: | ||
| What you just learned is what is called a " | What you just learned is what is called a " | ||
| - | Each house would have its own Room 1's and Room 2's and so on, so if you now sent a letter with the destination " | + | Each house would have its own Room 1's and Room 2's and so on. Think of all the different offices in which the room number 501 might exist. So if you now sent a letter with the destination " |
| For this reason, if you tried to '' | For this reason, if you tried to '' | ||
| Line 74: | Line 79: | ||
| As established, | As established, | ||
| - | In the case of your home network, your modem (often built into your router) is assigned its own IP address. Whereas devices on your home network turn to your router for IP assignment, your router is connected to the internet and will turn to your Internet Service Provider (ISP) for IP assignment itself. This gives the router **two** effective IP addresses: One used inside the network, locally (the Private IP address), and one address the router uses when talking to the internet (called the Public IP address). While I am writing this website, my **public** IP address is '' | + | In the case of your home network, your modem (often built into your router) is assigned its own IP address. |
| + | |||
| + | <WRAP box> | ||
| + | ++++ Advanced Reading: Modems and Routers | | ||
| + | While I will be using the term router to refer to the device you will in fact most likely be thinking of, routers and modems are not the same. Modern devices sold as " | ||
| + | |||
| + | A router, fundamentally, | ||
| + | |||
| + | The modem is the device that actually connects you to the internet. Back in the day, routers and modems were separate machines and you would plug the modem into the wall, and then plug your router in front of it. Modern " | ||
| + | ++++ | ||
| + | </ | ||
| + | |||
| + | Whereas devices on your home network turn to your router for IP assignment, your router is connected to the internet and will turn to your Internet Service Provider (ISP) for IP assignment itself. This gives the router **two** effective IP addresses: One used inside the network, locally (the Private IP address), and one address the router uses when talking to the internet (called the Public IP address). While I am writing this website, my **public** IP address is '' | ||
| <WRAP round box 60%> | <WRAP round box 60%> | ||
| Line 127: | Line 144: | ||
| You can think of it as Room 3 sending a letter to, say, Company HQ. Room 3 gives its message to the mailman and the mailman replaces the envelope' | You can think of it as Room 3 sending a letter to, say, Company HQ. Room 3 gives its message to the mailman and the mailman replaces the envelope' | ||
| + | |||
| + | <WRAP box> | ||
| + | ++++ Advanced Reading: CGNAT | | ||
| + | Internet Service Providers and other carriers on the way themselves have limited ranges to hand out IP addresses. If your ISP has been allocated 100000 IPv4 addresses but you have 150000 customers, you will quickly exhaust your available addresses. So, in the same way that home networks can use NAT to independently use the same IP addresses (ie. my computer can have 192.168.172.2 in my local network and your computer can have 192.168.172.2 in your network without them conflicting with each other), your carrier might employ NAT at their level to reuse IP addresses " | ||
| + | |||
| + | This is called " | ||
| + | ++++ | ||
| + | </ | ||
| ====== DNS ====== | ====== DNS ====== | ||
| Numbers are hard to memorize. For example, ultracomfy.net is served to you by a server in Karlsruhe that has the IP '' | Numbers are hard to memorize. For example, ultracomfy.net is served to you by a server in Karlsruhe that has the IP '' | ||
| - | In the case of ultracomfy.net, | + | In the case of ultracomfy.net, |
| The reason we use DNS is because, for one, domain names are easier to remember, but also because, as discussed, IP addresses change. The IP address(es) under which to reach google.com have changed many a times over the years, but the domain google.com has never changed. | The reason we use DNS is because, for one, domain names are easier to remember, but also because, as discussed, IP addresses change. The IP address(es) under which to reach google.com have changed many a times over the years, but the domain google.com has never changed. | ||
| ====== What We've Learned ====== | ====== What We've Learned ====== | ||
| - | To sum it all up, we have learned that IP addresses numbers given to network-capable devices by devices higher up in the chain to enable communication between them. These numbers are handed out temporarily and become invalid after some time unless renewed. | + | To sum it all up, we have learned that IP addresses |
ip_address.1794325003.txt.gz · Last modified: by ultracomfy
