<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Radius Archives - iBill.io</title>
	<atom:link href="https://blog.ibill.io/category/radius/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.ibill.io/category/radius/</link>
	<description>ISP Radius Server Software and ISP Billing Software Management. Mikrotik Radius and Mikrotik PPPOE, WISP Billing, User Management, ISP Management.</description>
	<lastBuildDate>Tue, 03 Oct 2023 17:26:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.2</generator>
<site xmlns="com-wordpress:feed-additions:1">120638415</site>	<item>
		<title>6 Reasons to host Billing and Radius in the Cloud</title>
		<link>https://blog.ibill.io/6-reasons-to-host-billing-and-radius-in-the-cloud/</link>
					<comments>https://blog.ibill.io/6-reasons-to-host-billing-and-radius-in-the-cloud/#respond</comments>
		
		<dc:creator><![CDATA[ibill]]></dc:creator>
		<pubDate>Wed, 08 Feb 2017 13:33:51 +0000</pubDate>
				<category><![CDATA[Radius]]></category>
		<category><![CDATA[billing]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[radius]]></category>
		<guid isPermaLink="false">https://blog.ibill.io/?p=75</guid>

					<description><![CDATA[<p>Every day more and more businesses are moving important services to the cloud. It&#8217;s clear to see why with the many benefits. From deployment time to data resilience, here are our top 6 reasons to move your ISP&#8217;s billing and radius to the cloud. 1. Rapid Deployment Cloud services can be deployed much faster than [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.ibill.io/6-reasons-to-host-billing-and-radius-in-the-cloud/">6 Reasons to host Billing and Radius in the Cloud</a> appeared first on <a rel="nofollow" href="https://blog.ibill.io">iBill.io</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Every day more and more businesses are moving important services to the cloud. It&#8217;s clear to see why with the many benefits.</p>
<p>From deployment time to data resilience, here are our top 6 reasons to move your ISP&#8217;s billing and radius to the cloud.</p>
<h3>1. Rapid Deployment</h3>
<p>Cloud services can be deployed much faster than traditional systems. What could take weeks or months of planning in the traditional onsite model can be done in minutes when leveraging a good SaaS platform. Our provisioning time is less than 30 seconds, can a traditional server even boot that fast ?</p>
<h3>2. Lower TCO</h3>
<p>Total cost of ownership can often be decreased dramatically when you are running in the cloud. Expensive hardware and power costs are no longer a factor. Staffing costs can also be reduced dramatically, a rock solid billing and radius system needs the loving care of an experienced systems administrator, and the careful hand of a great DBA. With a cloud billing and radius service this is done for you, &#8220;<em>automagically</em>&#8220;.</p>
<h3>3. Automatic Upgrades</h3>
<p>Our billing and radius platform is constantly evolving to meet your needs, this means new features and bug fixes make their way to you behind the scenes with no interruption to your services.</p>
<h3>4. Backups and Data Recovery</h3>
<p>Backups and Recovery can be a headache for any organization. The iBill.io billing and radius platform will take care of all of this for you, ensuring your infrastructure is resilient and protected against failure.</p>
<h3>5. Access From Anywhere</h3>
<p>No more complicated VPN&#8217;s or dynamic dns entries. Your services are securely available from anywhere in the world, both to you and your end users.</p>
<h3>6. Ease of Evaluation</h3>
<p>The traditional model of setting up a test environment, trying to figure how to install the software, learning how everything works only to flatten it and move on to the next solution is expensive and time consuming. Cloud platforms can easily be evaluated to see if it&#8217;s a good fit into your organization.</p>
<p>&nbsp;</p>
<h3>Looking for a Cloud Billing and Radius Platform ?</h3>
<p>Try our easy to use <a href="https://ibill.io/" target="_blank" rel="noopener">ISP Radius and Billing solution</a> and have one available in 30 seconds. Enjoy a risk free 30 day trial.</p>
<p>The post <a rel="nofollow" href="https://blog.ibill.io/6-reasons-to-host-billing-and-radius-in-the-cloud/">6 Reasons to host Billing and Radius in the Cloud</a> appeared first on <a rel="nofollow" href="https://blog.ibill.io">iBill.io</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.ibill.io/6-reasons-to-host-billing-and-radius-in-the-cloud/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">75</post-id>	</item>
		<item>
		<title>Mikrotik Radius, PPPOE Server and PPPOE Client Setup Guide</title>
		<link>https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/</link>
					<comments>https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/#respond</comments>
		
		<dc:creator><![CDATA[ibill]]></dc:creator>
		<pubDate>Tue, 24 Jan 2017 14:42:16 +0000</pubDate>
				<category><![CDATA[Mikrotik]]></category>
		<category><![CDATA[Radius]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[pppoe]]></category>
		<category><![CDATA[radius]]></category>
		<guid isPermaLink="false">https://blog.ibill.io/?p=35</guid>

					<description><![CDATA[<p>In this article we will cover the basics of Mikrotik Radius and the attributes it supports. We will also setup Mikrotik as a PPPOE server and configure a Mikrotik PPPOE client. PPPOE or Point-to-Point Protocol Over Ethernet is a common connection used to authenticate users and account for their traffic. PPPOE is used extensively in [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/">Mikrotik Radius, PPPOE Server and PPPOE Client Setup Guide</a> appeared first on <a rel="nofollow" href="https://blog.ibill.io">iBill.io</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this article we will cover the basics of Mikrotik Radius and the attributes it supports. We will also setup Mikrotik as a PPPOE server and configure a Mikrotik PPPOE client.</p>
<p>PPPOE or Point-to-Point Protocol Over Ethernet is a common connection used to authenticate users and account for their traffic. PPPOE is used extensively in all types of networks as it allows the remote device to bring up a connection over layer 2 without much prior configuration.</p>
<h2>Part 1: Mikrotik Radius Attributes</h2>
<h3>What are radius attributes?</h3>
<p>Before we dive in to our Mikrotik configuration, let&#8217;s get a general understanding of what a radius attribute is. These are important because when we connect clients over PPP using radius we can control certain aspects of the connection using radius attributes.</p>
<p>Radius attributes are special Attribute-Value pairs that are sent inside radius packets. At the radius packet level they contain an Attribute ID, a length and a Value. When the radius server receives these attributes it uses a dictionary to lookup the attribute definition and convert the data into something the server can understand.</p>
<p>A radius packet generally contains several of these attributes holding connection specific information. The radius server will then read these in and decide what to do with the packet. Common attributes include:</p>
<ul>
<li>User-Name = The username specified when connecting to a NAS (Network Access Server).</li>
<li style="list-style-type: none;"></li>
<li>Calling-Station-Id = The phone number or network mac address of the user.</li>
<li style="list-style-type: none;"></li>
<li>NAS-IP-Address = The IP address of the network access server which generated the request.</li>
<li style="list-style-type: none;"></li>
<li>Framed-IP-Address = The IP address of the user, typically seen in radius accounting packets.</li>
</ul>
<p>Many devices include their own radius dictionaries which allow extra device specific information to be sent inside their radius requests. The Mikrotik radius dictionary can be found here: <a href="http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client/vendor_dictionary">http://wiki.mikrotik.com/wiki/Manual:RADIUS_Client/vendor_dictionary</a> and defines some Mikrotik specific attributes to provide more control over client connections.</p>
<h2>Common Mikrotik Radius Attributes</h2>
<h3>Client Connection Speed Management</h3>
<h4>Mikrotik-Rate-Limit</h4>
<p>This attributes allows you specify the speed of the client connection, it can specify a fixed speed rate, or a burstable speed profile for the user.</p>
<p>The attribute accepts the following as it’s value.</p>
<blockquote class="sidequote"><p>rx-rate[/tx-rate] [rx-burst-rate[/tx-burst-rate] [rx-burst-threshold[/tx-burst-threshold] [rx-burst-time[/tx-burst-time] [priority] [rx-rate-min[/tx-rate-min]]]]</p></blockquote>
<p>All values inside braces are optional and the only value which is required is the rx-rate. If only the rx-rate is specified then the tx-rate will be the same as the rx-rate.</p>
<p>When working with rate limits it is important to remember that <span style="text-decoration: underline;">the rate limit is defined from the perspective of the Mikrotik and not the client device</span>. This means that the rx-rate (Receive rate) determines how fast the Mikrotik will receive traffic from the user (The users upload speed) and the tx-rate will control how fast the Mikrotik will send data to the user (The users download rate).</p>
<p>Let’s look at some definitions to get a clearer understanding of the values.</p>
<blockquote><p>Mikrotik-Rate-Limit = 1M</p></blockquote>
<p>This specifies that the user can upload and download at 1Mbit per second (1Mbit is equivalent to 128Kilobytes per second, which is 1MB of data over 8 seconds).</p>
<blockquote><p>Mikrotik-Rate-Limit = 1M/2M</p></blockquote>
<p>Here we specify an upload rate of 1Mbit per second and a download rate of 2Mbits per second.</p>
<p>We can also write the limit in Bits or Kbits, so using the same 1M/2M example we could specify:</p>
<blockquote><p>Mikrotik-Rate-Limit = 1024k/2048k</p></blockquote>
<p>Or</p>
<blockquote><p>Mikrotik-Rate-Limit = 1048576/2097152</p></blockquote>
<p>For more information on rate limits and burst profiles you can view the Mikrotik Documentation here: <a href="http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php">http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php</a>.</p>
<h3>IP Management</h3>
<p>The standard radius dictionary defines some useful attributes for controlling a client&#8217;s IP addresses and routing. Two useful attributes in this case are:</p>
<ul>
<li>Framed-IP-Address</li>
<li>Framed-Route</li>
</ul>
<h4>Framed-IP-Address</h4>
<p>When used in an Access Accept packet Framed-IP-Address specifies the IP that should be assigned to a user when they connect.</p>
<p>Example:</p>
<blockquote><p>Framed-IP-Address = 192.168.233.1</p></blockquote>
<p>When a user dials up and receives this attribute their end of the connection will come up with the following IP.</p>
<h4>Framed-Route</h4>
<p>Another useful attribute is the Framed-Route attribute. If you wish to route a network address block to an end user you can specify it here.</p>
<p>Example:</p>
<blockquote><p>Framed-Route = 172.16.10.0/24</p></blockquote>
<p>When the user dials up the Mikrotik will add a route to it’s local routing table to route 172.16.10.0/24 to the client’s device.</p>
<h3>Firewall and Security</h3>
<p>Radius can also be used to send some useful information for the purposes of firewalling or creating advanced queues.</p>
<h4>Filter-Id</h4>
<p>This attribute will place a user&#8217;s traffic into a specific firewall chain.</p>
<blockquote><p>Filter-Id = &lt;custom chain name&gt;</p></blockquote>
<p>This attribute allows you to redirect a user’s traffic to a custom firewall chain on the Mikrotik. The value it takes may simply be the name of a chain or additionally you can append “.in” or “.out” to the name of the chain. When appending “.in” or “.out” the Mikrotik will only redirect traffic on input (received from the client – client upload) or output (send to the client – client download).</p>
<p>The second attribute is:</p>
<blockquote><p>Mikrotik-Address-List = &lt;address list name&gt;</p></blockquote>
<p>This attribute will place a user into a Mikrotik address list on the NAS. Once the user is an address list you can use the address list in your firewall and routing rules to control the client traffic.</p>
<h3>Data Transfer Limits</h3>
<p>Finally there are a couple attributes useful for controlling the total amount of data a user can transmit on a connection before the NAS will disconnect the session.</p>
<h4>Mikrotik-Total-Limit</h4>
<blockquote><p>Mikrotik-Total-Limit = &lt;value&gt; (Value in bytes)<br />
Mikrotik-Total-Limit-Gigawords = (Value in gigawords)</p>
<p>*A gigaword is 4294967296 bytes (4GB) and the radius protocol contains the gigawords field since the regular byte fields are designed to only hold a 32-bit number. If you wanted to specify a limit of 5GB you would need to send 1 Gigaword (4GB) and 1073741824 bytes (1GB) in the regular limit field.</p></blockquote>
<p>Once the user has reached the limit sent in the radius attributes the session will be automatically disconnected.</p>
<p>The following attributes are also supported:</p>
<blockquote><p>Mikrotik-Recv-Limit = &lt;value&gt;<br />
Mikrotik-Recv-Limit-Gigawords = &lt;value&gt;</p>
<p>Mikrotik-Xmit-Limit = &lt;value&gt;<br />
Mikrotik-Xmit-Limit-Gigawords = &lt;value&gt;</p></blockquote>
<p>The Recv and Xmit attributes control the upload and download data limits of the connection and the connection will be terminated when either of these is reached. It functions exactly the same as the Mikrotik-Total-Limit attribute, but allows you some control over the direction.</p>
<h2>Part 2: Mikrotik Setup</h2>
<h3>Mikrotik Radius Settings</h3>
<p>For our Mikrotik radius setup we will start with one of the most popular scenarios for providing connections, PPPOE.</p>
<p>We begin our Mikrotik configuration by specifying our radius servers.</p>
<p><img decoding="async" fetchpriority="high" data-attachment-id="64" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/mikrotik1/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik1.jpg?fit=468%2C355&amp;ssl=1" data-orig-size="468,355" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Mikrotik Radius &#8211; Add radius server" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik1.jpg?fit=300%2C228&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik1.jpg?fit=468%2C355&amp;ssl=1" class="alignnone wp-image-64 " src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik1.jpg?resize=602%2C457&#038;ssl=1" alt="Mikrotik Radius - Add radius server" width="602" height="457" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik1.jpg?w=468&amp;ssl=1 468w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik1.jpg?resize=300%2C228&amp;ssl=1 300w" sizes="(max-width: 602px) 100vw, 602px" data-recalc-dims="1" /></p>
<p>To do this, head to the radius section and click the ‘+’ button to add a new radius server.</p>
<p><img decoding="async" data-attachment-id="65" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/mikrotik2/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik2.jpg?fit=468%2C379&amp;ssl=1" data-orig-size="468,379" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mikrotik radius &#8211; setup new radius server" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik2.jpg?fit=300%2C243&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik2.jpg?fit=468%2C379&amp;ssl=1" class="alignnone wp-image-65" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik2.jpg?resize=605%2C490&#038;ssl=1" alt="mikrotik radius - setup new radius server" width="605" height="490" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik2.jpg?w=468&amp;ssl=1 468w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik2.jpg?resize=300%2C243&amp;ssl=1 300w" sizes="(max-width: 605px) 100vw, 605px" data-recalc-dims="1" /></p>
<p>The radius server settings page allows you to specify which services will be available over radius.</p>
<ul>
<li>PPP – PPPOE connections and PPTP tunnels (VPNs).</li>
<li>Hotspot – Authentication over the hotspot landing page.</li>
<li>DHCP – The MAC address of the client is sent as a username when connecting to the DHCP server.</li>
<li>Login – We can use radius to login to the Mikrotik itself, this is useful if you have many Mikrotik devices and want to centrally manage your logins.</li>
<li>Wireless – Wireless authentication by MAC address.</li>
</ul>
<p>Under server address we enter our primary server IP address or hostname and our predefined radius secret. This radius secret must match what is held on the radius server. iBill.io users can find these details under ‘Setup’ &gt; ‘General Settings’ &gt; ‘Radius Configuration’.</p>
<p>Our radius ports also need to be defined, these are two separate ports, one for authentication traffic and one for accounting. Additionally, we set the Radius Timeout up to 3000ms to ensure network congestion does not cause a false timeout.</p>
<p>Once all of your settings are entered correctly click ‘OK’ to add the radius server.</p>
<p>Next we will do the same for the secondary Radius server. If the primary fails Mikrotik will start sending traffic to the secondary to keep services running.</p>
<p>Our secondary configuration looks almost identical, except here we have the secondary hostname or IP address specified.</p>
<p><img decoding="async" data-attachment-id="66" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/mikrotik3/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik3.jpg?fit=468%2C396&amp;ssl=1" data-orig-size="468,396" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mikrotik radius &#8211; setup secondary radius server" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik3.jpg?fit=300%2C254&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik3.jpg?fit=468%2C396&amp;ssl=1" class="alignnone wp-image-66" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik3.jpg?resize=611%2C517&#038;ssl=1" alt="mikrotik radius - setup secondary radius server" width="611" height="517" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik3.jpg?w=468&amp;ssl=1 468w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik3.jpg?resize=300%2C254&amp;ssl=1 300w" sizes="(max-width: 611px) 100vw, 611px" data-recalc-dims="1" /></p>
<p>After adding both servers you should have the following in your Radius pane.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="67" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/mikrotik4/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik4.jpg?fit=468%2C259&amp;ssl=1" data-orig-size="468,259" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mikrotik radius &#8211; radius servers added" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik4.jpg?fit=300%2C166&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik4.jpg?fit=468%2C259&amp;ssl=1" class="alignnone wp-image-67" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik4.jpg?resize=622%2C344&#038;ssl=1" alt="mikrotik radius - radius servers added" width="622" height="344" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik4.jpg?w=468&amp;ssl=1 468w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotik4.jpg?resize=300%2C166&amp;ssl=1 300w" sizes="(max-width: 622px) 100vw, 622px" data-recalc-dims="1" /></p>
<p>By double clicking an of the radius servers we can view the configuration and the status pane. The status pane will indicate the requests, responses and any problems with the configuration.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="36" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2011-09/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-09.png?fit=732%2C882&amp;ssl=1" data-orig-size="732,882" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2011-09" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-09.png?fit=249%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-09.png?fit=732%2C882&amp;ssl=1" class="alignnone wp-image-36" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-09.png?resize=514%2C619&#038;ssl=1" alt="Mikrotik Radius Server Status" width="514" height="619" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-09.png?w=732&amp;ssl=1 732w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-09.png?resize=249%2C300&amp;ssl=1 249w" sizes="(max-width: 514px) 100vw, 514px" data-recalc-dims="1" /></p>
<h2>Mikrotik Radius Incoming</h2>
<p>Next up we can configure incoming radius requests. Incoming radius requests allow the radius server to send a ‘Disconnect Message’ to the Mikrotik to disconnect a specific connection.</p>
<p>To do this, click the ‘Incoming’ button at the top of the Radius window and the following window will appear.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="37" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2011-11/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-11.png?fit=498%2C380&amp;ssl=1" data-orig-size="498,380" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2011-11" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-11.png?fit=300%2C229&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-11.png?fit=498%2C380&amp;ssl=1" class="alignnone wp-image-37" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-11.png?resize=498%2C380&#038;ssl=1" alt="Mikrotik Radius Incoming" width="498" height="380" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-11.png?w=498&amp;ssl=1 498w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-11.png?resize=300%2C229&amp;ssl=1 300w" sizes="(max-width: 498px) 100vw, 498px" data-recalc-dims="1" /></p>
<p>To enable incoming requests simply check the ‘Accept’ option and click ‘OK’. The port number may be changed if needed and configured under the NAS on the radius server.</p>
<h2>Configuring the Mikrotik PPPOE Server</h2>
<h3>Mikrotik IP Pools</h3>
<p>The first thing we will need to do is create an IP pool which will be used to assign IP addresses to incoming client connections. In this example we will give out IP’s in the 192.168.30.1-192.168.30.254 range.</p>
<p>We do this by going to ‘IP’ &gt; ‘Pool’ in winbox and clicking the add button ‘+’. Here is what it looks like when the pool has been created.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="38" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2011-17/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-17.png?fit=946%2C1134&amp;ssl=1" data-orig-size="946,1134" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2011-17" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-17.png?fit=250%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-17.png?fit=854%2C1024&amp;ssl=1" class="alignnone wp-image-38" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-17.png?resize=719%2C862&#038;ssl=1" alt="Mikrotik IP Pools" width="719" height="862" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-17.png?w=946&amp;ssl=1 946w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-17.png?resize=250%2C300&amp;ssl=1 250w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-17.png?resize=768%2C921&amp;ssl=1 768w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2011-17.png?resize=854%2C1024&amp;ssl=1 854w" sizes="(max-width: 719px) 100vw, 719px" data-recalc-dims="1" /></p>
<p>After adding our IP pool we can configure the PPPOE server.</p>
<h3>Mikrotik PPPOE Server Configuration</h3>
<p>To configure the PPPOE server, head to ‘PPP’ &gt; ‘PPPOE Servers’ and click the add button ‘+’.</p>
<p>Our server configuration looks like this:</p>
<p><img decoding="async" loading="lazy" data-attachment-id="39" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2012-03/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-03.png?fit=626%2C674&amp;ssl=1" data-orig-size="626,674" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2012-03" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-03.png?fit=279%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-03.png?fit=626%2C674&amp;ssl=1" class="alignnone wp-image-39" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-03.png?resize=626%2C674&#038;ssl=1" alt="Mikrotik - New PPPOE Service" width="626" height="674" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-03.png?w=626&amp;ssl=1 626w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-03.png?resize=279%2C300&amp;ssl=1 279w" sizes="(max-width: 626px) 100vw, 626px" data-recalc-dims="1" /></p>
<p>First we give the service a friendly name and we specify the interface the PPPOE server will listen on, this can be a wireless interface or a regular Ethernet interface, dependent on how the clients will be connecting to the network.</p>
<p>We also set the ‘Default Profile’ which determines which PPP profile will be used for client connections. In our case we chose the included ‘default-encryption’ profile.</p>
<p>After saving the new service your ‘PPPOE Servers’ list should look like this.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="40" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2012-08/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-08.png?fit=1508%2C740&amp;ssl=1" data-orig-size="1508,740" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2012-08" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-08.png?fit=300%2C147&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-08.png?fit=1024%2C502&amp;ssl=1" class="alignnone wp-image-40" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-08.png?resize=856%2C420&#038;ssl=1" alt="Mikrotik PPPOE Server Tab" width="856" height="420" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-08.png?w=1508&amp;ssl=1 1508w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-08.png?resize=300%2C147&amp;ssl=1 300w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-08.png?resize=768%2C377&amp;ssl=1 768w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-08.png?resize=1024%2C502&amp;ssl=1 1024w" sizes="(max-width: 856px) 100vw, 856px" data-recalc-dims="1" /></p>
<p>Next, we need to specify which IP addresses will be used for client connections. This is controlled under ‘Profiles’. In our case we selected the ‘default-encryption’ profile. So, let’s edit that profile and add the IP address information in.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="68" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/mirkotikradius/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius.jpg?fit=419%2C347&amp;ssl=1" data-orig-size="419,347" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mirkotik radius configure pppoe pool" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius.jpg?fit=300%2C248&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius.jpg?fit=419%2C347&amp;ssl=1" class="alignnone wp-image-68" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius.jpg?resize=598%2C495&#038;ssl=1" alt="mirkotik radius configure pppoe pool" width="598" height="495" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius.jpg?w=419&amp;ssl=1 419w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius.jpg?resize=300%2C248&amp;ssl=1 300w" sizes="(max-width: 598px) 100vw, 598px" data-recalc-dims="1" /></p>
<p>To configure the IP address information we simply specify a ‘Local Address’, this will be the Mikrotik’s IP Address on the PPPOE connection and the ‘Remote Address’ can be set to the IP pool we created earlier.</p>
<p>Finally, we need to configure PPP to use radius authentication and accounting. To do this, head to the ‘Secrets’ tab and click the ‘PPP Authentication &amp; Accounting’ button.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="69" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/mirkotikradius2/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius2.jpg?fit=454%2C222&amp;ssl=1" data-orig-size="454,222" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mikrotik radius pppoe authentication &#038; accounting" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius2.jpg?fit=300%2C147&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius2.jpg?fit=454%2C222&amp;ssl=1" class="alignnone wp-image-69" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius2.jpg?resize=656%2C321&#038;ssl=1" alt="mikrotik radius pppoe authentication &amp; accounting" width="656" height="321" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius2.jpg?w=454&amp;ssl=1 454w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mirkotikradius2.jpg?resize=300%2C147&amp;ssl=1 300w" sizes="(max-width: 656px) 100vw, 656px" data-recalc-dims="1" /></p>
<p>To enable radius authentication, we need to check the ‘Use Radius’ option. Accounting should be enabled by default, however it will only send start and stop packets unless we specify an ‘Interim Update’ period.</p>
<p>Set this value to value to 5 minutes to have the Mikrotik send usage information for each session every 5 minutes.</p>
<p>That’s it! Our PPPOE server is now configured and ready to accept client connections.</p>
<h2>Part 3: Adding A Client Connection</h2>
<p>Now that everything is set up we can configure a client to connect to our new PPPOE Service.</p>
<p>In our test scenario we have another Mikrotik (To be called “Client CPE” from here on out) connected to the Mikrotik over Ethernet.</p>
<p>Firstly, inside our <a href="https://ibill.io/?utm_source=blog&amp;utm_campaign=mikrotik_pppoe&amp;utm_medium=post">iBill.io</a> instance we have created a 1Mbit Uncapped product. We did this by using the Mikrotik-Rate-Limit attribute and specifying a rate of 512k/1024k</p>
<p><img decoding="async" loading="lazy" data-attachment-id="70" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/mikrotikradiusservice/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice.jpg?fit=355%2C131&amp;ssl=1" data-orig-size="355,131" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mikrotik radius pppoe service" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice.jpg?fit=300%2C111&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice.jpg?fit=355%2C131&amp;ssl=1" class="alignnone wp-image-70" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice.jpg?resize=382%2C141&#038;ssl=1" alt="mikrotik radius pppoe service" width="382" height="141" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice.jpg?w=355&amp;ssl=1 355w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice.jpg?resize=300%2C111&amp;ssl=1 300w" sizes="(max-width: 382px) 100vw, 382px" data-recalc-dims="1" /></p>
<p>We then created a service for the user as seen below.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="71" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/mikrotikradiusservice1/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice1.jpg?fit=472%2C494&amp;ssl=1" data-orig-size="472,494" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="mikrotik radius service details" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice1.jpg?fit=287%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice1.jpg?fit=472%2C494&amp;ssl=1" class="alignnone wp-image-71" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice1.jpg?resize=584%2C611&#038;ssl=1" alt="mikrotik radius service details" width="584" height="611" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice1.jpg?w=472&amp;ssl=1 472w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/mikrotikradiusservice1.jpg?resize=287%2C300&amp;ssl=1 287w" sizes="(max-width: 584px) 100vw, 584px" data-recalc-dims="1" /></p>
<p>The ‘Radius Username’ and ‘Radius Password’ is what our client will be using to connect to the PPPOE server.</p>
<p>Let’s get started and configure the Client’s CPE PPPOE interface.</p>
<p>Start by going to the ‘PPPOE’ menu in winbox and selecting the add button ‘+’ under the ‘Interfaces’ tab.</p>
<p>The ‘New Interface’ window will pop up. Under the first tab we can give the connection a friendly name and select interface to run over.</p>
<p>The ‘PPPoE Scan’ option will scan the selected interface and look for PPPoE servers which can be useful for debugging connection issues.</p>
<p>Here we have added a friendly connection name and set the connection to run on ether1.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="41" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2012-37/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-37.png?fit=776%2C858&amp;ssl=1" data-orig-size="776,858" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2012-37" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-37.png?fit=271%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-37.png?fit=776%2C858&amp;ssl=1" class="alignnone wp-image-41" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-37.png?resize=633%2C700&#038;ssl=1" alt="Mikrotik PPPOE Client Setup" width="633" height="700" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-37.png?w=776&amp;ssl=1 776w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-37.png?resize=271%2C300&amp;ssl=1 271w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-37.png?resize=768%2C849&amp;ssl=1 768w" sizes="(max-width: 633px) 100vw, 633px" data-recalc-dims="1" /></p>
<p>Next we will need to configure the ‘Dial Out’ settings for the service. This is where we enter the Radius Username and Password we created earlier.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="42" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2012-39/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-39.png?fit=776%2C856&amp;ssl=1" data-orig-size="776,856" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2012-39" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-39.png?fit=272%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-39.png?fit=776%2C856&amp;ssl=1" class="alignnone wp-image-42" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-39.png?resize=635%2C700&#038;ssl=1" alt="Mikrotik PPPOE Client Dial Out Settings" width="635" height="700" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-39.png?w=776&amp;ssl=1 776w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-39.png?resize=272%2C300&amp;ssl=1 272w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-39.png?resize=768%2C847&amp;ssl=1 768w" sizes="(max-width: 635px) 100vw, 635px" data-recalc-dims="1" /></p>
<p>We can also specify other options, such as DNS and whether to create a default route by default.</p>
<p>After entering the username and password, click the ‘Apply’ button and the PPPOE client should immediately begin to dial out.</p>
<p>Once you have applied the settings you can view the connection status in the ‘Status’ pane.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="43" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2012-41/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-41.png?fit=776%2C856&amp;ssl=1" data-orig-size="776,856" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2012-41" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-41.png?fit=272%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-41.png?fit=776%2C856&amp;ssl=1" class="alignnone wp-image-43" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-41.png?resize=645%2C711&#038;ssl=1" alt="Mikrotik PPPOE Interface Status" width="645" height="711" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-41.png?w=776&amp;ssl=1 776w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-41.png?resize=272%2C300&amp;ssl=1 272w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-41.png?resize=768%2C847&amp;ssl=1 768w" sizes="(max-width: 645px) 100vw, 645px" data-recalc-dims="1" /></p>
<p>As we can see the connection came up and the server allocated the IP addresses we specified earlier.</p>
<p>If we look at the ‘PPP’ &gt; ‘Interface’ tab on the PPPOE Server we can see the client is listed there.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="44" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2012-43/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-43.png?fit=1640%2C740&amp;ssl=1" data-orig-size="1640,740" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2012-43" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-43.png?fit=300%2C135&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-43.png?fit=1024%2C462&amp;ssl=1" class="alignnone wp-image-44" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-43.png?resize=855%2C386&#038;ssl=1" alt="Mikrotik PPPOE Server Active Connections" width="855" height="386" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-43.png?w=1640&amp;ssl=1 1640w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-43.png?resize=300%2C135&amp;ssl=1 300w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-43.png?resize=768%2C347&amp;ssl=1 768w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-43.png?resize=1024%2C462&amp;ssl=1 1024w" sizes="(max-width: 855px) 100vw, 855px" data-recalc-dims="1" /></p>
<p>Since we specified a speed limit for the client, the PPPOE Server will create a queue under ‘Queues’ &gt; ‘Simple Queues’.</p>
<p><img decoding="async" loading="lazy" data-attachment-id="45" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2012-45/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-45.png?fit=1228%2C726&amp;ssl=1" data-orig-size="1228,726" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2012-45" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-45.png?fit=300%2C177&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-45.png?fit=1024%2C605&amp;ssl=1" class="alignnone wp-image-45" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-45.png?resize=876%2C518&#038;ssl=1" alt="Mikrotik PPPOE Simple Queue" width="876" height="518" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-45.png?w=1228&amp;ssl=1 1228w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-45.png?resize=300%2C177&amp;ssl=1 300w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-45.png?resize=768%2C454&amp;ssl=1 768w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-45.png?resize=1024%2C605&amp;ssl=1 1024w" sizes="(max-width: 876px) 100vw, 876px" data-recalc-dims="1" /></p>
<p>We can also visit the service page on our <a href="https://ibill.io/?utm_source=blog&amp;utm_campaign=mikrotik_pppoe&amp;utm_medium=post">iBill.io </a>server and see the connection there.</p>
<h2><img decoding="async" loading="lazy" data-attachment-id="46" data-permalink="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/desktop-screen20shot202017-01-2320at2012-46/" data-orig-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-46.png?fit=1428%2C581&amp;ssl=1" data-orig-size="1428,581" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="-desktop-screen20shot202017-01-2320at2012-46" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-46.png?fit=300%2C122&amp;ssl=1" data-large-file="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-46.png?fit=1024%2C417&amp;ssl=1" class="alignnone wp-image-46" src="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-46.png?resize=1110%2C452&#038;ssl=1" alt="Radius Service Sessions Page" width="1110" height="452" srcset="https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-46.png?w=1428&amp;ssl=1 1428w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-46.png?resize=300%2C122&amp;ssl=1 300w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-46.png?resize=768%2C312&amp;ssl=1 768w, https://i0.wp.com/blog.ibill.io/wp-content/uploads/2017/01/desktop-screen20shot202017-01-2320at2012-46.png?resize=1024%2C417&amp;ssl=1 1024w" sizes="(max-width: 1000px) 100vw, 1000px" data-recalc-dims="1" /></h2>
<h2>Looking for a Mikrotik Radius Server?</h2>
<p>Try our easy to use <a href="https://ibill.io/" target="_blank" rel="noopener">ISP Radius and Billing solution</a> and have one available in the cloud in 30 seconds. Our free trial is a great way to learn more about mikrotik radius and PPPOE by practicing and testing your knowledge.</p>
<p>We hope you gained some insights from our Mikrotik Radius and PPPOE guide. If you have any questions please feel free to leave a comment or contact our <a href="https://helpdesk.ibill.io/" target="_blank" rel="noopener">helpdesk</a>.</p>
<p>The post <a rel="nofollow" href="https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/">Mikrotik Radius, PPPOE Server and PPPOE Client Setup Guide</a> appeared first on <a rel="nofollow" href="https://blog.ibill.io">iBill.io</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.ibill.io/mikrotik-radius-pppoe-server-setup-guide/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">35</post-id>	</item>
		<item>
		<title>What is a Radius Server?</title>
		<link>https://blog.ibill.io/what-is-a-radius-server/</link>
					<comments>https://blog.ibill.io/what-is-a-radius-server/#respond</comments>
		
		<dc:creator><![CDATA[ibill]]></dc:creator>
		<pubDate>Tue, 20 Dec 2016 13:25:07 +0000</pubDate>
				<category><![CDATA[Radius]]></category>
		<category><![CDATA[AAA]]></category>
		<category><![CDATA[radius]]></category>
		<category><![CDATA[radius accounting]]></category>
		<category><![CDATA[radius server]]></category>
		<guid isPermaLink="false">https://blog.ibill.io/?p=10</guid>

					<description><![CDATA[<p>One of the most important aspects of setting up an ISP (Internet Service Provider) is ensuring you have a rock solid Radius Server (Also known as AAA &#8211; Authentication, Authorization and Accounting) . Radius, which stands for Remote Authentication Dial In User System, controls both access to your network devices and traffic accounting for data used. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.ibill.io/what-is-a-radius-server/">What is a Radius Server?</a> appeared first on <a rel="nofollow" href="https://blog.ibill.io">iBill.io</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One of the most important aspects of setting up an ISP (Internet Service Provider) is ensuring you have a rock solid Radius Server (Also known as AAA &#8211; Authentication, Authorization and Accounting) . Radius, which stands for Remote Authentication Dial In User System, controls both access to your network devices and traffic accounting for data used. With a central Radius Server you can quickly allow or disallow network access, see who is currently connected and monitor their network usage.</p>
<p>Below we will look at a typical connection cycle and the radius traffic between the Radius Client and Radius Server.</p>
<p>A typical session to your NAS (Network Access Server) will begin with Radius Authentication and once the user&#8217;s session has successfully been authenticated the NAS will send Radius Accounting information to track the session.</p>
<h2>Radius Authentication</h2>
<p>Let&#8217;s start by having a look at the basic flow of Radius Authentication. Let&#8217;s say you have client X who is connecting to your Mikrotik PPPOE Server. We use Mikrotik as an example here, but the same holds true for any device which operates over the Radius Protocol.</p>
<p>First off the user will initiate a session over PPPOE and send along a Username and Password for their connection.</p>
<p>The mikrotik will receive these details and construct a Radius Access-Request packet.</p>
<h4>A typical Radius Access-Request Packet.</h4>
<pre>Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Port = 15732834
NAS-Port-Type = Ethernet
User-Name = "example@ibill.io"
Calling-Station-Id = "00:00:1E:2E:3E:A0"
Called-Station-Id = "PPPoE"
NAS-Port-Id = "eth1"
MS-CHAP-Domain = "ibill.io"
CHAP-Challenge = 0xe7da8697192738465509d9fc3dc1d7fd
CHAP-Password = 0x0173c707ea3c510bc76b37f3a6b0c29fdc
NAS-Identifier = "Mikrotik"
Mikrotik-Realm = "ibill.io"
NAS-IP-Address = 10.0.0.1
</pre>
<p>&nbsp;</p>
<p>When this packet is received by the radius server a few actions will take place.</p>
<ol>
<li>The source ip of the packet will be checked to see if it&#8217;s allowed to send traffic to the radius server.</li>
<li>The User-Name will be checked to see if it&#8217;s valid and allowed to connect.</li>
<li>The password will be verified. There are multiple methods of sending a password, each of these methods uses some form of hashing against the radius secret. (When the radius secret does not match between the radius client and the server the password will always fail to verify.)</li>
<li>Once the user and password have been verified the server will then reply with either an Access-Accept or Access-Reject.</li>
<li>Additionally some attributes may be added to the reply. These attributes can include speed limits, transfer limits, IP addresses or various other AVP&#8217;s (Attribute Value Pairs) which can change the parameters of the connection.</li>
</ol>
<h4>A typical Access-Accept packet.</h4>
<pre>Acct-Interim-Interval = 300
Framed-IP-Address = 10.1.1.1
Class = 0x57696d617834122314
Mikrotik-Rate-Limit = "1M/2M"
</pre>
<p>&nbsp;</p>
<p>In this example we send an Access-Accept to say the connection is allowed. Some additional AVP&#8217;s are sent here, including the expected Interim for the radius accounting packets, an IP Address to assign to the connection, a rate limit (1 Mbit upload, 2 Mbit download) and a class to identify the session.</p>
<h2>Radius Accounting</h2>
<p>Once the Mikrotik receives the radius Access-Accept the connection setup will complete and a radius Accounting-Request will be sent to the radius server. The first Accounting-Request which is sent is known as the Accounting Start. This packet signifies that it is a new session which needs to be tracked.</p>
<h4>A typical Accounting-Request Start packet.</h4>
<pre>Acct-Status-Type = Start
NAS-Port-Type = Ethernet
Calling-Station-Id = "00:00:1E:2E:3E:A0"
Called-Station-Id = "PPPoE"
NAS-Port-Id = "eth1"
User-Name ="example@ibill.io"
NAS-Port =15732834
Acct-Session-Id = "80e00136"
Framed-IP-Address = 10.1.1.1
Mikrotik-Host-IP = 10.1.0.1
Event-Timestamp = "Dec 20 2016 13:37:00 GMT"
NAS-Identifier = "Mikrotik"
Acct-Delay-Time = 0
NAS-IP-Address = 10.0.0.1
Class = 0x57696d617834122314
</pre>
<p>&nbsp;</p>
<p>The Accounting start packet contains everything needed to identify the session, include the unique session id on the NAS, the user&#8217;s IP address and relevant port/media information of the connection.</p>
<p>After the Acct-Interim-Interval supplied on authentication (this interval can also be directly configured on the device without the need to send it via the accept) has elapsed the NAS will send an Interim-Update Accounting-Request.</p>
<p>The Interim-Update is very similar to the start packet but contains some extra information, such as the length of the session and the amount of data transferred during the lifecycle of the session.</p>
<h4>A typical Interim-Update packet.</h4>
<pre>Acct-Status-Type = Interim-Update
NAS-Port-Type = Ethernet
Calling-Station-Id = "00:00:1E:2E:3E:A0"
Called-Station-Id = "PPPoE"
NAS-Port-Id = "eth1"
User-Name ="example@ibill.io"
NAS-Port =15732834
Acct-Session-Id = "80e00136"
Framed-IP-Address = 10.1.1.1
Mikrotik-Host-IP = 10.1.0.1
Event-Timestamp = "Dec 20 2016 13:37:00 GMT"
NAS-Identifier = "Mikrotik"
Acct-Delay-Time = 0
NAS-IP-Address = 10.0.0.1
Class = 0x57696d617834122314
Acct-Input-Octets = 4762630
Acct-Output-Octets = 124009799
Acct-Session-Time = 300
Acct-Input-Packets = 69492
Acct-Output-Packets = 92722
</pre>
<p>&nbsp;</p>
<p>Here we have the same identifying information for the session as was present in the Start packet. We also have some new information such as Acct-Input-Octets (The amount of bytes sent from the user to the NAS &#8211; uploaded bytes), Acct-Output-Octets (Bytes sent from NAS to user &#8211; downloaded bytes) and the Acct-Session-Time (Length in seconds that the user has been online for).</p>
<p>When the session is finally terminated the NAS will send one last Accounting-Request packet. This is the Stop request and it signals to the radius server that the session has ended.</p>
<h4>A typical Stop packet.</h4>
<pre>Acct-Status-Type = Stop
NAS-Port-Type = Ethernet
Calling-Station-Id = "00:00:1E:2E:3E:A0"
Called-Station-Id = "PPPoE"
NAS-Port-Id = "eth1"
User-Name ="example@ibill.io"
NAS-Port =15732834
Acct-Session-Id = "80e00136"
Framed-IP-Address = 10.1.1.1
Mikrotik-Host-IP = 10.1.0.1
Event-Timestamp = "Dec 20 2016 13:37:00 GMT"
NAS-Identifier = "Mikrotik"
Acct-Delay-Time = 0
NAS-IP-Address = 10.0.0.1
Class = 0x57696d617834122314
Acct-Input-Octets = 5695632
Acct-Output-Octets = 125013767
Acct-Session-Time = 367
Acct-Input-Packets = 71627
Acct-Output-Packets = 98318
Acct-Terminate-Cause = User-Request
</pre>
<p>&nbsp;</p>
<p>The Stop packet is almost the same as the Interim-Update packet but once again contains extra information. In this case the Acct-Terminate-Cause indicates the reason the connection was closed. The Octets counters also contain the final tally of data used during the session.</p>
<p>We hope this basic overview of the Radius protocol gives you a greater understanding of the interaction that takes place between a NAS and a Radius Server. If you have any questions please feel free to add a comment and we will try answer them for you.</p>
<h2>Looking for a Radius Server ?</h2>
<p>Try our easy to use <a href="https://ibill.io/" target="_blank" rel="noopener">ISP Radius and Billing solution</a> and have one available in the cloud in 30 seconds. Our free trial is a great way to learn more by practicing and testing your Radius Configurations.</p>
<p>The post <a rel="nofollow" href="https://blog.ibill.io/what-is-a-radius-server/">What is a Radius Server?</a> appeared first on <a rel="nofollow" href="https://blog.ibill.io">iBill.io</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.ibill.io/what-is-a-radius-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">10</post-id>	</item>
	</channel>
</rss>
