<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>devkuma – IP</title>
    <link>https://www.devkuma.com/en/tags/ip/</link>
    <image>
      <url>https://www.devkuma.com/en/tags/ip/logo/180x180.jpg</url>
      <title>IP</title>
      <link>https://www.devkuma.com/en/tags/ip/</link>
    </image>
    <description>Recent content in IP on devkuma</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>kc@example.com (kc kim)</managingEditor>
    <webMaster>kc@example.com (kc kim)</webMaster>
    <copyright>The devkuma</copyright>
    
	  <atom:link href="https://www.devkuma.com/en/tags/ip/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>What Is Network TCP/IP?</title>
      <link>https://www.devkuma.com/en/docs/tcp-ip/</link>
      <pubDate>Tue, 10 Jan 2023 11:21:21 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/tcp-ip/</guid>
      <description>
        
        
        &lt;h2 id=&#34;what-is-tcpip&#34;&gt;What Is TCP/IP?&lt;/h2&gt;
&lt;p&gt;TCP/IP is a combination of TCP (Transmission Control Protocol) and IP (Internet Protocol), and it can be considered one of the most important technical elements for supporting computer networks.&lt;/p&gt;
&lt;p&gt;In general, &amp;ldquo;TCP/IP&amp;rdquo; is used as a collective term for the communication technologies that operate computer networks and the internet. It includes not only TCP and IP, but also various protocols such as ICMP, TCP, and HTTP. In any case, you can think of it as the set of protocols needed to send something over a network.&lt;/p&gt;
&lt;h3 id=&#34;what-is-a-protocol&#34;&gt;What Is a Protocol?&lt;/h3&gt;
&lt;p&gt;Here, a protocol means a &amp;ldquo;communication rule.&amp;rdquo; Data is transmitted together with various elements.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/network-protocol.png&#34; alt=&#34;Protocol&#34;&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Data A: the data that starts first&lt;/li&gt;
&lt;li&gt;Data B: the next data&lt;/li&gt;
&lt;li&gt;Data C: the data after that&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the order in which data is sent is not determined in this way, it becomes impossible to know what was actually sent.&lt;/p&gt;
&lt;p&gt;For example, if you know that data such as &amp;ldquo;recipient,&amp;rdquo; &amp;ldquo;where it came from (your own address),&amp;rdquo; and &amp;ldquo;data contents&amp;rdquo; is sent in order, the receiving side can also identify the data by recognizing it as &amp;ldquo;recipient,&amp;rdquo; &amp;ldquo;where it came from (your own address),&amp;rdquo; and &amp;ldquo;data contents.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;That is why protocols are essential.&lt;/p&gt;
&lt;p&gt;In short, you can think of TCP/IP as the communication rules for a network.&lt;/p&gt;
&lt;h2 id=&#34;through-what-interaction-is-data-transmitted&#34;&gt;Through What Interaction Is Data Transmitted?&lt;/h2&gt;
&lt;p&gt;For example, suppose you are viewing a site on the internet. A request like the following is sent through the network.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The browser creates a request message.&lt;/li&gt;
&lt;li&gt;The operating system&amp;rsquo;s TCP/IP processing software passes the data to a place called the transport layer.&lt;/li&gt;
&lt;li&gt;The TCP protocol in the transport layer attaches a TCP header, meaning that this kind of data is added to the beginning of the data.&lt;/li&gt;
&lt;li&gt;Next, the data is sent to a place called the network layer, where an IP header, containing data such as the destination, is attached.&lt;/li&gt;
&lt;li&gt;Then header information such as a MAC header is added on top of that, and the data is sent from the LAN adapter.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This is difficult. It may be a little hard to understand, but you can think of it as sending data after attaching various pieces of information to the beginning of the data as needed.&lt;/p&gt;

      </description>
      
      <category>TCP</category>
      
      <category>IP</category>
      
      <category>Network</category>
      
    </item>
    
    <item>
      <title>IP (Internet Protocol)</title>
      <link>https://www.devkuma.com/en/docs/ip/</link>
      <pubDate>Fri, 08 Jul 2022 18:48:00 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/ip/</guid>
      <description>
        
        
        &lt;h2 id=&#34;what-is-ip&#34;&gt;What Is IP?&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Internet Protocol&lt;/li&gt;
