<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Migration on Gravity</title><link>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dhcp/migration/</link><description>Recent content in Migration on Gravity</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dhcp/migration/index.xml" rel="self" type="application/rss+xml"/><item><title>Migrating from Microsoft DHCP</title><link>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dhcp/migration/ms_dhcp/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-2170--beryju-gravity.netlify.app/docs/dhcp/migration/ms_dhcp/</guid><description>&lt;p&gt;Gravity can import DHCP leases from Microsoft&amp;rsquo;s DHCP server.&lt;/p&gt;
&lt;h3 id="export-leases-and-reservations"&gt;Export leases and reservations&lt;/h3&gt;
&lt;p&gt;Run the following command on the server running Microsoft DHCP, or another server with management tools installed:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-powershell" data-lang="powershell"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Export-DhcpServer -Leases &lt;span style="color:#f92672"&gt;-File&lt;/span&gt; C:\dhcp_export.xml
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This file contains information about all scopes, their leases and reservations, and any extra options.&lt;/p&gt;
&lt;h3 id="import-data-into-gravity"&gt;Import data into Gravity&lt;/h3&gt;
&lt;h5 id="web-requires-gravity-v024"&gt;Web (requires Gravity v0.24+)&lt;/h5&gt;
&lt;p&gt;Click on the &lt;strong&gt;Create&lt;/strong&gt; button on the &lt;em&gt;DHCP Scopes&lt;/em&gt; page and enter the name for a new scope. On the next page select &lt;strong&gt;Import&lt;/strong&gt; and continue. Select the XML file exported above. Gravity will import all leases and reservations into the new scope.&lt;/p&gt;</description></item></channel></rss>