<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>how to configure nipap on ubuntu 198.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/how-to-configure-nipap-on-ubuntu-198-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 08 Mar 2020 12:37:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How To Install Neat IP Address Planner(NIPAP) on Ubuntu 18.04</title>
		<link>https://www.osradar.com/how-to-install-neat-ip-address-plannernipap-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-neat-ip-address-plannernipap-on-ubuntu-18-04/#comments</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sun, 08 Mar 2020 12:37:12 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to configure nipap on ubuntu 198.04]]></category>
		<category><![CDATA[how to install nipap on ubuntu]]></category>
		<category><![CDATA[install and confiugre nipap]]></category>
		<category><![CDATA[nipap configuration tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18547</guid>

					<description><![CDATA[<p>Today we are going to learn that how to install Neat IP Address Planner on Ubuntu (NIPAP). Let&#8217;s have a short introduction on Neat IP Address Planner. What is NIPAP? NIPAP is an open source and powerful IP address with management machine built to efficaciously take care of big quantities of ip addresses in small [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-neat-ip-address-plannernipap-on-ubuntu-18-04/">How To Install Neat IP Address Planner(NIPAP) on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today we are going to learn that<a href="https://www.osradar.com/?p=18547"> how to install Neat IP Address Planner on Ubuntu</a> (NIPAP). Let&#8217;s have a short introduction on Neat IP Address Planner.</p>



<h3><strong>What is NIPAP?</strong></h3>



<p>NIPAP is an open source and powerful IP address with management machine built to efficaciously take care of big quantities of ip addresses in small to big groups. NIPAP comes with a graceful and intuitive web based control dashboard for network engineers and sysadmins to use. The net interface also functions as an effective google-style search, however a CLI patron is also supplied for terminal concentric customers.</p>



<h3><strong>Salient Features of NIPAP</strong></h3>



<p>Following are the some salient features of NIPAP</p>



<ul><li>Very rapid and scalable to hundreds of thousands of prefixes.</li><li> A fashionable and intuitive net interface.</li><li> Local support for IPv6 (full characteristic parity with IPv4)</li><li> CLI for the hardcore user</li><li> Native VRF guide, allowing overlapping prefixes in unique VRFs</li><li> Guide for documenting single hosts</li><li> Very effective search function (by using regexp)</li><li> Records over used and available addresses</li><li> Included audit log</li><li> IP address with request machine for mechanically assigning suitable prefixes</li><li> XML-RPC middleware, permitting easy integration with different programs or writing</li><li> Flexible authentication the use of SQLite and/or LDAP</li></ul>



<p>Client Libraries for Python, Java &amp; Oracle are available if you want to integrate it with other systems grammatically. </p>



<h3><strong>How To Install Neat IP Address Planner on Ubuntu 18.04</strong></h3>



<p>As the NIPAP pre-built packages are officially provided for Ubuntu. So, here&#8217;s the procedure you may follow to start with.</p>



<h3><strong>Step 1: Add NIPAP repository</strong></h3>



<p>Add the NIPAP repository.</p>



<pre class="wp-block-verse has-text-align-left">sudo apt update<br>sudo apt -y install gnupg2<br>echo "deb http://spritelink.github.io/NIPAP/repos/apt stable main extra" | sudo tee /etc/apt/sources.list.d/nipap.list</pre>



<p>Then add the NIPAP public key for authentication purposes.</p>



<pre class="wp-block-verse">wget -O - https://spritelink.github.io/NIPAP/nipap.gpg.key | sudo apt-key add -</pre>



<p>After the repository added successfully, update your package lists.</p>



<pre class="wp-block-verse">sudo apt -y update</pre>



<h3><strong>Step 2: Install PostgreSQL &amp; IP4R extension</strong></h3>



<p>Run the below command to install the PostgreSQL &amp; ip4r packages.</p>



<pre class="wp-block-verse">sudo apt update <br>sudo apt install postgresql-contrib postgresql-10-ip4r</pre>



<h3><strong>Step 3: Installing NIPAP on Ubuntu 18.04</strong></h3>



<p>Following packages are available</p>



<ul><li>nipapd</li><li>nipap-common</li><li>python-pynipap</li><li>nipap-cli</li><li>python3-pynipap</li><li>nipap-www</li></ul>



<p>Now, install the standard packages by running &amp; press <strong>Y</strong> to continue.</p>



<p></p>



<pre class="wp-block-verse">sudo apt install nipapd nipap-cli nipap-www python-pynipap</pre>



<p>When prompt provide the required details as</p>



<p>DB server = localhost</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="721" height="569" src="https://www.osradar.com/wp-content/uploads/2020/03/select-localhost-as-db-server.png" alt="" class="wp-image-18785" srcset="https://www.osradar.com/wp-content/uploads/2020/03/select-localhost-as-db-server.png 721w, https://www.osradar.com/wp-content/uploads/2020/03/select-localhost-as-db-server-300x237.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/select-localhost-as-db-server-696x549.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/select-localhost-as-db-server-532x420.png 532w" sizes="(max-width: 721px) 100vw, 721px" /></figure></div>



<p>Auto set the DB</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="733" height="573" src="https://www.osradar.com/wp-content/uploads/2020/03/how-to-install-nipap-on-ubuntu-18.04.png" alt="" class="wp-image-18786" srcset="https://www.osradar.com/wp-content/uploads/2020/03/how-to-install-nipap-on-ubuntu-18.04.png 733w, https://www.osradar.com/wp-content/uploads/2020/03/how-to-install-nipap-on-ubuntu-18.04-300x235.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/how-to-install-nipap-on-ubuntu-18.04-696x544.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/how-to-install-nipap-on-ubuntu-18.04-537x420.png 537w" sizes="(max-width: 733px) 100vw, 733px" /></figure></div>



<p>Auto Start the service</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="739" height="583" src="https://www.osradar.com/wp-content/uploads/2020/03/configuring-nipap-autoupgrade.png" alt="" class="wp-image-18787" srcset="https://www.osradar.com/wp-content/uploads/2020/03/configuring-nipap-autoupgrade.png 739w, https://www.osradar.com/wp-content/uploads/2020/03/configuring-nipap-autoupgrade-300x237.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/configuring-nipap-autoupgrade-696x549.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/configuring-nipap-autoupgrade-532x420.png 532w" sizes="(max-width: 739px) 100vw, 739px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="733" height="575" src="https://www.osradar.com/wp-content/uploads/2020/03/start-nipad-auto.png" alt="" class="wp-image-18788" srcset="https://www.osradar.com/wp-content/uploads/2020/03/start-nipad-auto.png 733w, https://www.osradar.com/wp-content/uploads/2020/03/start-nipad-auto-300x235.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/start-nipad-auto-696x546.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/start-nipad-auto-535x420.png 535w" sizes="(max-width: 733px) 100vw, 733px" /></figure></div>



<p>And accept the creation of user for web interface.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="729" height="560" src="https://www.osradar.com/wp-content/uploads/2020/03/how-to-configure-nipap-on-ubuntu-18.04.png" alt="" class="wp-image-18789" srcset="https://www.osradar.com/wp-content/uploads/2020/03/how-to-configure-nipap-on-ubuntu-18.04.png 729w, https://www.osradar.com/wp-content/uploads/2020/03/how-to-configure-nipap-on-ubuntu-18.04-300x230.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/how-to-configure-nipap-on-ubuntu-18.04-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2020/03/how-to-configure-nipap-on-ubuntu-18.04-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/how-to-configure-nipap-on-ubuntu-18.04-547x420.png 547w" sizes="(max-width: 729px) 100vw, 729px" /></figure></div>



<h2><strong>Step 4: Configuring NIPAP Web UI</strong></h2>



<p>As the web UI requires its own account to authenticate at back-end &amp; be sure that it is trusted account. Create it by typing</p>



<pre class="wp-block-verse">user="nipap-www"<br>password="StrongPassw3rd"<br>sudo nipap-passwd add --username $user --password $password --name "My User Account"</pre>



<p>Output:</p>



<p>You&#8217;ll see the similar output.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="717" height="69" src="https://www.osradar.com/wp-content/uploads/2020/03/added-mobile-user-for-nipap.png" alt="" class="wp-image-18790" srcset="https://www.osradar.com/wp-content/uploads/2020/03/added-mobile-user-for-nipap.png 717w, https://www.osradar.com/wp-content/uploads/2020/03/added-mobile-user-for-nipap-300x29.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/added-mobile-user-for-nipap-696x67.png 696w" sizes="(max-width: 717px) 100vw, 717px" /></figure></div>



<p>Now, configure the web UI to use this account.</p>



<pre class="wp-block-verse">sudo vim /etc/nipap/nipap.conf<br>xmlrpc_uri = http://nipap-www@local:StrongPassw3rd@127.0.0.1:1337</pre>



<p>Here&#8217;s the config syntax</p>



<pre class="wp-block-verse">xmlrpc_uri = http://{{NIPAPD_USERNAME}}@local:{{NIPAPD_PASSWORD}}@{{NIPAPD_HOST}}:{{NIPAPD_PORT}}</pre>



<p>Then restart the nipapd services</p>



<pre class="wp-block-verse">sudo systemctl restart nipapd.service</pre>



<p>You can also add other users by using the above method.</p>



<pre class="wp-block-verse">nipap-passwd add --username myuser --password mypassword --name "my user"</pre>



<p>Serving the web UI with Apache httpd with mod_wsgi</p>



<p><strong>Fire the command to get install Apache httpd with mod_wsgi</strong> <strong>&amp; press Y to continue.</strong></p>



<pre class="wp-block-verse">sudo apt install apache2 libapache2-mod-wsgi</pre>



<p>Add the new Virtual Host</p>



<pre class="wp-block-verse">sudo vim /etc/apache2/sites-enabled/nipap.conf</pre>



<p>After adding file modify it and paste the given data into it.</p>



<pre class="wp-block-verse">&lt;VirtualHost *:80&gt;<br>       ServerName nipap.example.com<br>       DocumentRoot /var/cache/nipap-www/<br>       ServerAdmin admin@example.com<br>       WSGIScriptAlias / /etc/nipap/www/nipap-www.wsgi<br> <br>&lt;Directory /etc/nipap/www/&gt;<br>     Require all granted<br>  &lt;/Directory&gt;<br><br>&lt;Directory /var/cache/nipap-www/&gt;<br>     Require all granted<br> &lt;/Directory&gt;<br> ErrorLog ${APACHE_LOG_DIR}/nipap_error.log<br> CustomLog ${APACHE_LOG_DIR}/nipap_access.log combined<br>&lt;/VirtualHost&gt;</pre>



<p>Then enable wsgi mod in Apache</p>



<pre class="wp-block-verse">sudo a2enmod wsgi </pre>



<p>Validate your Apache Configuration </p>



<pre class="wp-block-verse">sudo apachectl configtest</pre>



<p>Then the web server needs to be able to write to its cache &amp; then alter the permissions.</p>



<pre class="wp-block-verse">sudo chown -R www-data:www-data /var/cache/nipap-www<br>
sudo chmod -R u=rwX /var/cache/nipap-www</pre>



<p>Then, restart the Apache httpd server.</p>



<pre class="wp-block-verse">sudo systemctl restart apache2</pre>



<p>Make sure that the NIPAP web UI is up &amp; running and it is also accessible on configured domain<strong><a href="http://osradar.com"> nipap.example.com</a></strong>.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1025" height="242" src="https://www.osradar.com/wp-content/uploads/2020/03/nipap-configuration.png" alt="" class="wp-image-18793" srcset="https://www.osradar.com/wp-content/uploads/2020/03/nipap-configuration.png 1025w, https://www.osradar.com/wp-content/uploads/2020/03/nipap-configuration-300x71.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/nipap-configuration-768x181.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/nipap-configuration-696x164.png 696w" sizes="(max-width: 1025px) 100vw, 1025px" /></figure>



<p>Now, provide your credentials to login to the dashboard.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="264" src="https://www.osradar.com/wp-content/uploads/2020/03/nipap-prefixes-configuration.png" alt="" class="wp-image-18794" srcset="https://www.osradar.com/wp-content/uploads/2020/03/nipap-prefixes-configuration.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/nipap-prefixes-configuration-300x77.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/nipap-prefixes-configuration-768x198.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/nipap-prefixes-configuration-696x179.png 696w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>You can add Network prefixes from here or you can also use CLI to add prefixes.</p>



<h3><strong>How to add Network prefixes from CLI?</strong></h3>



<p>First of all, add a new user for CLI.</p>



<pre class="wp-block-verse">sudo nipap-passwd add --username nipap-cli --password StrongPassword --name "My CLI user"</pre>



<p>After it create, new <strong>.nipaprc </strong>file along with the above credentials for CLI user provided.</p>



<pre class="wp-block-verse">$ vim ~/.nipaprc<br>[global]<br> hostname = localhost<br> port     = 1337<br> username = *nipap-cli*<br> password = *StrongPassword*<br> default_vrf_rt = none<br> default_list_vrf_rt = all</pre>



<p>Allow the file permissions.</p>



<pre class="wp-block-verse">chmod 0600 ~/.nipaprc</pre>



<p>You&#8217;ve all done, now test it to confirm that it&#8217;s working</p>



<pre class="wp-block-verse">$ sudo nipap address add prefix 192.168.20.0/24 type assignment description "Test prefix"<br>Network 192.168.20.0/24 added to VRF 'default' [RT: -]: Test prefix</pre>



<p>Now, look at the UI Dashboard to make it sure it works.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="268" src="https://www.osradar.com/wp-content/uploads/2020/03/test-configuration-of-nipap-1024x268.png" alt="" class="wp-image-18795" srcset="https://www.osradar.com/wp-content/uploads/2020/03/test-configuration-of-nipap-1024x268.png 1024w, https://www.osradar.com/wp-content/uploads/2020/03/test-configuration-of-nipap-300x79.png 300w, https://www.osradar.com/wp-content/uploads/2020/03/test-configuration-of-nipap-768x201.png 768w, https://www.osradar.com/wp-content/uploads/2020/03/test-configuration-of-nipap-696x182.png 696w, https://www.osradar.com/wp-content/uploads/2020/03/test-configuration-of-nipap.png 1028w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>So, this is how you can install &amp; configure NIPAP on your Ubuntu system.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-neat-ip-address-plannernipap-on-ubuntu-18-04/">How To Install Neat IP Address Planner(NIPAP) on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-neat-ip-address-plannernipap-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
