<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>computer-networking on Siddharth Arumugam - Blog</title><link>https://mrnight-blog.netlify.app/tags/computer-networking/</link><description>Recent content in computer-networking on Siddharth Arumugam - Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Sat, 16 Jul 2022 11:30:00 +0530</lastBuildDate><atom:link href="https://mrnight-blog.netlify.app/tags/computer-networking/index.xml" rel="self" type="application/rss+xml"/><item><title>MAC Addresses</title><link>https://mrnight-blog.netlify.app/posts/networking/mac-address/</link><pubDate>Sat, 16 Jul 2022 11:30:00 +0530</pubDate><guid>https://mrnight-blog.netlify.app/posts/networking/mac-address/</guid><description>What is a MAC Address? A media access control (MAC) address is a unique identification number assigned to every network interface controller (NIC).
MAC addresses are assigned by the device manufacturer and are burned-in to the NIC.
MAC Addresses are also called
Burned-in address: as the address is burned into the Read-only Memory (ROM) of the NIC, Physical address: The MAC address is the unique hardware address of every NIC, Hardware address Ethernet hardware address Structure of MAC Address A MAC address is a 48-bit address.</description><content>&lt;h2 id="what-is-a-mac-address">What is a MAC Address?&lt;/h2>
&lt;p>A media access control (MAC) address is a unique identification number assigned to every network interface controller (NIC).&lt;/p>
&lt;p>MAC addresses are assigned by the device manufacturer and are burned-in to the NIC.&lt;/p>
&lt;p>MAC Addresses are also called&lt;/p>
&lt;ul>
&lt;li>&lt;em>Burned-in address&lt;/em>: as the address is burned into the Read-only Memory (ROM) of the NIC,&lt;/li>
&lt;li>&lt;em>Physical address&lt;/em>: The MAC address is the unique hardware address of every NIC,&lt;/li>
&lt;li>&lt;em>Hardware address&lt;/em>&lt;/li>
&lt;li>&lt;em>Ethernet hardware address&lt;/em>&lt;/li>
&lt;/ul>
&lt;h2 id="structure-of-mac-address">Structure of MAC Address&lt;/h2>
&lt;p>A MAC address is a 48-bit address. It has 6 groups of 2 hexadecimal digits.&lt;/p>
&lt;p>&lt;img src="https://cdn.jsdelivr.net/gh/0xMrNight/blog-images@master/2022/07/mac-addresses/mac-address.webp" alt="MAC Address format">&lt;/p>
&lt;p>The 6 octets are separated by colons (:), hyphens (-), or left without a separator.&lt;/p>
&lt;h4 id="organizationally-unique-identifier">Organizationally Unique Identifier&lt;/h4>
&lt;p>The first 3 octets of a MAC address represent the manufacturer of the NIC.&lt;/p>
&lt;p>The OUI are assigned by the IEEE Registration Authority.&lt;/p>
&lt;p>For example,&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>OUI&lt;/th>
&lt;th>Organization&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>AC:ED:5C&lt;/td>
&lt;td>Intel Corporate&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>CC:46:D6&lt;/td>
&lt;td>Cisco Systems, Inc&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>F8:8F:CA&lt;/td>
&lt;td>Google, Inc.&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>C4:2A:D0&lt;/td>
&lt;td>Apple, Inc.&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;blockquote>
&lt;p>Manufacturers usually have multiple OUIs. The full list of OUIs is &lt;a href="https://standards-oui.ieee.org/oui/oui.txt">here&lt;/a>.&lt;/p>
&lt;/blockquote>
&lt;p>Some virtualisation softwares have their own OUIs, such as VMware (&lt;code>00:50:56&lt;/code>), QEMU (&lt;code>52:54:00&lt;/code>), etc.&lt;/p>
&lt;h4 id="network-interface-controller">Network Interface Controller&lt;/h4>
&lt;p>The NIC is the hardware component that connects a device to the network, such an adapter or card.&lt;/p>
&lt;p>The last 3 octets of the MAC address identify the NIC.&lt;/p></content></item><item><title>IP Addresses</title><link>https://mrnight-blog.netlify.app/posts/networking/ip-address/</link><pubDate>Thu, 30 Jun 2022 20:00:00 +0530</pubDate><guid>https://mrnight-blog.netlify.app/posts/networking/ip-address/</guid><description>Internet Protocol The Internet Protocol (IP) is the protocol by which data is sent across the Internet.
What is an IP address? An IP address is a unique string of numbers assigned to every device connected to the Internet.
Types of IP addresses Dynamic IP Dynamic IP addresses are temporary addresses that change from time to time.
They are assigned to devices on a network by the Dynamic Host Configuration Protocol (DHCP).</description><content>&lt;h2 id="internet-protocol">Internet Protocol&lt;/h2>
&lt;p>The Internet Protocol (IP) is the protocol by which data is sent across the Internet.&lt;/p>
&lt;h2 id="what-is-an-ip-address">What is an IP address?&lt;/h2>
&lt;p>An IP address is a unique string of numbers assigned to every device connected to the Internet.&lt;/p>
&lt;h2 id="types-of-ip-addresses">Types of IP addresses&lt;/h2>
&lt;h4 id="dynamic-ip">Dynamic IP&lt;/h4>
&lt;p>Dynamic IP addresses are temporary addresses that change from time to time.&lt;/p>
&lt;p>They are assigned to devices on a network by the Dynamic Host Configuration Protocol (DHCP).&lt;/p>
&lt;h4 id="static-ip">Static IP&lt;/h4>
&lt;p>Static IP addresses are permanent addresses that do not change until the device is decommissioned.&lt;/p>
&lt;h4 id="public-ip">Public IP&lt;/h4>
&lt;p>Public (or) external IP addresses can be accessed directly over the Internet and are used for external communications.&lt;/p>
&lt;p>Public IP addresses are assigned to a router or network by the Internet Service Provider (ISP).&lt;/p>
&lt;h4 id="private-ip">Private IP&lt;/h4>
&lt;p>Private (or) internal (or) local IP addresses are assigned to all devices connected to a network. They are the same for any network.&lt;/p>
&lt;p>&lt;strong>Ranges&lt;/strong>:&lt;/p>
&lt;ul>
&lt;li>Class A: &lt;code>10.0.0.0&lt;/code> to &lt;code>10.255.255.255&lt;/code>&lt;/li>
&lt;li>Class B: &lt;code>172.16.0.0&lt;/code> to &lt;code>172.31.255.255&lt;/code>&lt;/li>
&lt;li>Class C: &lt;code>192.168.0.0&lt;/code> to &lt;code>192.168.255.255&lt;/code>&lt;/li>
&lt;/ul>
&lt;p>&lt;em>Note: These are &lt;a href="#ipv4">IPv4&lt;/a> addresses (more on that later)&lt;/em>&lt;/p>
&lt;h4 id="shared-ip">Shared IP&lt;/h4>
&lt;p>A shared IP address is used by multiple domains or websites.&lt;/p>
&lt;h4 id="dedicated-ip">Dedicated IP&lt;/h4>
&lt;p>A dedicated IP address is an address allotted exclusively to one website.&lt;/p>
&lt;h4 id="loopback-ip">Loopback IP&lt;/h4>
&lt;p>Data sent to a loopback address are looped and sent back to the device.&lt;/p>
&lt;p>They are managed entirely within the operating system (the data never reaches the network).&lt;/p>
&lt;p>&lt;strong>Range&lt;/strong>: &lt;code>127.0.0.0&lt;/code> to &lt;code>127.255.255.255&lt;/code> (IPv4)&lt;/p>
&lt;p>The most common loopback address is &lt;em>localhost&lt;/em> (IPv4: &lt;code>127.0.0.1&lt;/code>, IPv6: &lt;code>::1&lt;/code>).&lt;/p>
&lt;h2 id="versions-of-ip">Versions of IP&lt;/h2>
&lt;p>Currently, there are two version of IP publicly used - IPv4 and IPv6.&lt;/p>
&lt;h4 id="ipv4">IPv4&lt;/h4>
&lt;p>Internet Protocol version 4 (IPv4) is the first public version of the IP.&lt;/p>
&lt;p>IPv4 is a 32-bit address. It has 4 octets.&lt;/p>
&lt;p>&lt;img src="https://cdn.jsdelivr.net/gh/0xMrNight/blog-images@master/2022/06/ip-addresses/ipv4-format.webp" alt="IPv4 format">&lt;/p>
&lt;blockquote>
&lt;p>In November 2019, we ran out of &lt;em>unallocated&lt;/em> IPv4 addresses. However, IPv4 addresses continue to be in use and will most likely coexist with IPv6 for many years.&lt;/p>
&lt;/blockquote>
&lt;h4 id="ipv6">IPv6&lt;/h4>
&lt;p>Internet Protocol version 6 (IPv6) is the second public version of the IP, intended to become a successor to IPv4.&lt;/p>
&lt;p>IPv6 is a 128-bit address. It has 16 octets. Each octet ranges from 0000 to FFFF (hexadecimal values).&lt;/p></content></item></channel></rss>