&lt;li&gt;A protocol for delivering data on the Internet.&lt;/li&gt;
&lt;li&gt;It is a protocol that delivers packets through the Internet network.&lt;/li&gt;
&lt;li&gt;It has the characteristics of being connectionless and unreliable.
&lt;ul&gt;
&lt;li&gt;Connectionless means it does not predetermine the path for sending packets.&lt;/li&gt;
&lt;li&gt;Unreliable means it does not guarantee complete packet delivery.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;difference-between-public-ip-and-private-ip&#34;&gt;Difference Between Public IP and Private IP&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Public IP
&lt;ul&gt;
&lt;li&gt;A globally unique IP address provided by an ISP (Internet service provider).&lt;/li&gt;
&lt;li&gt;Because it is exposed externally, it can be accessed by other devices connected to the Internet.&lt;/li&gt;
&lt;li&gt;Therefore, security settings such as a firewall must be configured.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Private IP
&lt;ul&gt;
&lt;li&gt;An IP address used inside a specific network.&lt;/li&gt;
&lt;li&gt;Because the shortage of IPv4 addresses makes it impossible for every network to use public IP addresses, it is a virtual address assigned through a router inside a network.&lt;/li&gt;
&lt;li&gt;It cannot be accessed from outside without separate configuration.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
      
      <category>IP</category>
      
      <category>Network</category>
      
    </item>
    
    <item>
      <title>IP Address</title>
      <link>https://www.devkuma.com/en/docs/ip-address/</link>
      <pubDate>Tue, 20 Dec 2022 11:41:27 +0900</pubDate>
      <author>kc@example.com (kc kim)</author>
      <guid>https://www.devkuma.com/en/docs/ip-address/</guid>
      <description>
        
        
        &lt;h2 id=&#34;ip-address&#34;&gt;IP Address&lt;/h2&gt;
