{"id":3213,"date":"2019-11-21T13:22:21","date_gmt":"2019-11-21T05:22:21","guid":{"rendered":"http:\/\/people.utm.my\/hazinah\/?p=3213"},"modified":"2019-11-21T13:29:26","modified_gmt":"2019-11-21T05:29:26","slug":"subnetting-tutorial-pt2","status":"publish","type":"post","link":"https:\/\/people.utm.my\/hazinah\/2019\/11\/subnetting-tutorial-pt2\/","title":{"rendered":"Subnetting tutorial pt2"},"content":{"rendered":"<p>This is a tutorial to help you with understanding and finally doing IP subnetting successfully. This is part 2. <em>*For the sake of simplicity, explanations will focus on IPv4.<\/em><\/p>\n<p><strong><span style=\"color: #ff6600\">Anatomy of an IP address<\/span><\/strong><\/p>\n<p><a href=\"https:\/\/people.utm.my\/hazinah\/2019\/11\/subnetting-tutorial-pt2\/subnetting2\/\" rel=\"attachment wp-att-3214\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-3214\" src=\"https:\/\/people.utm.my\/hazinah\/wp-content\/uploads\/sites\/709\/2019\/11\/subnetting2-1024x682.png\" alt=\"\" width=\"600\" height=\"400\" \/><\/a><\/p>\n<p>IPv4 addresses is made of 32 bits divided into 4 octets (each octet s 8 bits).<\/p>\n<p>An IP address can be divided into 2 portions: <em><strong>the network portion and the host portion<\/strong><\/em>. The network portion determines the bits within the IP address that belongs to the network (or subnetwork), while the host portion are the hosts within the subnet.<\/p>\n<p>Network portion is identified by the subnet mask. In the example given, the subnet mask is given (\/24) and 24 bits are the network portion.<\/p>\n<p>The host portion is 8 bits &#8211; this means that the subnet can give and IP address and have up to ((2^8)-2) = 254 different devices within the subnet.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/people.utm.my\/hazinah\/2019\/11\/subnetting-tutorial-pt2\/subnetting3\/\" rel=\"attachment wp-att-3217\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-3217 alignright\" src=\"https:\/\/people.utm.my\/hazinah\/wp-content\/uploads\/sites\/709\/2019\/11\/subnetting3-1024x682.png\" alt=\"\" width=\"550\" height=\"367\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>In this next example, 172.16.1.0\/16, you see that the network portion is smaller (16 bits) while the host portion is bigger (16 bits). In this particular subnet, it can hold up to ((2^16)-2) = 65534 different devices.<\/p>\n<p>So, the bigger the host portion, the more unique addresses it has and the more different devices it can have.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Given these IP addresses, can you identify the network portion and the host portion? Give it a try.<\/p>\n<ol style=\"list-style-type: upper-alpha\">\n<li>172.16.16.0\/16<\/li>\n<li>172.16.16.0\/24<\/li>\n<li>172.16.16.0\/20<\/li>\n<\/ol>\n<p>Answers are <a href=\"https:\/\/people.utm.my\/hazinah\/2019\/11\/tutorial-pt2-answers\/\">here<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Previous : <a href=\"https:\/\/people.utm.my\/hazinah\/2019\/11\/subnetting-tutorial-pt1\/\">Subnetting tutorial pt1<\/a><\/p>\n<p>Next<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a tutorial to help you with understanding and finally doing IP subnetting successfully. This is part 2. *For the sake of simplicity, explanations will focus on IPv4. Anatomy of an IP address IPv4 addresses is made of 32 bits divided into 4 octets (each octet s 8 bits). An IP address can be [&hellip;]<\/p>\n","protected":false},"author":619,"featured_media":3217,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[144,158,117,5,19],"tags":[161,160,159],"class_list":["post-3213","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-network","category-learntogether","category-network-communication","category-teaching","category-web-sharing","tag-ip-address","tag-subnet","tag-subnetting"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/posts\/3213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/users\/619"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/comments?post=3213"}],"version-history":[{"count":6,"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/posts\/3213\/revisions"}],"predecessor-version":[{"id":3225,"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/posts\/3213\/revisions\/3225"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/media\/3217"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/media?parent=3213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/categories?post=3213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/hazinah\/wp-json\/wp\/v2\/tags?post=3213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}