

{"id":105663,"date":"2022-01-18T09:00:43","date_gmt":"2022-01-18T03:30:43","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=105663"},"modified":"2022-01-18T10:19:47","modified_gmt":"2022-01-18T04:49:47","slug":"mac-address","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/mac-address\/","title":{"rendered":"MAC Address"},"content":{"rendered":"<h3>What is a MAC Address?<\/h3>\n<p>1. The physical address that uniquely identifies each device on a network is known as the MAC address. We need two addresses to communicate between two networked devices: an IP address and a MAC address. It&#8217;s assigned to each device&#8217;s NIC (Network Interface Card) that can connect to the internet.<\/p>\n<p>2. Media Access Control, also known as Physical Address, Hardware Address, or BIA, is an acronym for Media Access Control (Burned In Address).<\/p>\n<p>3. It has a globally unique MAC address, which means that no two devices can have the same MAC address. Each device displays it in hexadecimal format.<\/p>\n<p>4. It&#8217;s 12-digits long and 48 bits long, with the first 24 bits used for OUI (Organization Unique Identifier) and the remaining 24 bits for NIC\/vendor-specific information.<\/p>\n<p>5. It operates at the OSI model&#8217;s data link layer.<\/p>\n<p>6. It is supplied by the device&#8217;s manufacturer at the time of manufacture and is embedded in the device&#8217;s NIC, which should not be changed.<\/p>\n<p>7. A logical address is associated with a physical or MAC address using the ARP protocol.<\/p>\n<h3>Why do we have both IP and MAC addresses?<\/h3>\n<p>Every mac address is assigned to a hardware device&#8217;s NIC, which aids in network device identification.<\/p>\n<p>The request to load a page on the internet is responded to and sent to our IP address.<\/p>\n<p>The internet protocol suite operates on different layers for MAC and IP addresses. The MAC address is used at layer 2 to help identify devices that are part of the same broadcast network (such as the router). IP addresses, on the other hand, are used at layer 3 to help identify devices on different networks.<\/p>\n<p>Although we have the IP address to identify the device across networks, we still require a MAC address to locate devices on the same network.<\/p>\n<h3>Why are MAC Addresses on a LAN unique?<\/h3>\n<p>A LAN network will not function if two or more devices have the same MAC address.<\/p>\n<p>Assume that a switch connects three devices A, B, and C to a network. 11:00:0A:BB:28:FC, 00:00:0A:BB:28:FC, and 00:00:0A:BB:28:FC are the MAC addresses of these devices, respectively. The MAC address of devices B and C&#8217;s NICs is the same. If device A sends a data frame to the address 00:00:0A:BB:28:FC, the switch will fail to deliver it to the intended destination because the data frame has two recipients.<\/p>\n<h3>MAC Address Format:<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/mac-address-format.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-106019\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/mac-address-format.webp\" alt=\"mac address format\" width=\"882\" height=\"725\" \/><\/a><\/p>\n<p>It&#8217;s a 12-digit or 6-byte hexadecimal number that&#8217;s written in colon-hexadecimal notation. It is divided into six octets, each of which has eight bits.<\/p>\n<p>The OUI, or Organisationally Unique Identifier, is made up of the first three octets. The IEEE Registration Authority Committee assigns these MAC prefixes to each organisation or vendor.<\/p>\n<h3>Types of MAC Addresses:<\/h3>\n<h4>1. Unicast MAC Address:<\/h4>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/unicast-mac-address.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-106021\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/unicast-mac-address.webp\" alt=\"unicast mac address\" width=\"1200\" height=\"402\" \/><\/a><\/p>\n<p>The Unicast MAC address identifies the network&#8217;s specific NIC. A Unicast MAC address frame is only sent out to the interface that is assigned to a single NIC and is thus sent to a single destination device. The frame is intended to reach only one destination NIC if the LSB (least significant bit) of the first octet of an address is set to zero.<\/p>\n<h4>2. Multicast MAC Address:<\/h4>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/multicast-mac-address.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-106022\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/multicast-mac-address.webp\" alt=\"multicast mac address\" width=\"1200\" height=\"402\" \/><\/a><\/p>\n<p>The source device can send a data frame to multiple devices or NICs using multicast addresses. The LSB (least significant bit) or the first three bytes of the first octet of an address in a Layer-2 (Ethernet) Multicast address is set to one and reserved for multicast addresses. The device that wants to send the data in a group uses the remaining 24 bits. The prefix 01-00-5E is always present in the multicast address.<\/p>\n<h4>3. Broadcast MAC Address:<\/h4>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/broadcast-mac-address.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-106023\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/broadcast-mac-address.webp\" alt=\"broadcast mac address\" width=\"1200\" height=\"402\" \/><\/a><\/p>\n<p>It is a representation of all devices in a network. Ethernet frames with ones in all bits of the destination address (FF-FF-FF-FF-FF-FF) are called broadcast addresses. The reserved addresses for the broadcast are all of these bits. Frames with the MAC address FF-FF-FF-FF-FF-FF reach every device on a particular LAN segment. As a result, if a source device wants to send data to all devices on a network, the broadcast address can be used as the destination MAC address.<\/p>\n<h3>Finding the MAC Address of a Windows device:<\/h3>\n<p>To find the MAC Address of a Windows device, we simply open up the command prompt, and type in the command \u201cipconfig\u201d.<\/p>\n<h3>MAC Address Cloning:<\/h3>\n<p>MAC cloning is a method of resolving a device&#8217;s ISP connectivity issues. We must set the MAC address of a device&#8217;s WAN port to be the same as the MAC address of your PC or another device in this method.<\/p>\n<p>The issue of connectivity arises primarily when we add new MAC addresses to a network, and it can be resolved using MAC cloning.<\/p>\n<p>When installing a service, some ISPs, for example, use the MAC address of your device. The ISP will not recognise the MAC address from the device&#8217;s WAN port if we place a router behind the cable modem or DSL modem. In this case, you can either call your ISP provider to register your device&#8217;s MAC address, or you can clone the WAN port&#8217;s MAC address to match the computer&#8217;s MAC address.<\/p>\n<h3>Difference between MAC address and IP address:<\/h3>\n<table>\n<tbody>\n<tr>\n<td>\n<p style=\"text-align: center;\"><b>MAC Address<\/b><\/p>\n<\/td>\n<td>\n<p style=\"text-align: center;\"><b>IP Address<\/b><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">MAC is short for Media Access Control.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">IP is short for Internet Protocol.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">It&#8217;s the manufacturer&#8217;s one-of-a-kind address.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">It is the logical address assigned by the Internet Service Provider (ISP).<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">To identify a device within a network, the physical address of the device&#8217;s NIC is used.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">On the internet, it&#8217;s the logical address that identifies a network or device.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">The data link layer is where it works.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">It works at the network layer.<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">It is a hexadecimal address of 6 bytes.<\/span><\/td>\n<td><span style=\"font-weight: 400;\">IPv4 addresses are 4 bytes long, while IPv6 addresses are 8 bytes long.<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Summary:<\/h3>\n<p>In this article, we explore the concept of MAC Addresses extensively, and we also look at the different types of MAC Address that are currently used. Lastly, we also looked at a direct comparison between MAC Addresses and IP Addresses.e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is a MAC Address? 1. The physical address that uniquely identifies each device on a network is known as the MAC address. We need two addresses to communicate between two networked devices: an&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":106018,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24974],"tags":[26214,26217,26215,26218,26216],"class_list":["post-105663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-network","tag-mac-address","tag-mac-address-cloning","tag-mac-address-format","tag-mac-address-vs-ip-address","tag-types-of-mac-address"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MAC Address - DataFlair<\/title>\n<meta name=\"description\" content=\"Learn about MAC Address. See its need, format, various types, cloning and difference between MAC Address and IP Address.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/mac-address\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MAC Address - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Learn about MAC Address. See its need, format, various types, cloning and difference between MAC Address and IP Address.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/mac-address\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-18T03:30:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-18T04:49:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/mac-address.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MAC Address - DataFlair","description":"Learn about MAC Address. See its need, format, various types, cloning and difference between MAC Address and IP Address.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/mac-address\/","og_locale":"en_US","og_type":"article","og_title":"MAC Address - DataFlair","og_description":"Learn about MAC Address. See its need, format, various types, cloning and difference between MAC Address and IP Address.","og_url":"https:\/\/data-flair.training\/blogs\/mac-address\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2022-01-18T03:30:43+00:00","article_modified_time":"2022-01-18T04:49:47+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/mac-address.webp","type":"image\/webp"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/mac-address\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/mac-address\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"MAC Address","datePublished":"2022-01-18T03:30:43+00:00","dateModified":"2022-01-18T04:49:47+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/mac-address\/"},"wordCount":1014,"commentCount":3,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/mac-address\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/mac-address.webp","keywords":["MAC Address","MAC Address cloning","MAC Address format","MAC Address vs IP Address","Types of MAC Address"],"articleSection":["computer network tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/mac-address\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/mac-address\/","url":"https:\/\/data-flair.training\/blogs\/mac-address\/","name":"MAC Address - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/mac-address\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/mac-address\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/mac-address.webp","datePublished":"2022-01-18T03:30:43+00:00","dateModified":"2022-01-18T04:49:47+00:00","description":"Learn about MAC Address. See its need, format, various types, cloning and difference between MAC Address and IP Address.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/mac-address\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/mac-address\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/mac-address\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/mac-address.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2022\/01\/mac-address.webp","width":1200,"height":628,"caption":"mac address"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/mac-address\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"computer network tutorial","item":"https:\/\/data-flair.training\/blogs\/category\/computer-network\/"},{"@type":"ListItem","position":3,"name":"MAC Address"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/105663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=105663"}],"version-history":[{"count":2,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/105663\/revisions"}],"predecessor-version":[{"id":106024,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/105663\/revisions\/106024"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/106018"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=105663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=105663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=105663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}