&lt;p&gt;An IP address is the address of a computer on the Internet. Every device connected to the Internet must be assigned an IP address.&lt;/p&gt;
&lt;h3 id=&#34;how-is-data-transmitted-on-the-internet&#34;&gt;How Is Data Transmitted on the Internet?&lt;/h3&gt;
&lt;p&gt;For example, when you &amp;ldquo;send mail,&amp;rdquo; &amp;ldquo;send a message through a messenger,&amp;rdquo; or &amp;ldquo;buy a product from an online store,&amp;rdquo; how is data sent and received?&lt;/p&gt;
&lt;p&gt;In fact, it is similar to sending a parcel.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/ip-address-1.png&#34; alt=&#34;Parcel delivery&#34;&gt;&lt;/p&gt;
&lt;p&gt;For a parcel to arrive safely, information about the &amp;ldquo;sender address&amp;rdquo; and &amp;ldquo;recipient address&amp;rdquo; is required.&lt;/p&gt;
&lt;p&gt;Flow of parcel delivery:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First, it is gathered at the office closest to the &amp;ldquo;sender address.&amp;rdquo; (In the figure above, the Seoul office)&lt;/li&gt;
&lt;li&gt;Next, the &amp;ldquo;recipient address&amp;rdquo; is checked, and the parcel is sent to the office closest to that address. (In the figure above, the Busan office)&lt;/li&gt;
&lt;li&gt;Finally, it arrives at the &amp;ldquo;recipient address&amp;rdquo; from the office.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now let&amp;rsquo;s look at how data is sent and received on the Internet.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/ip-address-2.png&#34; alt=&#34;How IP addresses work&#34;&gt;&lt;/p&gt;
&lt;p&gt;To deliver a parcel to another person, the &amp;ldquo;sender address&amp;rdquo; and the &amp;ldquo;destination address&amp;rdquo; were required.&lt;/p&gt;
&lt;p&gt;In a network, these addresses correspond to &amp;ldquo;IP addresses.&amp;rdquo; For a computer (network device) to connect to a network, it must be assigned a unique IP address that does not overlap with others.&lt;/p&gt;
&lt;p&gt;The flow of data transmission and reception by a computer (network device) is as follows.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;First, data is sent to a network device called a router near the &amp;ldquo;source IP address&amp;rdquo; (a role similar to a parcel office).&lt;/li&gt;
&lt;li&gt;Then the router checks the &amp;ldquo;destination IP address&amp;rdquo; and sends the data to a router near the &amp;ldquo;destination IP address.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Finally, the data is delivered from the router to the computer (network device) assigned the &amp;ldquo;source IP address.&amp;rdquo;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In this way, the structure of data transmission and reception on the Internet is almost the same as parcel delivery. Work that people perform is automatically performed by using network devices (routers).&lt;/p&gt;
&lt;h2 id=&#34;how-ip-addresses-work&#34;&gt;How IP Addresses Work&lt;/h2&gt;
&lt;h3 id=&#34;who-manages-ip-addresses&#34;&gt;Who Manages IP Addresses?&lt;/h3&gt;
&lt;p&gt;An IP address is the address of a computer (network device) on the Internet. Therefore, IP addresses are assigned so that they do not overlap.&lt;/p&gt;
&lt;p&gt;The organization that manages &amp;ldquo;IP addresses,&amp;rdquo; which are indispensable for communication on the Internet, is a nonprofit corporation called ICANN (The Internet Corporation for Assigned Names and Numbers).&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/ip-address-3.png&#34; alt=&#34;ICANN&#34;&gt;&lt;/p&gt;
&lt;p&gt;However, ICANN does not manage all information in the world directly. Under ICANN are RIRs (Regional Internet Registries) that manage resources by region such as North America, Asia, and Europe. Under them are NIRs (National Internet Registries) that manage resources by country, and finally LIRs (Local Internet Registries) such as Internet service providers (ISPs).&lt;/p&gt;
&lt;h2 id=&#34;difference-between-private-ip-addresses-and-public-ip-addresses&#34;&gt;Difference Between Private IP Addresses and Public IP Addresses&lt;/h2&gt;
&lt;p&gt;There are two types of IP addresses: &amp;ldquo;private IP addresses&amp;rdquo; and &amp;ldquo;public IP addresses.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;A public IP address is an IP address required to connect to the Internet, while a private IP address is used only inside an organization&amp;rsquo;s network (private network), such as a home or company.&lt;/p&gt;
&lt;h3 id=&#34;private-ip-address&#34;&gt;Private IP Address&lt;/h3&gt;
&lt;p&gt;A private IP address is an IP address used in an organization&amp;rsquo;s network (private network), such as a home or company. Addresses are assigned so they do not overlap within the organization.&lt;/p&gt;
&lt;p&gt;The following is an example of private IP addresses.&lt;br&gt;
&lt;img src=&#34;https://www.devkuma.com/docs/network/private-ip-address-1.png&#34; alt=&#34;Private IP address&#34;&gt;&lt;/p&gt;
&lt;p&gt;In the figure above, the left side is the &amp;ldquo;private network,&amp;rdquo; the right side is the &amp;ldquo;Internet,&amp;rdquo; and there is a broadband router between the &amp;ldquo;private network&amp;rdquo; and the &amp;ldquo;Internet.&amp;rdquo; This is a common configuration when using an Internet service provider (ISP).&lt;/p&gt;
&lt;p&gt;Computers in the private network are assigned private IP addresses.&lt;/p&gt;
&lt;p&gt;Using private IP addresses, computers can communicate with other computers inside the private network.&lt;/p&gt;
&lt;p&gt;However, to communicate with computers outside the private network, a public IP address is required.&lt;/p&gt;
&lt;p&gt;Private IP addresses cannot communicate on the Internet.&lt;/p&gt;
&lt;h3 id=&#34;public-ip-address&#34;&gt;Public IP Address&lt;/h3&gt;
&lt;p&gt;A public IP address is an Internet address required for computers and communication devices to communicate over the Internet.&lt;/p&gt;
&lt;p&gt;Therefore, a router (broadband router) connects to the Internet by converting private IP addresses into public IP addresses. The method of converting between private IP addresses and public IP addresses is called NAT (Network Address Translation).&lt;/p&gt;
&lt;h3 id=&#34;why-are-private-ip-addresses-necessary&#34;&gt;Why Are Private IP Addresses Necessary?&lt;/h3&gt;
&lt;p&gt;Private IP addresses appeared because of the IPv4 &amp;ldquo;&lt;strong&gt;IP address exhaustion problem&lt;/strong&gt;.&amp;rdquo; IP address exhaustion is the problem of not having enough IP addresses.&lt;/p&gt;
&lt;p&gt;An IP address is an address for communicating on the Internet. Therefore, an IP address must be unique and must not overlap.&lt;/p&gt;
&lt;p&gt;Based on the idea that not every computer needs to access the Internet, a mechanism was created to assign a specific range of IP addresses inside an organization as private IP addresses.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/private-ip-address-2.png&#34; alt=&#34;Private IP address&#34;&gt;&lt;/p&gt;
&lt;p&gt;Unlike global IP addresses, which must be assigned so they do not overlap anywhere in the world, private IP addresses only need to be unique within an organization (private network).&lt;/p&gt;
&lt;p&gt;In the figure above, computers in &amp;ldquo;private network A&amp;rdquo; and &amp;ldquo;private network B&amp;rdquo; are assigned the same private IP address, but this is not a problem because the organizations (private networks) are different.&lt;/p&gt;
&lt;p&gt;Therefore, private IP addresses are a mechanism for conserving IP addresses.&lt;/p&gt;
&lt;p&gt;Private IP addresses also have security advantages. To communicate on the Internet, traffic must pass through a router (broadband router, default gateway). Because this router has security functions, security can be strengthened through the router.&lt;/p&gt;
&lt;h2 id=&#34;ip-address-definition&#34;&gt;IP Address Definition&lt;/h2&gt;
&lt;h3 id=&#34;classful-method&#34;&gt;Classful Method&lt;/h3&gt;
&lt;p&gt;An IP address consists of two parts: a &lt;strong&gt;network part&lt;/strong&gt; and a &lt;strong&gt;host part&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The network part indicates which network it belongs to, and the host part is the address assigned to a host in that network.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/ip-address-4-1.png&#34; alt=&#34;Network and host parts of an IP address&#34;&gt;&lt;/p&gt;
&lt;p&gt;Traditional IP addresses used the &amp;ldquo;classful method,&amp;rdquo; so the network part and host part were fixed.&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;Class&lt;/th&gt;
          &lt;th style=&#34;text-align: right&#34;&gt;Address range&lt;/th&gt;
          &lt;th style=&#34;text-align: right&#34;&gt;Network part range&lt;/th&gt;
          &lt;th style=&#34;text-align: right&#34;&gt;Host part range&lt;/th&gt;
          &lt;th style=&#34;text-align: right&#34;&gt;Number of assignable hosts&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;Class A&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;0.0.0.0 ~ 127.255.255.255&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;First 8 bits&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;24 bits&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;16,777,214&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Class B&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;128.0.0.0 ~ 191.255.255.255&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;First 16 bits&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;16 bits&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;65,534&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;Class C&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;192.0.0.0 ~ 223.255.255.255&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;First 24 bits&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;8 bits&lt;/td&gt;
          &lt;td style=&#34;text-align: right&#34;&gt;254&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Because of this structure, for example, if a company that needs 100 IP addresses uses &amp;ldquo;Class C,&amp;rdquo; Class C provides 254 assignable hosts, so 154 IP addresses are wasted after excluding the required 100 addresses (254 - 100 = 154).&lt;/p&gt;
