[{"data":1,"prerenderedAt":178},["ShallowReactive",2],{"term-s\u002Fsubnet":3,"related-s\u002Fsubnet":158},{"id":4,"title":5,"acronym":6,"body":7,"category":139,"description":140,"difficulty":141,"extension":142,"letter":143,"meta":144,"navigation":79,"path":145,"related":146,"seo":152,"sitemap":153,"stem":156,"subcategory":6,"__hash__":157},"terms\u002Fterms\u002Fs\u002Fsubnet.md","Subnet",null,{"type":8,"value":9,"toc":133},"minimark",[10,15,19,23,26,30,122,126,129],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A subnet is a smaller chunk of a larger network, like dividing a city into neighborhoods. All devices in a subnet can talk to each other directly. To talk to devices in a different subnet, you need to go through a router. It helps organize large networks and improves security.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A subnet (subnetwork) is a logical subdivision of an IP network. Subnetting divides a network into smaller segments by borrowing bits from the host portion of the address. Defined by a network address and a subnet mask (e.g., 192.168.1.0\u002F24). Reduces broadcast traffic and improves security.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Common subnet examples\n192.168.1.0\u002F24\n# \u002F24 = 255.255.255.0 mask\n# 256 addresses (254 usable hosts)\n# Range: 192.168.1.1 - 192.168.1.254\n\n10.0.0.0\u002F16\n# \u002F16 = 255.255.0.0 mask\n# 65,536 addresses (65,534 usable)\n\n# Cloud VPC subnets:\n# Public subnet:  10.0.1.0\u002F24 (has internet gateway)\n# Private subnet: 10.0.2.0\u002F24 (no direct internet access)\n","bash","",[38,39,40,49,56,62,68,74,81,87,93,99,104,110,116],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Common subnet examples\n",[41,50,52],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","192.168.1.0\u002F24\n",[41,57,59],{"class":43,"line":58},3,[41,60,61],{"class":47},"# \u002F24 = 255.255.255.0 mask\n",[41,63,65],{"class":43,"line":64},4,[41,66,67],{"class":47},"# 256 addresses (254 usable hosts)\n",[41,69,71],{"class":43,"line":70},5,[41,72,73],{"class":47},"# Range: 192.168.1.1 - 192.168.1.254\n",[41,75,77],{"class":43,"line":76},6,[41,78,80],{"emptyLinePlaceholder":79},true,"\n",[41,82,84],{"class":43,"line":83},7,[41,85,86],{"class":54},"10.0.0.0\u002F16\n",[41,88,90],{"class":43,"line":89},8,[41,91,92],{"class":47},"# \u002F16 = 255.255.0.0 mask\n",[41,94,96],{"class":43,"line":95},9,[41,97,98],{"class":47},"# 65,536 addresses (65,534 usable)\n",[41,100,102],{"class":43,"line":101},10,[41,103,80],{"emptyLinePlaceholder":79},[41,105,107],{"class":43,"line":106},11,[41,108,109],{"class":47},"# Cloud VPC subnets:\n",[41,111,113],{"class":43,"line":112},12,[41,114,115],{"class":47},"# Public subnet:  10.0.1.0\u002F24 (has internet gateway)\n",[41,117,119],{"class":43,"line":118},13,[41,120,121],{"class":47},"# Private subnet: 10.0.2.0\u002F24 (no direct internet access)\n",[11,123,125],{"id":124},"when-youll-hear-this","When You'll Hear This",[16,127,128],{},"\"Put the database servers in a private subnet with no internet access.\" \u002F \"How many hosts can fit in a \u002F26 subnet?\"",[130,131,132],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":134},[135,136,137,138],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":124,"depth":51,"text":125},"networking","A subnet is a smaller chunk of a larger network, like dividing a city into neighborhoods. All devices in a subnet can talk to each other directly.","intermediate","md","s",{},"\u002Fterms\u002Fs\u002Fsubnet",[147,148,149,150,151],"CIDR","IP Address","NAT","DHCP","Firewall",{"title":5,"description":140},{"changefreq":154,"priority":155},"weekly",0.7,"terms\u002Fs\u002Fsubnet","fqr-f3m_VzJHS19q8qWi_tY3e3PKKRoxFLsU07PpDjc",[159,163,168,171,174],{"title":147,"path":160,"acronym":161,"category":139,"difficulty":141,"description":162},"\u002Fterms\u002Fc\u002Fcidr","Classless Inter-Domain Routing","CIDR is the shorthand notation for specifying IP address ranges. '192.168.1.",{"title":150,"path":164,"acronym":165,"category":139,"difficulty":166,"description":167},"\u002Fterms\u002Fd\u002Fdhcp","Dynamic Host Configuration Protocol","beginner","DHCP is the system that automatically assigns IP addresses to devices when they join a network.",{"title":151,"path":169,"acronym":6,"category":139,"difficulty":166,"description":170},"\u002Fterms\u002Ff\u002Ffirewall","A firewall is the bouncer at your network's door. It checks every incoming and outgoing connection against a list of rules and blocks anything suspicious.",{"title":148,"path":172,"acronym":6,"category":139,"difficulty":166,"description":173},"\u002Fterms\u002Fi\u002Fip-address","An IP address is your device's home address on the internet.",{"title":149,"path":175,"acronym":176,"category":139,"difficulty":141,"description":177},"\u002Fterms\u002Fn\u002Fnat","Network Address Translation","NAT is how your home router lets all your devices share one public IP address. Your phone, laptop, and TV each get a private IP (192.168.x.",1776518316194]