<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Routers in a Network]]></title><description><![CDATA[Routers in a Network]]></description><link>https://wirelessnetwork.hashnode.dev</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1593680282896/kNC7E8IR4.png</url><title>Routers in a Network</title><link>https://wirelessnetwork.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Mon, 21 Sep 2026 06:24:39 GMT</lastBuildDate><atom:link href="https://wirelessnetwork.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[I Built a Home NAS From a Dead PC and a Forgotten Router 
(And learnt networking.)]]></title><description><![CDATA[It started with cleaning. An old desktop that hadn't been switched on in years and a spare TP-Link router sitting in a drawer since we upgraded our home internet. Both were headed for the "maybe somed]]></description><link>https://wirelessnetwork.hashnode.dev/i-built-a-home-nas-from-a-dead-pc-and-a-forgotten-router-and-learnt-networking</link><guid isPermaLink="true">https://wirelessnetwork.hashnode.dev/i-built-a-home-nas-from-a-dead-pc-and-a-forgotten-router-and-learnt-networking</guid><category><![CDATA[nas]]></category><category><![CDATA[old-pc]]></category><category><![CDATA[server]]></category><category><![CDATA[wds]]></category><category><![CDATA[tp link]]></category><category><![CDATA[tech ]]></category><category><![CDATA[storage]]></category><category><![CDATA[wifi]]></category><category><![CDATA[router]]></category><category><![CDATA[dhcp]]></category><dc:creator><![CDATA[Ashutosh Bhagat]]></dc:creator><pubDate>Wed, 15 Jul 2026 10:26:04 GMT</pubDate><content:encoded><![CDATA[<p>It started with cleaning. An old desktop that hadn't been switched on in years and a spare TP-Link router sitting in a drawer since we upgraded our home internet. Both were headed for the "maybe someday" corner — the place electronics go to be forgotten.</p>
<p>Instead, I asked a simple question: <strong>can these actually do something?</strong></p>
<p>What followed was a weekend that taught me more about how networks actually work than any course had — mostly because things kept breaking, and I had no choice but to figure out why.</p>
<h3><strong>What you'll take away from this</strong></h3>
<ul>
<li><p>What a NAS is and why it's useful</p>
</li>
<li><p>How WDS wireless bridging works</p>
</li>
<li><p>What DHCP does (and breaks when doubled)</p>
</li>
<li><p>How to build a simple home network setup</p>
</li>
<li><p>Firewall + network profile basics</p>
</li>
<li><p>Why hands-on is better than reading</p>
</li>
</ul>
<h2><strong>The Idea: Turn the Dead PC into a NAS</strong></h2>
<p>My first thought was to turn the router into a Wi-Fi extender. Except I didn't have an Ethernet cable long enough to reach where I needed it. So I shifted focus to the old desktop instead, and landed on a much better idea.</p>
<p><strong>📦 What is a NAS?</strong></p>
<p>A <strong>NAS (Network Attached Storage)</strong> is a device on your home network that stores files and lets every device - laptop, phone, tablet access them over Wi-Fi. Think of it as your own personal Google Drive, sitting in your house instead of someone else's data center. You own the hardware, you own the data.</p>
<p>As someone learning Data Engineering and ML, this was genuinely useful. Datasets, notebooks, and project files were scattered across my laptop and cloud storage. One centralized place reachable from any device? That was exactly the kind of boring-but-useful infrastructure worth building.</p>
<p>Setting up shared storage on the old PC was the easy part — a shared folder, a few permission tweaks, done in under an hour. The <em>hard</em> part was something I hadn't even thought about yet.</p>
<h2><strong>The Problem: No Cable, No Internet</strong></h2>
<p>The old PC was nowhere near my main router. Running a long Ethernet cable across the house wasn't happening. This is where the spare TP-Link, abandoned ten minutes earlier, got a second chance.</p>
<p>Digging through its settings, I found something I'd never touched: <strong>WDS (Wireless Distribution System)</strong></p>
<p><strong>📡 What is WDS?</strong></p>
<p>WDS lets one router connect to another <strong>wirelessly</strong> and act as a bridge, relaying internet from the main router to any device plugged into it, with no cable needed between the two routers. It essentially turns a spare router into a wireless repeater with a LAN port on the other end.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6a41f772a9eae9d3d93aa994/39b9c08a-9bc8-4f28-a126-434d2f97b37a.png" alt="" style="display:block;margin:0 auto" />

<p>The TP-Link was bridged to the main router wirelessly without any issues. The internet should have just flowed straight down to the old PC. It didn't.</p>
<h2><strong>The Real Problem: Two Routers, Two Bosses</strong></h2>
<p>Devices connected through the TP-Link had no internet. No clear error, nothing obviously wrong — just silence where a connection should be.</p>
<p>After an hour of digging, I found the culprit: <strong>both routers were running DHCP at the same time.</strong></p>
<p><strong>🧠 What is DHCP?</strong></p>
<p><strong>DHCP (Dynamic Host Configuration Protocol)</strong> is what hands out IP addresses to devices when they join a network — like a receptionist assigning desk numbers in an office. Every router runs DHCP by default. The problem? When two routers both run DHCP on the same network, they hand out addresses from different ranges, effectively splitting your devices into two separate networks that can't talk to each other.</p>
<h3><strong>What Was Happening</strong></h3>
<ul>
<li><p>Airtel router handing out IPs in one range (e.g., 192.168.1.x)</p>
</li>
<li><p>TP-Link router handing out IPs in a completely different range</p>
</li>
<li><p>Devices on TP-Link couldn't reach the internet — they were on the wrong network segment</p>
</li>
<li><p>Old PC, laptop, and phone couldn't communicate with each other</p>
</li>
</ul>
<h3><strong>The Fix</strong></h3>
<ul>
<li><p>Disabled DHCP on the TP-Link router entirely</p>
</li>
<li><p>Let the Airtel router be the single source of IP assignment for the entire network</p>
</li>
<li><p>All devices immediately landed on the same network segment</p>
</li>
<li><p>Internet started flowing through the wireless bridge — NAS accessible from everywhere</p>
</li>
</ul>
<blockquote>
<p><strong>💡 The Rule</strong></p>
<p>One network, one DHCP server. When bridging routers, always disable DHCP on every secondary router. Your primary router should be the only one handing out IP addresses.</p>
</blockquote>
<h3><strong>The Smaller Gremlins Along the Way</strong></h3>
<p>The DHCP fix got things working, but a few more things needed sorting before everything ran cleanly:</p>
<h4><strong>🛡️ Windows Firewall</strong></h4>
<p>Was silently blocking file-sharing traffic. Had to add rules to allow SMB through the firewall before the NAS was reachable from other devices.</p>
<h4><strong>🌐 Network Profiles</strong></h4>
<p>Windows treats "Public" networks very restrictively — network discovery is disabled by default. Setting the network to "Private" unlocked device visibility instantly.</p>
<h4><strong>🔀 Browser Proxy</strong></h4>
<p>A leftover proxy setting on one device was rerouting traffic incorrectly. Cleared it and that device's connectivity immediately came back.</p>
<h4><strong>🔍 Debugging Method</strong></h4>
<p>Stopped guessing, started diagnosing, checking one layer at a time.</p>
<blockquote>
<p>Physical → network → OS settings → application.</p>
<p>This order saves hours.</p>
</blockquote>
<h3><strong>Up Next — Part 2</strong></h3>
<p>The NAS was step one. Once storage was solid, I wanted more: turn this old PC into a real server running Linux, hosting actual applications, accessible securely from anywhere in the world, not just my home network.</p>
<p>That meant Ubuntu Server, Docker, Nextcloud, PostgreSQL, Redis, and Tailscale. And, as you'd expect by now, a fresh batch of things that broke in ways I genuinely didn't see coming.</p>
]]></content:encoded></item></channel></rss>