<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Building your own Router with a Raspberry Pi	</title>
	<atom:link href="https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/</link>
	<description>Any sufficiently advanced technology is indistinguishable from magic.</description>
	<lastBuildDate>Fri, 17 Sep 2021 09:19:36 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.1</generator>
	<item>
		<title>
		By: Shaun		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1910</link>

		<dc:creator><![CDATA[Shaun]]></dc:creator>
		<pubDate>Fri, 17 Sep 2021 09:19:36 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1910</guid>

					<description><![CDATA[Hi Zane. Could you assist please?
Setting up the router I make progress all the way to getting the RPi to connect to the internet via my ONT/fibre (i.e. I am able to ping google.com). Also, if I plug my laptop into the LAN port, it gets the IP assigned to it in dhcpd.conf. If I look at the status on my laptop under network adaptors, it sees reflects the correct router name, DNS settings, gateway, IP etc. However, I cannot ping the RPi 192.168.0.1 and I also cannot ping the laptop from the RPi?
The steps I followed were:
Rename eth0 &#038; eth1 to lan &#038; wan
Bridged lan &#038; wan interfaces
Create lan &#038; wan files with wan left to dhcp, lan set to 192.168.0.1
Installed isc-dhcp-server and disabled dhcpcd (after I first installing pppoeconf)
Made INTERFACESv4=&quot;lan&quot;
Edited dhcpd.conf for the domain name &#038; domain name servers and adding the subnet and ranges
Assigned a static IP to the host router (192.168.0.1) &#038; host laptop (192.168.0.20)
Configured pppoeconf to &quot;see&quot; the internet through the ONT.
Connected my laptop and the RPi through the LAN port
After a reboot, I got to the point first mentioned where everything gets assigned the correct IP&#039;s etc. I just can&#039;t see the RPi from the laptop, and vise-versa.]]></description>
			<content:encoded><![CDATA[<p>Hi Zane. Could you assist please?<br />
Setting up the router I make progress all the way to getting the RPi to connect to the internet via my ONT/fibre (i.e. I am able to ping google.com). Also, if I plug my laptop into the LAN port, it gets the IP assigned to it in dhcpd.conf. If I look at the status on my laptop under network adaptors, it sees reflects the correct router name, DNS settings, gateway, IP etc. However, I cannot ping the RPi 192.168.0.1 and I also cannot ping the laptop from the RPi?<br />
The steps I followed were:<br />
Rename eth0 &amp; eth1 to lan &amp; wan<br />
Bridged lan &amp; wan interfaces<br />
Create lan &amp; wan files with wan left to dhcp, lan set to 192.168.0.1<br />
Installed isc-dhcp-server and disabled dhcpcd (after I first installing pppoeconf)<br />
Made INTERFACESv4=&#8221;lan&#8221;<br />
Edited dhcpd.conf for the domain name &amp; domain name servers and adding the subnet and ranges<br />
Assigned a static IP to the host router (192.168.0.1) &amp; host laptop (192.168.0.20)<br />
Configured pppoeconf to &#8220;see&#8221; the internet through the ONT.<br />
Connected my laptop and the RPi through the LAN port<br />
After a reboot, I got to the point first mentioned where everything gets assigned the correct IP&#8217;s etc. I just can&#8217;t see the RPi from the laptop, and vise-versa.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shaun		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1900</link>

		<dc:creator><![CDATA[Shaun]]></dc:creator>
		<pubDate>Mon, 13 Sep 2021 06:34:10 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1900</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1897&quot;&gt;Shaun&lt;/a&gt;.

So I have managed to make progress, and I&#039;m just updating hoping that others might benefit if they are a noob on Linux like I am.
So the error above wasn&#039;t the full error, I had to run the command &quot;journalctl -xe&quot; and then I saw that it was not finding subnets set up. This comes in the next step. So after rebooting again, I then proceeded to set up the subnets and ranges, and then the error seemed to go away. At this point I then went to the link provided by Zane https://wiki.debian.org/BridgeNetworkConnections to set up the bridge between the lan &#038; wan connectors. I&#039;m not quite sure yet how much on that page relates to what I need, but I&#039;m working through it. What I did find, is that when I connected my laptop to the lan port, it got the IP .100 so that is good news, although at this point it didn&#039;t yet have internet access. Progress]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1897" data-wpel-link="internal" rel="internal follow noopener" class="internal">Shaun</a>.</p>
<p>So I have managed to make progress, and I&#8217;m just updating hoping that others might benefit if they are a noob on Linux like I am.<br />
So the error above wasn&#8217;t the full error, I had to run the command &#8220;journalctl -xe&#8221; and then I saw that it was not finding subnets set up. This comes in the next step. So after rebooting again, I then proceeded to set up the subnets and ranges, and then the error seemed to go away. At this point I then went to the link provided by Zane <a href="https://wiki.debian.org/BridgeNetworkConnections" rel="ugc follow noopener noreferrer" data-wpel-link="exclude" class="excluded-link">[link to wiki.debian.org]</a> to set up the bridge between the lan &amp; wan connectors. I&#8217;m not quite sure yet how much on that page relates to what I need, but I&#8217;m working through it. What I did find, is that when I connected my laptop to the lan port, it got the IP .100 so that is good news, although at this point it didn&#8217;t yet have internet access. Progress</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shaun		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1897</link>

		<dc:creator><![CDATA[Shaun]]></dc:creator>
		<pubDate>Sat, 11 Sep 2021 16:55:18 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1897</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1896&quot;&gt;(zane) / Technically Wizardry&lt;/a&gt;.

Thanks for responding.
In the process of setting up the RPi as a router, I get to the following 2 commands:
sudo systemctl disable dhcpcd
sudo apt install isc-dhcp-server
The first runs fine, but the install command brings up an error right after the line where it says generating the /etc/default/isc-dhcp-server... (hope I type it out correctly)
Job for isc-dhcp-server.service failed because the control process exited with error code.
See &quot;systemctl status isc-dhcp-server.service&quot; and journalctl -xe&quot; for details
invoke-rc.d: initscript isc-dhcp-server, action &quot;start&quot; failed.
isc-dhcp-server.service - LSB: DHCP server


And then further down it has one of the lines as:
....date and time...raspberrypi isc-dhcp-server[1076]: Starting ISC DHCPv4 server: dhcpdccheck syslog for diagnostics...failed!

So has it failed because dhcpdc has been removed and so no syslog exists?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1896" data-wpel-link="internal" rel="internal follow noopener" class="internal">(zane) / Technically Wizardry</a>.</p>
<p>Thanks for responding.<br />
In the process of setting up the RPi as a router, I get to the following 2 commands:<br />
sudo systemctl disable dhcpcd<br />
sudo apt install isc-dhcp-server<br />
The first runs fine, but the install command brings up an error right after the line where it says generating the /etc/default/isc-dhcp-server&#8230; (hope I type it out correctly)<br />
Job for isc-dhcp-server.service failed because the control process exited with error code.<br />
See &#8220;systemctl status isc-dhcp-server.service&#8221; and journalctl -xe&#8221; for details<br />
invoke-rc.d: initscript isc-dhcp-server, action &#8220;start&#8221; failed.<br />
isc-dhcp-server.service &#8211; LSB: DHCP server</p>
<p>And then further down it has one of the lines as:<br />
&#8230;.date and time&#8230;raspberrypi isc-dhcp-server[1076]: Starting ISC DHCPv4 server: dhcpdccheck syslog for diagnostics&#8230;failed!</p>
<p>So has it failed because dhcpdc has been removed and so no syslog exists?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: (zane) / Technically Wizardry		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1896</link>

		<dc:creator><![CDATA[(zane) / Technically Wizardry]]></dc:creator>
		<pubDate>Sat, 11 Sep 2021 14:56:10 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1896</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1895&quot;&gt;Shaun&lt;/a&gt;.

Yes, using the RPi as a router (by definition) means that it is the DHCP server assigning the IP addresses to the devices in the network. Yes, you must bridge the traffic between the two eth interfaces on the RPi such that the internet connection (WAN) becomes available to the LAN. If that&#039;s where you&#039;re stuck, the &lt;a href=&quot;https://wiki.debian.org/BridgeNetworkConnections&quot; rel=&quot;nofollow ugc&quot;&gt;Debian Wiki&lt;/a&gt; has good information about bridging network connections.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1895" data-wpel-link="internal" rel="internal follow noopener" class="internal">Shaun</a>.</p>
<p>Yes, using the RPi as a router (by definition) means that it is the DHCP server assigning the IP addresses to the devices in the network. Yes, you must bridge the traffic between the two eth interfaces on the RPi such that the internet connection (WAN) becomes available to the LAN. If that&#8217;s where you&#8217;re stuck, the <a href="https://wiki.debian.org/BridgeNetworkConnections" rel="ugc follow noopener noreferrer" data-wpel-link="exclude" class="excluded-link">Debian Wiki</a> has good information about bridging network connections.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Shaun		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1895</link>

		<dc:creator><![CDATA[Shaun]]></dc:creator>
		<pubDate>Sat, 11 Sep 2021 14:17:39 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1895</guid>

					<description><![CDATA[Hi Zane
So I came across your article on setting up a network monitoring RPi. However, different to everyone else who finds the instructions easy to follow, I am having a few issues! Sorry!
Are their separate guides to follow, or are the different links to webpages the different guides mentioned that people are following?

My intended setup is this - I plug my RPi directly into the ONT so that I can monitor all traffic. Because I also want to monitor different devices connected to the network, the RPi will act as the DHCP server (correct?).  So my first link to follow will be &quot;Building your own router with a Raspberry Pi&quot; using the RPi OS Lite.
The existing WiFi router that I have will be set to pass-through (bridge) mode. Is this so that devices can still connect wirelessly to the network, but their assigned IP&#039;s will be assigned from the RPi which is connected to the WiFi router&#039;s WAN port?
Then in your other article, the network monitoring one, you talk about setting up the eth1  eth0 connection. I don&#039;t understand the syntax. Do you mean setting up allowing traffic from outside (ONT) connected to eth1 to flow through the RPi to be monitored and then out eth0?
Just to mention, I have got to the point where I managed to run the pppoeconf and it connected to the internet.
I have a few more questions but I will hold off until I get this part correct.]]></description>
			<content:encoded><![CDATA[<p>Hi Zane<br />
So I came across your article on setting up a network monitoring RPi. However, different to everyone else who finds the instructions easy to follow, I am having a few issues! Sorry!<br />
Are their separate guides to follow, or are the different links to webpages the different guides mentioned that people are following?</p>
<p>My intended setup is this &#8211; I plug my RPi directly into the ONT so that I can monitor all traffic. Because I also want to monitor different devices connected to the network, the RPi will act as the DHCP server (correct?).  So my first link to follow will be &#8220;Building your own router with a Raspberry Pi&#8221; using the RPi OS Lite.<br />
The existing WiFi router that I have will be set to pass-through (bridge) mode. Is this so that devices can still connect wirelessly to the network, but their assigned IP&#8217;s will be assigned from the RPi which is connected to the WiFi router&#8217;s WAN port?<br />
Then in your other article, the network monitoring one, you talk about setting up the eth1  eth0 connection. I don&#8217;t understand the syntax. Do you mean setting up allowing traffic from outside (ONT) connected to eth1 to flow through the RPi to be monitored and then out eth0?<br />
Just to mention, I have got to the point where I managed to run the pppoeconf and it connected to the internet.<br />
I have a few more questions but I will hold off until I get this part correct.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: (zane) / Technically Wizardry		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1878</link>

		<dc:creator><![CDATA[(zane) / Technically Wizardry]]></dc:creator>
		<pubDate>Sun, 05 Sep 2021 14:30:58 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1878</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1875&quot;&gt;Alex&lt;/a&gt;.

As a matter of practice, I&#039;d start with rebooting everything. Is the switch managed or unmanaged? Does the ping drop happen at a specific point in the traceroute, e.g., the router? If it&#039;s definitely happening at the Pi, how many devices are on your network? Are you using an older Pi? Are you running other software simultaneously on the Pi? What does the CPU/memory load look like? Can you measure the throughput to see how congested the network is? Somewhere, some resource on the Pi must be tapped out if it&#039;s creating such a bottleneck.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1875" data-wpel-link="internal" rel="internal follow noopener" class="internal">Alex</a>.</p>
<p>As a matter of practice, I&#8217;d start with rebooting everything. Is the switch managed or unmanaged? Does the ping drop happen at a specific point in the traceroute, e.g., the router? If it&#8217;s definitely happening at the Pi, how many devices are on your network? Are you using an older Pi? Are you running other software simultaneously on the Pi? What does the CPU/memory load look like? Can you measure the throughput to see how congested the network is? Somewhere, some resource on the Pi must be tapped out if it&#8217;s creating such a bottleneck.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1875</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 03 Sep 2021 21:40:37 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1875</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1868&quot;&gt;(zane) / Technically Wizardry&lt;/a&gt;.

Actually, I keep fixing things and then finding other issues. My kids started moaning about the xbox and a ping (directly connected to the switch) returns MANY dropped pings. Speedtest however seems fine. Rebooted everything but still getting loads of packet loss. Ifconfig doesn’t show any errors or collisions.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1868" data-wpel-link="internal" rel="internal follow noopener" class="internal">(zane) / Technically Wizardry</a>.</p>
<p>Actually, I keep fixing things and then finding other issues. My kids started moaning about the xbox and a ping (directly connected to the switch) returns MANY dropped pings. Speedtest however seems fine. Rebooted everything but still getting loads of packet loss. Ifconfig doesn’t show any errors or collisions.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1874</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 03 Sep 2021 20:21:58 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1874</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1868&quot;&gt;(zane) / Technically Wizardry&lt;/a&gt;.

Thanks, I’ve actually got around this by using your info on the DNS re-write with AdGuard :)

Another issue I appear to have is that AdGuard doesn’t appear to be blocking anything. It says it is in the console and “looks” to be working however I can do some Ad block tests and none work. There must be some form of DNS leakage. If I stop the service nothing resolves so that part is working. If I do a DNS check I get some random 141 address which is apparently Apple Private relay (which I’m not using and isn’t released yet!) I have the upstream set as CloudFlare family but that too doesn’t block any adult content so clearly isn’t working either. At a bit of a loss. All clients are getting the correct router address as their DNS server.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1868" data-wpel-link="internal" rel="internal follow noopener" class="internal">(zane) / Technically Wizardry</a>.</p>
<p>Thanks, I’ve actually got around this by using your info on the DNS re-write with AdGuard 🙂</p>
<p>Another issue I appear to have is that AdGuard doesn’t appear to be blocking anything. It says it is in the console and “looks” to be working however I can do some Ad block tests and none work. There must be some form of DNS leakage. If I stop the service nothing resolves so that part is working. If I do a DNS check I get some random 141 address which is apparently Apple Private relay (which I’m not using and isn’t released yet!) I have the upstream set as CloudFlare family but that too doesn’t block any adult content so clearly isn’t working either. At a bit of a loss. All clients are getting the correct router address as their DNS server.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: (zane) / Technically Wizardry		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1868</link>

		<dc:creator><![CDATA[(zane) / Technically Wizardry]]></dc:creator>
		<pubDate>Wed, 01 Sep 2021 14:30:59 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1868</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1861&quot;&gt;Alex&lt;/a&gt;.

The way I do this is to use a locally hosted DNS server. You could use PiHole, a DNS server on a Synology NAS, or one of many other options. Just manually add entries for each FQDN to the DNS server with the local IP; there&#039;s no need for more sophisticated NAT loopback techniques. As a bonus, a locally hosted DNS serves as a cache which can help lookup times in certain situations.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1861" data-wpel-link="internal" rel="internal follow noopener" class="internal">Alex</a>.</p>
<p>The way I do this is to use a locally hosted DNS server. You could use PiHole, a DNS server on a Synology NAS, or one of many other options. Just manually add entries for each FQDN to the DNS server with the local IP; there&#8217;s no need for more sophisticated NAT loopback techniques. As a bonus, a locally hosted DNS serves as a cache which can help lookup times in certain situations.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alex		</title>
		<link>https://www.technicallywizardry.com/building-your-own-router-raspberry-pi/#comment-1861</link>

		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Sun, 29 Aug 2021 14:32:59 +0000</pubDate>
		<guid isPermaLink="false">https://www.technicallywizardry.com/?p=9050#comment-1861</guid>

					<description><![CDATA[Hi! Thanks for this guide, it was exactly what I needed

Only item I&#039;d stuck on is the NAT loopback. I have some sites hosted on a NAS that I can get to externally using the URL however can&#039;t internally. It would be great if I could get to these internally using the DNS rather than IP.]]></description>
			<content:encoded><![CDATA[<p>Hi! Thanks for this guide, it was exactly what I needed</p>
<p>Only item I&#8217;d stuck on is the NAT loopback. I have some sites hosted on a NAS that I can get to externally using the URL however can&#8217;t internally. It would be great if I could get to these internally using the DNS rather than IP.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 14/49 objects using disk
Page Caching using disk: enhanced 
Minified using disk
Database Caching 2/23 queries in 0.040 seconds using disk (Request-wide modification query)

Served from: technicallywizardry.com @ 2023-10-03 04:16:42 by W3 Total Cache
-->