
<p>RFC 1918 is an internet standard published by the Internet Engineering Task Force (IETF) that defines best practices for private networking. RFC 1918 defines three address ranges that are reserved for private networking.</p>
<ul>
<li><strong>10.0.0.0/8</strong> or <strong>10.0.0.0 – 10.255.255.255</strong></li>
<li><strong>172.16.0.0/12</strong> or <strong>172.16.0.0 – 172.31.255.255</strong></li>
<li><strong>192.168.0.0/16</strong> or <strong>192.168.0.0 – 192.168.255.255</strong></li>
</ul>
<p>Scanning the entire RFC 1918 space can allow you to identify subnets or assets that you were previously unaware of within your internal network.</p>
<h2 id="rfc1918-scanning-audience">Who is this playbook for and why?</h2>
<p>This playbook is intended for runZero administrators that are interested in running discovery scans of the entire RFC 1918 private address space.</p>
<p>runZero offers a <strong>Full RFC 1918 discovery</strong> scan option that will discover assets across all three private address ranges as a single task. However, this scan option is <strong>only recommended for small networks</strong> with limited complexity and should only be leveraged in a single-site configuration. This playbook is intended for more advanced scenarios or larger, more complex networks.</p>
<h2 id="rfc1918-scanning-solution">How will runZero help?</h2>
<p>runZero is able to discover subnets or assets that you may have been previously unaware of by scanning the entire RFC 1918 private address space. Using this approach can help you ensure that your asset inventory is complete.</p>
<h2 id="rfc1918-scanning-overview">What will I need to do?</h2>
<p>In order to scan the entire RFC 1918 private address space, you will need to take the following steps:</p>
<ol>
<li>Determine how to divide the private address ranges.</li>
<li>Create a <a href="/docs/managing-scan-templates/">scan template</a> for each address range.</li>
<li><a href="/docs/discovering-assets/">Configure each scan</a>.</li>
<li>Review the <a href="/docs/coverage-reports/#rfc1918-coverage-report">RFC 1918 coverage report</a>.</li>
</ol>
<h2 id="rfc1918-scanning-steps">Steps to implement</h2>
<p>The following are step-by-step instructions for running custom RFC 1918 scans across your network.</p>
<h3 id="rfc1918-scanning-step1">Step 1: Determine how to divide the private address ranges</h3>
<p>Running a comprehensive RFC 1918 scan across a large network can take days or even weeks to complete. As a result, it is important that you break up this scanning into multiple tasks. While some trial and error may be needed to find a right balance for your organization, one option would be to break the scan up into six sections as follows.</p>
<table class="table table-sm table-bordered w-auto">
<thead>
<tr>
<th>Discovery Scope</th>
<th>IP Address Range</th>
<th>No. of IP Addresses</th>
</tr>
</thead>
<tbody>
<tr>
<td>192.168.0.0/16</td>
<td>192.168.0.0 - 192.168.255.255</td>
<td>65,536</td>
</tr>
<tr>
<td>172.16.0.0/12</td>
<td>172.16.0.0 - 172.31.255.255</td>
<td>1,048,578</td>
</tr>
<tr>
<td>10.0.0.0/10</td>
<td>10.0.0.0 - 10.63.255.255</td>
<td>4,194,304</td>
</tr>
<tr>
<td>10.64.0.0/10</td>
<td>10.64.0.0 - 10.127.255.255</td>
<td>4,194,304</td>
</tr>
<tr>
<td>10.128.0.0/10</td>
<td>10.128.0.0 - 10.191.255.255</td>
<td>4,194,304</td>
</tr>
<tr>
<td>10.192.0.0/10</td>
<td>10.192.0.0 - 10.255.255.255</td>
<td>4,194,304</td>
</tr>
</tbody>
</table>
<h3 id="rfc1918-scanning-step2">Step 2: Create an RFC 1918 scan template</h3>
<p>Since you will be running multiple scans to cover all of the RFC 1918 private address ranges, creating a scan template will simplify the scheduling of scans and help ensure a consistent configuration across each scan.</p>
<ol>
<li><a href="https://console.runzero.com/tasks/templates/new">Add a template</a> by selecting <strong>Tasks</strong> &gt; <strong>Task library</strong> from the side navigation and then click <strong>Add template</strong>.</li>
<li>Provide a <strong>Name</strong> for the template.</li>
<li>Set the <strong>Scan rate</strong> to a minimum of <strong>5,000</strong> packets per second.</li>
</ol>
<div class="alert alert-info">If you&#39;re scanning across high-speed wired networks, setting the scan rate to <b>10,000</b> or more can be helpful to reduce the time it takes to complete a scan.</div>
<ol start="4">
<li>Navigate to the <strong>Advanced</strong> configuration tab.</li>
<li>Under <strong>Excluded hosts</strong>, exclude all subnets that are already being scanned by other tasks. Additionally, by inserting “scan:scope” in the <strong>Excluded hosts</strong> section, it will exclude all the assets that are already defined in your registered subnets.</li>
<li>Under <strong>Subnet sampling</strong>, enable <strong>Only scan subnets with active hosts</strong> and <a href="/docs/discovering-assets/#subnet-sampling">set an appropriate</a> <strong>Sample rate</strong> and <strong>Subnet size</strong>.
<ul>
<li>The <strong>sample rate</strong> determines what percentage of addresses in each subnet are prescanned to determine if the subnet should be scanned.</li>
<li>The <strong>subnet size</strong> determines how many IP addresses are in each subnet.</li>
<li>By default, the subnet size is 256 addresses, corresponding to a /24 subnet, and 3% of the addresses in each subnet are prescanned.</li>
<li>If after running several scans you find that you are missing assets with the default 3% sample rate, then you can increase it. Keep in mind that as the sample rate increases so will the runtime for scans. If you determine that increasing the sample rate is necessary, an increase from 3% to 5% would be a reasonable first step.</li>
</ul>
<div class="alert alert-info">For your first RFC 1918 scan, runZero recommends using the default sample rate of 3% and the default size of 256.</div>
</li>
<li><strong>Save</strong> your template.</li>
</ol>
<h3 id="rfc1918-scanning-step3">Step 3: Configure each of the RFC 1918 scans</h3>
<p>Once you’ve created a scan template, it’s time to schedule each of the scan ranges identified in <a href="/docs/playbooks/achieving-rfc1918-coverage/#rfc1918-scanning-step1">Step 1</a>.</p>
<ol>
<li><a href="https://console.runzero.com/tasks/templatesNewScan">Create a new scan task</a> by selecting <strong>Tasks</strong> from the side navigation and then click <strong>Scan</strong> &gt; <strong>Template scan</strong>.</li>
<li>Type the name of the RFC 1918 scan template that you just created into the search bar.</li>
<li>Select the radio button for the appropriate template and click <strong>Continue to scan configuration</strong>.</li>
<li>Provide a <strong>Scan name</strong>.</li>
<li>Update the <strong>Discovery scope</strong> with the first RFC 1918 address range, as determined in <a href="/docs/playbooks/achieving-rfc1918-coverage/#rfc1918-scanning-step1">Step 1</a>.</li>
<li>Set the <strong>Start time</strong> to the time that you wish to start the scan.</li>
<li>Click <strong>Initialize Scan</strong>.</li>
<li>Follow the previous steps to schedule each of your RFC 1918 scans, as determined in <a href="/docs/playbooks/achieving-rfc1918-coverage/#rfc1918-scanning-step1">Step 1</a>.</li>
</ol>
<div class="alert alert-warning">Allow sufficient time for each scan to complete before the next scan starts. If this is your first time running an RFC 1918 scan, then we recommend scheduling the scans one at a time so that you can assess the time each takes to complete. This information can then be used to set a more appropriate schedule for any recurring scans.</div>
<h3 id="rfc1918-scanning-step4">Step 4: Review the RFC 1918 coverage report</h3>
<p>Once you’ve completed all of the RFC 1918 scans, review the <a href="/docs/coverage-reports/#rfc1918-coverage-report">RFC 1918 coverage report</a>. This report will show you which IPv4 subnets contain assets. After completing all your RFC 1918 scans, you should not see any subnets highlighted with a red box indicating that there are unscanned assets. The information in this report can be used to schedule recurring scans of subnets that contain live assets. The <a href="/docs/identify-gaps-in-scanning/#identifying-gaps-subnet-utilization">Subnet Utilization report</a> is another useful report that can be used to find subnets with live assets. This report also allows you to export to CSV format, which can be useful for further analysis and scheduling recurring scans.</p>
<h2 id="rfc1918-scanning-considerations">Other considerations</h2>
<ul>
<li>
<p>If you plan to run recurring RFC 1918 scans, consider implementing a dedicated Explorer or an Explorer with <strong>Max concurrent scans</strong> set to at least 2 so that other scan tasks are able to complete while the RFC 1918 scan is still running. Keep in mind that you may need to increase Explorer system resources above our minimum <a href="/docs/installing-an-explorer/#system-requirements">system requirements</a> if you plan to run multiple concurrent scans with a single Explorer.</p>
</li>
<li>
<p>While an Explorer can have a max concurrent scans setting greater than 1, the results of these tasks are processed one at a time. Processing the results of a large RFC 1918 scan can take a considerable amount of time depending on the size of the result set. This could cause a delay in the processing and completion of other tasks.</p>
</li>
<li>
<p>In addition to RFC 1918 scanning, there are a couple of other options for finding gaps in your scanning. Review <a href="/docs/identify-gaps-in-scanning/">Identifying gaps in scanning</a> for information on other techniques that can be employed to reduce scan coverage gaps.</p>
</li>
</ul>
<h2 id="rcf1918-help">Getting help</h2>
<p>If you need assistance in building out this process, you can <a href="https://scheduler.zoom.us/d/z8gaq_36/runzero-customer-success-engineer">book a session with a runZero Customer Success Engineer</a> to discuss further.</p>