&lt;p&gt;This led to the &amp;ldquo;classless method.&amp;rdquo; In the classless method, a subnet mask is used to make it possible to freely change the boundary between the &amp;ldquo;network part&amp;rdquo; and the &amp;ldquo;host part.&amp;rdquo;&lt;/p&gt;
&lt;h3 id=&#34;classless-method&#34;&gt;Classless Method&lt;/h3&gt;
&lt;p&gt;The classless method is a method that uses a subnet mask to make it possible to freely change the boundary between the &amp;ldquo;network part&amp;rdquo; and the &amp;ldquo;host part.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/ip-address-4-2.png&#34; alt=&#34;Subnet mask&#34;&gt;&lt;/p&gt;
&lt;p&gt;A subnet mask is written in decimal as &amp;ldquo;255.255.255.0,&amp;rdquo; as in the example above, and in binary as &amp;ldquo;1&amp;rdquo; and &amp;ldquo;0.&amp;rdquo;&lt;br&gt;
The parts of the subnet mask that are &amp;ldquo;1&amp;rdquo; are the &amp;ldquo;network part,&amp;rdquo; and the parts that are &amp;ldquo;0&amp;rdquo; are the host part.&lt;/p&gt;
&lt;p&gt;For example, suppose a company that needs 100 IP addresses is assigned the Class C network &amp;ldquo;192.168.1.0,&amp;rdquo; as before. (The subnet mask is 255.255.255.0.)&lt;br&gt;
In this case, 254 IP addresses can be used by computers (192.168.1.1 ~ 192.168.1.254).&lt;br&gt;
As a result, 154 IP addresses are wasted (254 - 100 = 154).&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/ip-address-4-3.png&#34; alt=&#34;Subnet mask&#34;&gt;&lt;/p&gt;
&lt;p&gt;Now move the boundary between the &amp;ldquo;network part&amp;rdquo; and the &amp;ldquo;host part&amp;rdquo; one position to the right.&lt;/p&gt;
&lt;p&gt;Then the subnet mask changes from &amp;ldquo;255.255.255.0&amp;rdquo; to &amp;ldquo;255.255.255.128.&amp;rdquo; In this case, 126 IP addresses can be used by computers (192.168.1.1 ~ 192.168.1.126).&lt;br&gt;
As a result, only 26 IP addresses are wasted (126 - 100 = 26). If you consider them spare addresses, this is not really waste.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;https://www.devkuma.com/docs/network/ip-address-4-4.png&#34; alt=&#34;Moving the subnet mask position&#34;&gt;&lt;/p&gt;
&lt;p&gt;In this way, the &amp;ldquo;classless method&amp;rdquo; uses a subnet mask to freely change the boundary between the &amp;ldquo;network part&amp;rdquo; and the &amp;ldquo;host part&amp;rdquo; and adjust the number of IP addresses assigned to hosts.&lt;/p&gt;
&lt;h2 id=&#34;difference-between-ipv4-and-ipv6&#34;&gt;Difference Between IPv4 and IPv6&lt;/h2&gt;
&lt;p&gt;The major versions of IP addresses are IPv4 and IPv6. IPv6 appeared because IPv4, the major IP address version, has an &amp;ldquo;IP address exhaustion problem.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;IPv4 provides about 2 to the 32nd power usable IP addresses (about 4.3 billion = 4.3 x 10^9), while IPv6 provides about 2 to the 128th power usable IP addresses (about 340 undecillion = 3.4 x 10^38).&lt;/p&gt;
&lt;p&gt;IPv6 addresses are expressed in 128 bits, separated by colons (:) every 16 bits, and written in hexadecimal.&lt;/p&gt;
&lt;p&gt;An example IPv6 notation is as follows.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;201a:30b8:cd01:0132:2f8a:1f30:1c02:10aa
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;how-to-check-an-ip-address&#34;&gt;How to Check an IP Address&lt;/h2&gt;
&lt;h3 id=&#34;checking-an-ip-address-on-windows&#34;&gt;Checking an IP Address on Windows&lt;/h3&gt;
&lt;p&gt;To check your IP address on Windows, start Command Prompt and use the &lt;code&gt;ipconfig&lt;/code&gt; command.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-cmd&#34; data-lang=&#34;cmd&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;C&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f57900&#34;&gt;\&lt;/span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;&amp;gt;ipconfig&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Windows IP Configuration
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Ethernet adapter vEthernet (Default Switch):
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Connection-specific DNS Suffix  . :
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Link-local IPv6 Address . . . . . : fe80::1a8:2f:14f:e65b&lt;span style=&#34;color:#000&#34;&gt;%4&lt;/span&gt;2
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   IPv4 Address. . . . . . . . . . . : 172.25.32.1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Subnet Mask . . . . . . . . . . . : 255.255.240.0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Default Gateway . . . . . . . . . :
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Wireless LAN adapter Local Area Connection* 9:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Media State . . . . . . . . . . . : Media disconnected
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Connection-specific DNS Suffix  . :
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Wireless LAN adapter Local Area Connection* 10:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Media State . . . . . . . . . . . : Media disconnected
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Connection-specific DNS Suffix  . :
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Wireless LAN adapter Wi-Fi:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Connection-specific DNS Suffix  . :
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Link-local IPv6 Address . . . . . : fe80::6107:be9e:21cc:5dd8&lt;span style=&#34;color:#000&#34;&gt;%1&lt;/span&gt;4
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   IPv4 Address. . . . . . . . . . . : 192.168.0.11 ----------&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;192.168.0.11&amp;#34;&lt;/span&gt; is the IP address.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Subnet Mask . . . . . . . . . . . : 255.255.255.0
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Default Gateway . . . . . . . . . : 192.168.0.1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Ethernet adapter Bluetooth Network Connection:
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Media State . . . . . . . . . . . : Media disconnected
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;   Connection-specific DNS Suffix  . :
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;When connecting to the Internet through a broadband router or similar device, most IP addresses displayed by the &lt;code&gt;ipconfig&lt;/code&gt; command are &amp;ldquo;private IP addresses.&amp;rdquo;&lt;br&gt;
If you are not using a broadband router or similar device, a &amp;ldquo;public IP address&amp;rdquo; is displayed.&lt;/p&gt;
&lt;h3 id=&#34;checking-an-ip-address-on-macos&#34;&gt;Checking an IP Address on macOS&lt;/h3&gt;
&lt;p&gt;On macOS, you can check it with the terminal command &lt;code&gt;ifconfig | grep inet&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-zsh&#34; data-lang=&#34;zsh&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;% ifconfig &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt; grep inet
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet 127.0.0.1 netmask 0xff000000
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 ::1 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;128&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::1%lo0 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::a08e:1eff:fe6e:5cd7%anpi1 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x4
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::a08e:1eff:fe6e:5cd9%anpi3 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x5
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::a08e:1eff:fe6e:5cd8%anpi2 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x6
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::a08e:1eff:fe6e:5cd6%anpi0 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x7
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::bc76:eff:fe35:99b8%ap1 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x10
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255 ----------&amp;gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#34;192.168.0.3&amp;#34;&lt;/span&gt; is the IP address.
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::c4a:ec1f:c825:f3ff%en1 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; secured scopeid 0x11
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::349c:a6ff:fe51:afdd%awdl0 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x14
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::349c:a6ff:fe51:afdd%llw0 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x15
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::9e50:c1a4:1b3c:b91%utun0 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x16
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::1d5b:41a9:12e2:c38e%utun1 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x17
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;	inet6 fe80::ce81:b1c:bd2c:69e%utun2 prefixlen &lt;span style=&#34;color:#0000cf;font-weight:bold&#34;&gt;64&lt;/span&gt; scopeid 0x18
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
      
      <category>Network</category>
      
      <category>IP</category>
      
    </item>
    
  </channel>
</rss>
