{"id":2837,"date":"2025-04-20T17:53:08","date_gmt":"2025-04-20T17:53:08","guid":{"rendered":"https:\/\/cybersecurityinfocus.com\/?p=2837"},"modified":"2025-04-20T17:53:08","modified_gmt":"2025-04-20T17:53:08","slug":"now-its-clear-explaining-the-basics-of-ip-addresses-and-their-allocation-for-beginners","status":"publish","type":"post","link":"https:\/\/cybersecurityinfocus.com\/?p=2837","title":{"rendered":"Now it\u2019s clear! Explaining the basics of IP addresses and their allocation for beginners"},"content":{"rendered":"<p>Hey guys , I\u2019m Rocky. This may seem sudden, but have you ever thought about what an IP address is?<br \/>When you use a smartphone or computer, you can connect to the Internet without even thinking about it, and you can watch YouTube or upload photos to Instagram. But how can you communicate correctly no matter where you are in the world?<\/p>\n<p>The key to this is\u00a0<strong>the IP address<\/strong>\u00a0. An IP address is like an \u201caddress\u201d on the Internet, and is essential for data to reach the correct destination.<br \/>However, since we don\u2019t usually use it without thinking about it, there are probably many people who have heard of it but don\u2019t really understand it.<\/p>\n<p>However, knowing IP addresses can give you a deeper understanding of how the Internet works and make it easier to identify the cause of network problems.<\/p>\n<p>In this article, we will explain the role and types of IP addresses, and how they are assigned, as clearly as possible.<br \/>The purpose is not to cover everything, but to serve as an \u201c<strong>entrance<\/strong>\u201d for beginners to the basics of networking.<\/p>\n<p>For ease of explanation, this article assumes that IP addresses are IPv4. Although it does not touch on IPv6, we hope you will continue reading to understand the mechanisms that are familiar to you. <\/p>\n<p>If you want to deep dive into Networking make sure to explore our <a href=\"https:\/\/store.codelivly.com\/l\/computer-networking?layout=profile\"><strong>computer networking<\/strong> <\/a>book that is beginner friendly and written in a way for you guys to understand at ease<\/p>\n<h1 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%A3%E3%81%A6%E4%BD%95\"><\/a>What is an IP address?<\/h1>\n<p>An IP address is like an \u201caddress\u201d on the Internet. When a smartphone or computer connects to the Internet, an IP address is assigned to each network, enabling it to send and receive data.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%8C%E3%81%AA%E3%81%9C%E5%BF%85%E8%A6%81%E3%81%AA%E3%81%AE%E3%81%8B%EF%BC%9F\"><\/a>Why do we need IP addresses?<\/h3>\n<p>For example, when you open a website on your smartphone, the communication takes place as follows:<\/p>\n<p>\u2460 \u201cI want to view this site!\u201d A data request is sent to the IP address of the web server.<br \/>\u2461 The web server sends the data to the requested IP address.<br \/>\u2462 The web page can be displayed on the device.<\/p>\n<p>Without an IP address, you wouldn\u2019t know where to send your data and you wouldn\u2019t be able to open the website.<\/p>\n<h1 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%AE%E7%A8%AE%E9%A1%9E\"><\/a>IP Address Type<\/h1>\n<p>Did you know that there are several types of IP addresses?<br \/>The two most well-known types are global IP addresses and private IP addresses.<br \/>In addition to these, there are also classifications such as fixed IP addresses and dynamic IP addresses. These are important factors that affect the differences in how IP addresses are assigned.<br \/>You may be wondering, \u201cDynamic? IP addresses are \u201caddresses,\u201d so can they change?\u201d<br \/>From here, we will explain each type in order.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#%E3%82%B0%E3%83%AD%E3%83%BC%E3%83%90%E3%83%AB-ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%A8%E3%83%97%E3%83%A9%E3%82%A4%E3%83%99%E3%83%BC%E3%83%88-ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9\"><\/a>Global and private IP addresses<\/h3>\n<p>There are several types of IP addresses, but the first thing you need to know<br \/>is the difference between a global IP address and a private IP address.<\/p>\n<p>These two have very different roles in terms of \u201cwhere they are used\u201d and \u201chow far they reach.\u201d<br \/>In fact, even when we use the Internet on a daily basis, we use these two different services without even realizing it.<\/p>\n<p>Here is a table summarizing the differences between them.<\/p>\n<p>Comparison itemsGlobal IP addressPrivate IP addressesApplicationsUsed throughout the internetFor use in home and corporate networksAddress UniquenessUnique in the world (no duplicates)Unique within the same networkCommunication rangeCommunication across the internetCommunication is possible only within a private networkAdministratorISPs (Internet Service Providers) and cloud providersHome and corporate network administrators<\/p>\n<p>As mentioned above, a global IP address is a public address that can be used to communicate from anywhere in the world,<br \/>whereas a private IP address is a closed address that is used only within a specific network, such as a home or company.<\/p>\n<p>But doesn\u2019t that alone seem a bit strange to you?<\/p>\n<p>When we use the Internet at home, in most cases, our devices are assigned private IP addresses.<br \/>When our smartphones and computers are connected to our home Wi-Fi, they are actually assigned private IPs.<br \/>However, in reality, they also connect to \u201cexternal\u201d services on the Internet, such as YouTube and news sites.<br \/>The table says \u201cPrivate IPs are used within the home and business.\u201d<br \/>So how can they communicate with the \u201coutside world\u201d?<\/p>\n<p>To unravel this mystery, let\u2019s think about it in terms of a real address.<\/p>\n<p><strong>Global IP address \u2192 \u201cAddress of an entire city, town, or village\u201d<\/strong><\/p>\n<p>For example, suppose A wants to send a letter to B via school.<br \/>The address of School B, where B is enrolled, is \u201cMarunouchi, Chiyoda-ku, Tokyo,\u201d and can be identified from anywhere in the country.<br \/>If this address is known, the letter can be delivered to School B.<\/p>\n<p>However, this address alone does not tell you who the package is addressed to.<br \/>Even if you are told to \u201cdeliver it to B at School B,\u201d you cannot pinpoint which classroom B is in, or in other words, which device it is addressed to.<\/p>\n<p><strong>Private IP address \u2192 \u201cClassroom and seat number in school\u201d<\/strong><\/p>\n<p>For example, let\u2019s say that Person B is seated in \u201c2nd year, class 3, seat number 15.\u201d<br \/>This type of seat number\u00a0is information that uniquely identifies Person B\u00a0<strong>within School B.<\/strong><br \/>However, this seat number cannot be identified from outside the school (on the Internet), since the same number may exist at other schools.<\/p>\n<p>In this way, in a situation like that shown above, the information \u201cMr. B at School B\u201d alone is not enough to accurately deliver a letter to Mr. B from outside.<\/p>\n<p>So far, we have learned that in order to communicate with the outside world, you need an \u201caddress (= global IP address)\u201d.<br \/>So how does the actual communication take place?<\/p>\n<p>This is where the address conversion mechanism known as\u00a0<strong>NAT<\/strong>\u00a0(Network Address Translation) comes in . The key component that supports this mechanism is the router.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#%E3%83%AB%E3%83%BC%E3%82%BF%E3%83%BC%E3%81%AE%E5%BD%B9%E5%89%B2\"><\/a>The role of the router<\/h3>\n<p>The router functions like an \u201coffice\u201d in a school.<br \/>When a student (= a computer or smartphone) wants to send a message (= communication) to the outside world, the message is first collected by the router on campus.<\/p>\n<p>For example, when Person A tries to access the outside world, the communication (letter) is first passed to School A\u2019s router (= office)Because private IP addresses cannot be used to communicate with the outside world, the router converts the sender information (IP) into a global IP address and sends it out onto the Internet based on information about which device is trying to send what kind of communication.<\/p>\n<p>This allows external services to know \u201cwhere the communication came from\u201d through the global IP address.<br \/>It is also possible to convert a global IP address to a private IP address<\/p>\n<div class=\"wp-block-image\">\n<\/div>\n<p><\/p>\n<p>In this way, NAT converts a private IP to a global IP when sending, and converts the global IP to a private IP when receiving, so that the data can be delivered correctly to the terminal.<\/p>\n<p>This conversion process is usually performed automatically by network devices such as routers, which act as a bridge between home and school networks and the Internet.<\/p>\n<h3 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#%E5%9B%BA%E5%AE%9A-ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%A8%E5%8B%95%E7%9A%84-ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9\"><\/a>Static and Dynamic IP Addresses<\/h3>\n<p>Next, we will explain the difference between a \u201cfixed IP address\u201d and a \u201cdynamic IP address\u201d.<\/p>\n<p>Comparison itemsStatic IP addressDynamic IP AddressIP address fluctuationsAlways use the same numberChanged at a certain timeApplicationsServer operation, remote accessHome Internet ConnectionsManagementContract with an ISP to get a fixed IP addressISP automatically changes and assigns<\/p>\n<p>In most home internet networks, dynamic IP addresses are automatically assigned by the ISP (Internet Service Provider).<br \/>No special settings are required on the user\u2019s side, and an unused IP address is automatically assigned each time the user connects.<\/p>\n<p>Dynamic IP addresses are a widely used mechanism to simplify network administration[1],<br \/>allowing ISPs to efficiently utilize limited IPv4 address resources by automatically assigning and reusing unused addresses.<\/p>\n<p>On the other hand, there are times when using a fixed IP address is recommended for companies and server operations.<br \/>Being able to connect using the same IP address at all times leads to improved security and reliability, such as access restrictions and stable operation of web servers.<br \/>Setting a fixed IP address allows you to set it up to allow access only from a limited number of IP addresses, which helps to ensure safe access to internal systems and prevent unauthorized access.<\/p>\n<h1 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%AE%E5%89%B2%E3%82%8A%E5%BD%93%E3%81%A6\"><\/a>IP Address Allocation<\/h1>\n<p>So far, we have introduced that there are various types of IP addresses, each with different uses and allocation methods.<br \/>Among them, global IP addresses are essential for communicating with the \u201coutside world\u201d of the Internet, and must be uniquely assigned to devices around the world.<\/p>\n<p>But doesn\u2019t this raise a question?<br \/>\u201cWho on earth is managing so many IP addresses, and how?\u201d<br \/>\u201cIf each provider in each country distributes them as they please, won\u2019t there be duplication?\u201d<\/p>\n<p>In fact, there is a global management system for IP address allocation to ensure the harmonious operation of the entire Internet.<br \/>This system is how we receive the correct IP addresses.<\/p>\n<p>For example, to use a fixed IP address, you need to sign a contract with an ISP (Internet Service Provider).<br \/>However, the IP address itself is not something that the ISP just creates.<br \/>Let\u2019s take a look at how IP addresses are managed and who manages them.<\/p>\n<h2 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#ip-%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%AE%E7%AE%A1%E7%90%86%E3%81%AE%E4%BB%95%E7%B5%84%E3%81%BF\"><\/a>How IP Address Management Works<\/h2>\n<p>International organizations are involved in the management of IP addresses.<br \/>From here, let\u2019s take a look at the diagram to see the overall picture of how IP addresses are managed and assigned. It<br \/>may seem a little complicated at first glance, but we will explain the terms that appear in the diagram (IANA, RIR, NIR, LIR, etc.) in order, so please read on without worry.<br \/>In order to ensure that IP addresses are unique, a management system is necessary.<br \/>This role is played by the Internet Assigned Numbers Authority (\u00a0<strong>IANA<\/strong>\u00a0).<br \/>However, it is difficult for IANA to directly manage all IP addresses in the world. For this reason, IANA has divided the world into five regions and\u00a0established\u00a0<strong>RIRs<\/strong><br \/>(Regional Internet Registries) to manage each region .<strong><\/strong><\/p>\n<p>RIRs manage IP addresses in their respective regions.<br \/>However, even with five regions, there are still many countries, making it difficult for the RIRs to manage them alone.<br \/>For this reason, some regions have established National Internet Registries (\u00a0<strong>NIRs<\/strong>\u00a0) and introduced a system of managing addresses on a country-by-country basis.<br \/>The existence of NIRs allows smooth communication between RIRs and LIRs, and allows for smooth allocation.<\/p>\n<p>caseAllocation processCountries with NIRIANA \u2192 RIR \u2192 NIR \u2192 LIR \u2192 Individual\/CorporateCountries without NIRIANA \u2192 RIR \u2192 LIR \u2192 Individual\/Corporate<\/p>\n<p>NIRs\u00a0assign IP addresses to\u00a0<strong>LIRs<\/strong><br \/>(Local Internet Registries). LIRs include organizations such as:<br \/>ISPs (Internet Service Providers)<br \/>Corporate network administrators<br \/>Data centers<br \/>Universities and research institutes<br \/>And finally, LIRs assign IP addresses to us, individuals and corporations.<\/p>\n<h1 class=\"wp-block-heading\"><a href=\"https:\/\/zenn.dev\/cloud_ace\/articles\/e4d63d2a49a17f#%E3%81%95%E3%81%84%E3%81%94%E3%81%AB\"><\/a>Finally<\/h1>\n<p>In this article, we have explained everything from the basic role of IP addresses to the difference between global and private IP addresses, how to use fixed IPs and dynamic IPs, and the global allocation system.<br \/>Although you may not usually think about it, IP addresses are a very important system that determines \u201cwho can deliver data to whom\u201d in the huge network known as the Internet.<\/p>\n<p>\u201cI\u2019ve heard of IP addresses before, but what exactly are they?\u201d<br \/>\u201cWhy are there two different addresses?\u201d<br \/>\u201cWhat problems arise when an IP address changes?\u201d<br \/>If you can get even a vague idea of \u200b\u200bthe system and background behind these questions, then that is the goal of this article.<\/p>\n<p>Just having this basic knowledge should make a big difference in your understanding when learning about networks and security in the future. Using the knowledge you have gained from  this article, try to be more aware of how the networks around you work. I\u2019m sure you will gradually begin to see the \u201cbehind the scenes of communication\u201d that you have not been able to see before.<\/p>","protected":false},"excerpt":{"rendered":"<p>Hey guys , I\u2019m Rocky. This may seem sudden, but have you ever thought about what an IP address is?When you use a smartphone or computer, you can connect to the Internet without even thinking about it, and you can watch YouTube or upload photos to Instagram. But how can you communicate correctly no matter [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":2838,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2837","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts\/2837"}],"collection":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2837"}],"version-history":[{"count":0,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts\/2837\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/media\/2838"}],"wp:attachment":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}