<?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>Uncategorized &#8211; StubArea51.net</title>
	<atom:link href="https://stubarea51.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>https://stubarea51.net</link>
	<description>Whitebox Network Engineering , News and Reviews</description>
	<lastBuildDate>Thu, 29 Aug 2024 08:53:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.16</generator>
<site xmlns="com-wordpress:feed-additions:1">95485312</site>	<item>
		<title>Juniper to Mikrotik &#8211; MPLS Commands</title>
		<link>https://stubarea51.net/2021/02/06/juniper-to-mikrotik-mpls-commands/</link>
					<comments>https://stubarea51.net/2021/02/06/juniper-to-mikrotik-mpls-commands/#respond</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Sat, 06 Feb 2021 14:40:53 +0000</pubDate>
				<category><![CDATA[Juniper]]></category>
		<category><![CDATA[MikroTIk]]></category>
		<category><![CDATA[MPLS]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[MikroTik]]></category>
		<category><![CDATA[mpls]]></category>
		<guid isPermaLink="false">https://stubarea51.net/?p=2318</guid>

					<description><![CDATA[About the Juniper to MikroTik series In the world of network engineering, learning a new syntax for a NOS can be daunting if you need a specific config quickly.&#160; Juniper is a popular option for service providers/data centers and is widely deployed across the world.&#160; This is a continuation of the Rosetta stone for network [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2>About the Juniper to MikroTik series</h2>



<p>In the world of network engineering, learning a new syntax for a NOS can be daunting if you need a specific config quickly.&nbsp; Juniper is a popular option for service providers/data centers and is widely deployed across the world.&nbsp;</p>



<p>This is a continuation of the Rosetta stone for network operating systems series.&nbsp;&nbsp;In this article we will be covering multi-protocol label switching (MPLS) using label distribution protocol (LDP).  We are sticking with LDP as MikroTik does not have wide support for RSVP-TE. </p>



<p>You can find the first two articles of the series here:</p>



<p><a href="https://stubarea51.net/2021/01/24/juniper-to-mikrotik-bgp-commands/">Juniper to MikroTik &#8211; BGP commands</a></p>



<p><a href="https://stubarea51.net/2021/01/31/juniper-to-mikrotik-ospf-commands/">Juniper to MikroTik &#8211; OSPF commands</a>  </p>



<p>While many commands have almost the exact same information, others are as close as possible.&nbsp; Since there isn’t always an exact match, sometimes you may have to run two or three commands to get the information needed.&nbsp;</p>



<h2>Using EVE-NG for testing</h2>



<p>We conducted utilized EVE-NG for all of the testing with the topology seen below.</p>



<figure class="wp-block-image size-large"><img width="1024" height="484" src="https://stubarea51.net/wp-content/uploads/2021/01/image-54-1024x484.png" alt="" class="wp-image-2321" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-54-1024x484.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-54-300x142.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-54-768x363.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-54-1536x726.png 1536w, https://stubarea51.net/wp-content/uploads/2021/01/image-54-2048x968.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>




<table id="tablepress-11" class="tablepress tablepress-id-11">
<thead>
<tr class="row-1 odd">
	<th class="column-1">Juniper Command</th><th class="column-2">MikroTik Command</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even">
	<td class="column-1">show ldp neighbor</td><td class="column-2">mpls ldp neighbor print</td>
</tr>
<tr class="row-3 odd">
	<td class="column-1">show ldp interface</td><td class="column-2">mpls ldp interface print</td>
</tr>
<tr class="row-4 even">
	<td class="column-1">show route forwarding-table family mpls</td><td class="column-2">mpls forwarding-table print</td>
</tr>
<tr class="row-5 odd">
	<td class="column-1">show ldp database</td><td class="column-2">mpls remote-bindings print</td>
</tr>
<tr class="row-6 even">
	<td class="column-1">show ldp database</td><td class="column-2">mpls local-bindings print</td>
</tr>
<tr class="row-7 odd">
	<td class="column-1">show mpls label usage</td><td class="column-2">mpls print</td>
</tr>
<tr class="row-8 even">
	<td class="column-1">set interfaces ge-0/0/0 unit 0 family mpls<br />
set protocols ldp interface ge-0/0/0.0</td><td class="column-2">/mpls ldp interface<br />
add interface=ether1</td>
</tr>
<tr class="row-9 odd">
	<td class="column-1">set routing-options router-id 10.1.1.1</td><td class="column-2">/mpls ldp<br />
set enabled=yes lsr-id=10.1.1.3</td>
</tr>
</tbody>
</table>
<!-- #tablepress-11 from cache -->



<hr class="wp-block-separator"/>



<h2 class="has-text-align-center">Examples of the commands above</h2>



<hr class="wp-block-separator"/>



<p>This first command will show you some basic information about your MPLS LDP neighbors.  On juniper you can add the keyword detail to the end for additional information on the neighbors.  </p>



<p><strong>[admin@MikroTik-R3] &gt; mpls ldp neighbor print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="191" src="https://stubarea51.net/wp-content/uploads/2021/01/image-64-1024x191.png" alt="" class="wp-image-2336" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-64-1024x191.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-64-300x56.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-64-768x143.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-64.png 1116w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>root@JUNOS-R2&gt; show ldp neighbor</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="134" src="https://stubarea51.net/wp-content/uploads/2021/01/image-63-1024x134.png" alt="" class="wp-image-2335" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-63-1024x134.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-63-300x39.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-63-768x101.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-63.png 1158w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator"/>



<p>This command will list all of the interfaces that are currently enabled for LDP.  </p>



<p><strong>[admin@MikroTik-R3] &gt; mpls ldp interface print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="169" src="https://stubarea51.net/wp-content/uploads/2021/01/image-65-1024x169.png" alt="" class="wp-image-2337" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-65-1024x169.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-65-300x49.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-65-768x127.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-65.png 1068w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>root@JUNOS-R2&gt; show ldp interface</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="168" src="https://stubarea51.net/wp-content/uploads/2021/01/image-62-1024x168.png" alt="" class="wp-image-2334" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-62-1024x168.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-62-300x49.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-62-768x126.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-62.png 1170w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator"/>



<p>Use this command to display the MPLS forwarding table which shows what labels are assigned, the interface used and the next-hop.  It will also tell you the action taken such as pop, swap, or push.  </p>



<p><strong>[admin@MikroTik-R3] &gt; mpls forwarding-table print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="247" src="https://stubarea51.net/wp-content/uploads/2021/01/image-61-1024x247.png" alt="" class="wp-image-2333" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-61-1024x247.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-61-300x72.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-61-768x185.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-61-1140x276.png 1140w, https://stubarea51.net/wp-content/uploads/2021/01/image-61.png 1144w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>root@JUNOS-R2&gt; show route forwarding-table family mpls</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="495" src="https://stubarea51.net/wp-content/uploads/2021/01/image-60-1024x495.png" alt="" class="wp-image-2332" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-60-1024x495.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-60-300x145.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-60-768x371.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-60.png 1166w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<hr class="wp-block-separator"/>



<p>The next two commands will be combined since juniper only has one command to be equivalent to mikrotiks output.  This is will show the advertised and received labels for all of the prefixes known to LDP as well as the label associated with it and where it was learned from.  On JunOS you will notice label 3.  This is juiper&#8217;s method to signal implicit null and request label popping by the downstream router.  </p>



<p><strong>[admin@MikroTik-R3] &gt; mpls remote-bindings print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="908" height="520" src="https://stubarea51.net/wp-content/uploads/2021/01/image-59.png" alt="" class="wp-image-2331" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-59.png 908w, https://stubarea51.net/wp-content/uploads/2021/01/image-59-300x172.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-59-768x440.png 768w" sizes="(max-width: 908px) 100vw, 908px" /></figure>



<p><strong>[admin@MikroTik-R3] &gt; mpls local-bindings print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="916" height="616" src="https://stubarea51.net/wp-content/uploads/2021/01/image-58.png" alt="" class="wp-image-2330" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-58.png 916w, https://stubarea51.net/wp-content/uploads/2021/01/image-58-300x202.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-58-768x516.png 768w" sizes="(max-width: 916px) 100vw, 916px" /></figure>



<p><strong>root@JUNOS-R2&gt; show ldp database</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="596" height="1024" src="https://stubarea51.net/wp-content/uploads/2021/01/image-57-596x1024.png" alt="" class="wp-image-2328" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-57-596x1024.png 596w, https://stubarea51.net/wp-content/uploads/2021/01/image-57-175x300.png 175w, https://stubarea51.net/wp-content/uploads/2021/01/image-57.png 764w" sizes="(max-width: 596px) 100vw, 596px" /></figure>



<hr class="wp-block-separator"/>



<p>This last command will show the label ranges and what they are used for.  </p>



<p><strong>[admin@MikroTik-R3] &gt; mpls print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="512" height="114" src="https://stubarea51.net/wp-content/uploads/2021/01/image-56.png" alt="" class="wp-image-2327" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-56.png 512w, https://stubarea51.net/wp-content/uploads/2021/01/image-56-300x67.png 300w" sizes="(max-width: 512px) 100vw, 512px" /></figure>



<p><strong>root@JUNOS-R2&gt; show mpls label usage</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="143" src="https://stubarea51.net/wp-content/uploads/2021/01/image-55-1024x143.png" alt="" class="wp-image-2326" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-55-1024x143.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-55-300x42.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-55-768x108.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-55.png 1514w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<h2>Configurations</h2>



<pre class="wp-block-code"><code>root@JUNOS-R1# show | display set
set version 18.2R1.9
set system root-authentication encrypted-password "$6$iCt/DOMc$lQFrIQdrjot1m0lIY5A2eUaOmat87oAqbNZWd/3KPij2QWTlBQEyYlVbb1/emd2N9VKN6NL0olk.kJK7mLcgM0"
set system host-name JUNOS-R1
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet
set interfaces ge-0/0/0 unit 0 family inet address 203.0.113.1/29
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces fxp0 unit 0 family inet dhcp vendor-id Juniper-vmx-VM6015C6C2F2
set interfaces lo0 unit 0 family inet address 10.1.1.1/32
set routing-options router-id 10.1.1.1
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ldp interface ge-0/0/0.0</code></pre>



<pre class="wp-block-code"><code>root@JUNOS-R2# show | display set
set version 18.2R1.9
set system root-authentication encrypted-password "$6$x.MmgodX$XG1D3lCYPC8VpIhE8NXxdRJaoZS8sYB2PB0v50POrrx6Mi.nhnTB/41NGFk1zL8RDQBdR/lCPG2NazFDYgzNf/"
set system host-name JUNOS-R2
set system syslog user * any emergency
set system syslog file messages any notice
set system syslog file messages authorization info
set system syslog file interactive-commands interactive-commands any
set system processes dhcp-service traceoptions file dhcp_logfile
set system processes dhcp-service traceoptions file size 10m
set system processes dhcp-service traceoptions level all
set system processes dhcp-service traceoptions flag packet
set interfaces ge-0/0/0 unit 0 family inet address 203.0.113.2/29
set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/1 unit 0 family inet address 203.0.113.9/29
set interfaces ge-0/0/1 unit 0 family mpls
set interfaces fxp0 unit 0 family inet dhcp vendor-id Juniper-vmx-VM6015C6C3B3
set interfaces lo0 unit 0 family inet address 10.1.1.2/32
set routing-options router-id 10.1.1.2
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0
set protocols ospf area 0.0.0.0 interface ge-0/0/1.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols ldp interface ge-0/0/0.0
set protocols ldp interface ge-0/0/1.0</code></pre>



<pre class="wp-block-code"><code>&#091;admin@MikroTik-R3] &gt; export
# jan/31/2021 20:52:19 by RouterOS 6.46.8
# software id =
#
#
#
/interface bridge
add name=Loopback0
/interface wireless security-profiles
set &#091; find default=yes ] supplicant-identity=MikroTik
/ip address
add address=203.0.113.10/29 interface=ether1 network=203.0.113.8
add address=10.1.1.3 interface=Loopback0 network=10.1.1.3
add address=203.0.113.17/29 interface=ether2 network=203.0.113.16
/ip dhcp-client
add disabled=no interface=ether2
add disabled=no interface=ether1
/mpls ldp
set enabled=yes lsr-id=10.1.1.3
/mpls ldp interface
add interface=ether1
add interface=ether2
/routing ospf network
add area=backbone network=203.0.113.8/29
add area=backbone network=10.1.1.3/32
add area=backbone network=203.0.113.16/29
/system identity
set name=MikroTik-R3</code></pre>



<pre class="wp-block-code"><code>&#091;admin@MikroTik-R4] &gt; export
# jan/31/2021 21:06:10 by RouterOS 6.46.8
# software id =
#
#
#
/interface bridge
add name=Loopback0
/interface wireless security-profiles
set &#091; find default=yes ] supplicant-identity=MikroTik
/ip address
add address=203.0.113.18/29 interface=ether1 network=203.0.113.16
add address=10.1.1.4 interface=Loopback0 network=10.1.1.4
/ip dhcp-client
add disabled=no interface=ether2
add disabled=no interface=ether1
/mpls ldp
set enabled=yes lsr-id=10.1.1.4
/mpls ldp interface
add interface=ether1
/routing ospf network
add area=backbone network=203.0.113.16/29
add area=backbone network=10.1.1.4/32
/system identity
set name=MikroTik-R4</code></pre>



<p>Thanks for joining us for this series and check back soon for more posts.   </p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2021/02/06/juniper-to-mikrotik-mpls-commands/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2318</post-id>	</item>
		<item>
		<title>Juniper To MikroTik &#8211; OSPF Commands</title>
		<link>https://stubarea51.net/2021/01/31/juniper-to-mikrotik-ospf-commands/</link>
					<comments>https://stubarea51.net/2021/01/31/juniper-to-mikrotik-ospf-commands/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Mon, 01 Feb 2021 05:50:33 +0000</pubDate>
				<category><![CDATA[Juniper]]></category>
		<category><![CDATA[MikroTIk]]></category>
		<category><![CDATA[OSPF]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[MikroTik]]></category>
		<guid isPermaLink="false">https://stubarea51.net/?p=2276</guid>

					<description><![CDATA[About the Juniper to MikroTik Series In the world of network engineering, learning a new syntax for a NOS can be daunting if you need a specific config quickly.&#160; Juniper is a popular option for service providers/data centers and is widely deployed across the world.&#160; This is a continuation of the Rosetta stone for network [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h4>About the Juniper to MikroTik Series</h4>



<p>In the world of network engineering, learning a new syntax for a NOS can be daunting if you need a specific config quickly.&nbsp; Juniper is a popular option for service providers/data centers and is widely deployed across the world.&nbsp;</p>



<p>This is a continuation of the Rosetta stone for network operating systems series.&nbsp; In this portion of the series we will be covering Open Shortest Path First, OSPF, version 2 which is a popular interior gateway protocol (IGP).   </p>



<p>You can find the first article of the series Juniper to Mikrotik &#8211; BGP Commands <a href="https://stubarea51.net/2021/01/24/juniper-to-mikrotik-bgp-commands/">here</a>.</p>



<p>While many commands have almost the exact same information, others are as close as possible.&nbsp; Since there isn’t always an exact match, sometimes you may have to run two or three commands to get the information needed.&nbsp;</p>



<h4>Using EVE-NG for testing</h4>



<p>We conducted all testing on EVE-NG utilizing the topology seen below.  </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="378" src="https://stubarea51.net/wp-content/uploads/2021/01/image-44-1024x378.png" alt="" class="wp-image-2298" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-44-1024x378.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-44-300x111.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-44-768x284.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-44-1536x567.png 1536w, https://stubarea51.net/wp-content/uploads/2021/01/image-44.png 1630w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>




<table id="tablepress-10" class="tablepress tablepress-id-10">
<thead>
<tr class="row-1 odd">
	<th class="column-1">JunOS Command</th><th class="column-2">MikroTik Command</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even">
	<td class="column-1">show ospf neighbor</td><td class="column-2">routing ospf neighbor print</td>
</tr>
<tr class="row-3 odd">
	<td class="column-1">show ospf interface</td><td class="column-2">routing ospf interface print</td>
</tr>
<tr class="row-4 even">
	<td class="column-1">show ospf overview brief</td><td class="column-2">routing ospf instance print detail</td>
</tr>
<tr class="row-5 odd">
	<td class="column-1">show ospf database</td><td class="column-2">routing ospf lsa print</td>
</tr>
<tr class="row-6 even">
	<td class="column-1">show route protocol ospf</td><td class="column-2">ip route print where ospf=yes</td>
</tr>
<tr class="row-7 odd">
	<td class="column-1">show ospf route abr</td><td class="column-2">routing ospf area-border-router print</td>
</tr>
<tr class="row-8 even">
	<td class="column-1">show ospf route asbr</td><td class="column-2">routing ospf as-border-router print</td>
</tr>
<tr class="row-9 odd">
	<td class="column-1">edit protocols ospf</td><td class="column-2">/routing ospf instance</td>
</tr>
<tr class="row-10 even">
	<td class="column-1">set routing-options router-id 203.0.113.1</td><td class="column-2">/routing ospf instance set 0 router-id=203.0.113.2</td>
</tr>
<tr class="row-11 odd">
	<td class="column-1">set protocols ospf area 0.0.0.0 interface lo0.0</td><td class="column-2">/routing ospf network add area=backbone network=203.0.113.2/32</td>
</tr>
<tr class="row-12 even">
	<td class="column-1">set protocols ospf area 0.0.0.0 interface ge-0/0/0.0</td><td class="column-2">	/routing ospf network<br />
add area=backbone network=203.0.113.128/29</td>
</tr>
<tr class="row-13 odd">
	<td class="column-1">set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p<br />
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 hello-interval 1<br />
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 dead-interval 4</td><td class="column-2">/routing ospf interface add dead-interval=4s hello-interval=1s interface=ether1 network-type=point-to-point</td>
</tr>
</tbody>
</table>
<!-- #tablepress-10 from cache -->



<hr class="wp-block-separator"/>



<h4 class="has-text-align-center">Examples of the commands above</h4>



<hr class="wp-block-separator"/>



<p>This first command will show you all of the routers you have an OSPF neighbor adjacency with. </p>



<p><strong>[admin@MIKROTIK-OSPF] &gt; routing ospf neighbor print</strong></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="https://stubarea51.net/wp-content/uploads/2021/01/image-32-1024x91.png" alt="" class="wp-image-2286" width="880" height="78" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-32-1024x91.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-32-300x27.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-32-768x69.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-32-1536x137.png 1536w, https://stubarea51.net/wp-content/uploads/2021/01/image-32.png 1590w" sizes="(max-width: 880px) 100vw, 880px" /></figure>



<p><strong>root@JUNOS-OSPF&gt; show ospf neighbor</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="108" src="https://stubarea51.net/wp-content/uploads/2021/01/image-34-1024x108.png" alt="" class="wp-image-2288" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-34-1024x108.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-34-300x32.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-34-768x81.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-34.png 1098w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>This next command lists all of the interface enabled for OSPF as well as some basic information such as cost, priority, and network type.  Juniper displays slightly different information such as area, DR info, and number of neighbors.  Juniper does not have the concept of a network statement so interfaces explicitly configured for OSPF will appear here.  You can optionally add the detail command on JunOS for more information.  </p>



<p><strong>[admin@MIKROTIK-OSPF] &gt; routing ospf interface print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="291" src="https://stubarea51.net/wp-content/uploads/2021/01/image-51-1024x291.png" alt="" class="wp-image-2309" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-51-1024x291.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-51-300x85.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-51-768x219.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-51.png 1216w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>root@JUNOS-OSPF&gt; show ospf interface</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="128" src="https://stubarea51.net/wp-content/uploads/2021/01/image-37-1024x128.png" alt="" class="wp-image-2291" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-37-1024x128.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-37-300x37.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-37-768x96.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-37-1140x144.png 1140w, https://stubarea51.net/wp-content/uploads/2021/01/image-37.png 1154w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>This command will list all of the details regarding the OSPF instances running on the router.  </p>



<p><strong>[admin@MIKROTIK-OSPF] &gt; routing ospf instance print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="188" src="https://stubarea51.net/wp-content/uploads/2021/01/image-53-1024x188.png" alt="" class="wp-image-2312" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-53-1024x188.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-53-300x55.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-53-768x141.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-53.png 1284w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>root@JUNOS-OSPF&gt; show ospf overview brief</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="972" height="730" src="https://stubarea51.net/wp-content/uploads/2021/01/image-39.png" alt="" class="wp-image-2293" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-39.png 972w, https://stubarea51.net/wp-content/uploads/2021/01/image-39-300x225.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-39-768x577.png 768w" sizes="(max-width: 972px) 100vw, 972px" /></figure>



<p>This command lists all of the OSPF LSAs as well as some details about them. </p>



<p><strong>[admin@MIKROTIK-OSPF] &gt; routing ospf lsa print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="498" src="https://stubarea51.net/wp-content/uploads/2021/01/image-50-1024x498.png" alt="" class="wp-image-2308" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-50-1024x498.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-50-300x146.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-50-768x373.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-50.png 1214w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>root@JUNOS-OSPF&gt; show ospf database</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="234" src="https://stubarea51.net/wp-content/uploads/2021/01/image-41-1024x234.png" alt="" class="wp-image-2295" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-41-1024x234.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-41-300x69.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-41-768x176.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-41.png 1102w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>This next command will show all of the OSPF routes in the routing table.</p>



<p><strong>[admin@MIKROTIK-OSPF] &gt; ip route print where ospf=yes</strong></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="https://stubarea51.net/wp-content/uploads/2021/01/image-43-1024x119.png" alt="" class="wp-image-2297" width="826" height="95" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-43-1024x119.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-43-300x35.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-43-768x89.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-43.png 1512w" sizes="(max-width: 826px) 100vw, 826px" /></figure>



<p><strong>root@JUNOS-OSPF&gt; show route protocol ospf</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="944" height="388" src="https://stubarea51.net/wp-content/uploads/2021/01/image-42.png" alt="" class="wp-image-2296" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-42.png 944w, https://stubarea51.net/wp-content/uploads/2021/01/image-42-300x123.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-42-768x316.png 768w" sizes="(max-width: 944px) 100vw, 944px" /></figure>



<p>This next set of commands will show you the area-border-routers or autonomous-system-boundary routers.  We injected a connected route into OSPF to generate a type-5 LSA for an external route.  </p>



<p><strong>[admin@MIKROTIK-OSPF] &gt; routing ospf area-border-router print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="309" src="https://stubarea51.net/wp-content/uploads/2021/01/image-52-1024x309.png" alt="" class="wp-image-2311" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-52-1024x309.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-52-300x91.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-52-768x232.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-52.png 1112w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>[admin@MIKROTIK-OSPF] &gt; routing ospf as-border-router print</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="868" height="150" src="https://stubarea51.net/wp-content/uploads/2021/01/image-46.png" alt="" class="wp-image-2300" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-46.png 868w, https://stubarea51.net/wp-content/uploads/2021/01/image-46-300x52.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-46-768x133.png 768w" sizes="(max-width: 868px) 100vw, 868px" /></figure>



<p><strong>root@JUNOS-OSPF&gt; show ospf route abr</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="197" src="https://stubarea51.net/wp-content/uploads/2021/01/image-47-1024x197.png" alt="" class="wp-image-2301" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-47-1024x197.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-47-300x58.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-47-768x148.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-47.png 1134w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>root@JUNOS-OSPF&gt; show ospf route asbr</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="195" src="https://stubarea51.net/wp-content/uploads/2021/01/image-48-1024x195.png" alt="" class="wp-image-2302" srcset="https://stubarea51.net/wp-content/uploads/2021/01/image-48-1024x195.png 1024w, https://stubarea51.net/wp-content/uploads/2021/01/image-48-300x57.png 300w, https://stubarea51.net/wp-content/uploads/2021/01/image-48-768x147.png 768w, https://stubarea51.net/wp-content/uploads/2021/01/image-48.png 1132w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Mikrotik OSPF configuration</p>



<pre class="wp-block-code"><code>/interface bridge
add name=Loopback0
add name=Loopback1
add name=Loopback2
/interface wireless security-profiles
set &#091; find default=yes ] supplicant-identity=MikroTik
/routing ospf area
add area-id=0.0.0.51 name=Area51
/routing ospf instance
set &#091; find default=yes ] redistribute-connected=as-type-1 router-id=203.0.113.2
/ip address
add address=203.0.113.2 interface=Loopback0 network=203.0.113.2
add address=203.0.113.3 interface=Loopback1 network=203.0.113.3
add address=203.0.113.4 interface=Loopback2 network=203.0.113.4
add address=203.0.113.130/29 interface=ether1 network=203.0.113.128
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/routing ospf interface
add dead-interval=4s hello-interval=1s interface=ether1 network-type=point-to-point
/routing ospf network
add area=backbone network=203.0.113.2/32
add area=backbone network=203.0.113.128/29
add area=Area51 network=203.0.113.3/32
/system identity
set name=MIKROTIK-OSPF</code></pre>



<p>Juniper OSPF configuration</p>



<pre class="wp-block-code"><code>set interfaces ge-0/0/0 unit 0 family inet address 203.0.113.129/29
set interfaces lo0 unit 0 family inet address 203.0.113.1/32
set routing-options router-id 203.0.113.1
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 interface-type p2p
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 hello-interval 1
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0 dead-interval 4
set protocols ospf area 0.0.0.0 interface lo0.0 passive</code></pre>



<h4>More Juniper to MikroTik articles are on the way!</h4>



<p>This article covered some of basic and common OSPF commands.  Check back in the future for examples of more advanced features and capabilities.  Also stay tuned for our upcoming Juniper to MikroTik MPLS command translation. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2021/01/31/juniper-to-mikrotik-ospf-commands/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2276</post-id>	</item>
		<item>
		<title>Juniper to MikroTik &#8211; MPLS and VPNv4 interop</title>
		<link>https://stubarea51.net/2020/01/22/juniper-to-mikrotik-mpls-and-vpnv4-interop/</link>
					<comments>https://stubarea51.net/2020/01/22/juniper-to-mikrotik-mpls-and-vpnv4-interop/#respond</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Wed, 22 Jan 2020 12:00:25 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://stubarea51.net/?p=1650</guid>

					<description><![CDATA[Juniper to MikroTik &#8211; a new series Previously, I&#8217;ve written a number of articles that compared syntax between Cisco and MikroTik and have received some great feedback on them. As such, I decided to begin a series on Juniper to MikroTik starting with MPLS and L3VPN interop as it related to a project I was [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p></p>



<h4>Juniper to MikroTik &#8211; a new series</h4>



<p></p>



<div class="wp-container-1 wp-block-group"><div class="wp-block-group__inner-container">
<figure class="wp-block-gallery has-nested-images columns-default">
<figure class="wp-block-image"><img loading="lazy" width="1024" height="310" src="https://stubarea51.net/wp-content/uploads/2020/01/Juniper_Networks_logo.svg_-1024x310.png" alt="" class="wp-image-1655" srcset="https://stubarea51.net/wp-content/uploads/2020/01/Juniper_Networks_logo.svg_-1024x310.png 1024w, https://stubarea51.net/wp-content/uploads/2020/01/Juniper_Networks_logo.svg_-300x91.png 300w, https://stubarea51.net/wp-content/uploads/2020/01/Juniper_Networks_logo.svg_-768x233.png 768w, https://stubarea51.net/wp-content/uploads/2020/01/Juniper_Networks_logo.svg_.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image"><img loading="lazy" width="980" height="280" src="https://stubarea51.net/wp-content/uploads/2020/01/logo-mikrotik-png-6.png" alt="" class="wp-image-1657" srcset="https://stubarea51.net/wp-content/uploads/2020/01/logo-mikrotik-png-6.png 980w, https://stubarea51.net/wp-content/uploads/2020/01/logo-mikrotik-png-6-300x86.png 300w, https://stubarea51.net/wp-content/uploads/2020/01/logo-mikrotik-png-6-768x219.png 768w" sizes="(max-width: 980px) 100vw, 980px" /></figure>
</figure>
</div></div>



<p></p>



<p>Previously, I&#8217;ve written a number of articles that compared syntax between Cisco and MikroTik and have received some great feedback on them.</p>



<p>As such, I decided to begin a series on Juniper to MikroTik starting with MPLS and L3VPN interop as it related to a project I was working on last year.</p>



<p>In the world of network engineering, learning a new syntax for a NOS can be overwhelming if you need a specific set of config in a short timeframe. The command structure for RouterOS can be a bit challenging if you are used to Juniper CLI commands.</p>



<p></p>



<p>If you&#8217;ve worked with Juniper gear and are comfortable with how to deploy that vendor, it is helpful to draw comparisons between the commands, especially if you are trying to build a network with a MikroTik and Juniper router.</p>



<p> </p>



<h4>Lab Overview</h4>



<figure class="wp-block-image size-large"><a href="https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-to-Juniper-MPLS-and-VPNv4.png"><img loading="lazy" width="1024" height="242" src="https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-to-Juniper-MPLS-and-VPNv4-1024x242.png" alt="" class="wp-image-1665" srcset="https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-to-Juniper-MPLS-and-VPNv4-1024x242.png 1024w, https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-to-Juniper-MPLS-and-VPNv4-300x71.png 300w, https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-to-Juniper-MPLS-and-VPNv4-768x181.png 768w, https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-to-Juniper-MPLS-and-VPNv4-1536x363.png 1536w, https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-to-Juniper-MPLS-and-VPNv4.png 1555w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p>The lab consists of (3) Juniper P routers and (2) MikroTik PE routers. Although we did not get into L3VPN in this particular lab, the layout is the same. <br><br><strong>A note on route-targets</strong><br><br>It seems that the format of the route-target has some bearing on this being successful. Normally i&#8217;ll use a format like <strong>8675309:1</strong> but in this case, I had some interop issues with making that work so we used dotted decimal. <br><br>Some of the results when searching seem to suggest that platforms like Juniper and Cisco reverse the RT string in the packet while MikroTik uses it in sequential order<br><br>To work around that, the format we used was the same forwards and backwards &#8211; <strong>1.1.1.1:1</strong><br><br><strong>MPLS and VPNv4 use case</strong><br><br>MPLS is often used in service provider and data center networks to provide multi-tenancy. <br><br>VPNv4 specifically allows for separate routing tables to be created (VRFs) and advertised via BGP using the VPNv4 address family. <br><br>This address family relies on MPLS to assign a VPN label and route target as an extended community to the route which keeps it isolated from routes in other VRFs. <br><br><strong>Practical Use</strong><br><br>Many service provider networks rely on Juniper for the edge and core roles.</p>



<p> However, increasingly, ISPs want to save money on last mile and smaller aggregation points. <br><br>MikroTik is an effective choice for more simplistic MPLS capabilities as it&#8217;s inexpensive and interops with Juniper.<br><br>This creates a variety of low cost deployment options as a manged CE router, GPON aggregation in the last mile, managed CE for enterprise customers&#8230;.and so on. </p>



<p><strong>Command comparison </strong><br>
<table id="tablepress-8" class="tablepress tablepress-id-8">
<thead>
<tr class="row-1 odd">
	<th class="column-1">Juniper command</th><th class="column-2">MikroTik Command</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even">
	<td class="column-1">> show ldp neighbor</td><td class="column-2">mpls ldp neighbor print</td>
</tr>
<tr class="row-3 odd">
	<td class="column-1">> show mpls interface</td><td class="column-2">mpls ldp interface print</td>
</tr>
<tr class="row-4 even">
	<td class="column-1">> show route table mpls.0</td><td class="column-2">mpls forwarding-table print</td>
</tr>
<tr class="row-5 odd">
	<td class="column-1">> show ldp database</td><td class="column-2">mpls remote-bindings print</td>
</tr>
<tr class="row-6 even">
	<td class="column-1">> show ldp database</td><td class="column-2">mpls local-bindings print</td>
</tr>
<tr class="row-7 odd">
	<td class="column-1">> show mpls label usage label-range</td><td class="column-2">mpls print</td>
</tr>
<tr class="row-8 even">
	<td class="column-1">> show ldp overview</td><td class="column-2">mpls ldp print</td>
</tr>
<tr class="row-9 odd">
	<td class="column-1"># set interfaces ge-0/0/0 unit 0 family mpls<br />
# set protocols mpls interface ge-0/0/0.0<br />
# set protocols ldp interface ge-0/0/0.0<br />
</td><td class="column-2">/mpls ldp interface<br />
add interface=ether1<br />
</td>
</tr>
<tr class="row-10 even">
	<td class="column-1">{ inherited from loopback } </td><td class="column-2">/mpls ldp<br />
set enabled=yes lsr-id=10.1.1.3</td>
</tr>
</tbody>
</table>
<!-- #tablepress-8 from cache --></p>



<h4> Testing connectivity </h4>



<p><strong>MikroTik &#8211; mpls forwarding table and vrf routes </strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="830" height="481" src="https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-vrf-routes.png" alt="" class="wp-image-1672" srcset="https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-vrf-routes.png 830w, https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-vrf-routes-300x174.png 300w, https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-vrf-routes-768x445.png 768w" sizes="(max-width: 830px) 100vw, 830px" /></figure>



<p><strong>MikroTik &#8211; Ping PE2 through Juniper MPLS network</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="934" height="314" src="https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-vrf-ping.png" alt="" class="wp-image-1673" srcset="https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-vrf-ping.png 934w, https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-vrf-ping-300x101.png 300w, https://stubarea51.net/wp-content/uploads/2020/01/MikroTik-vrf-ping-768x258.png 768w" sizes="(max-width: 934px) 100vw, 934px" /></figure>



<p><strong>Juniper &#8211; mpls forwarding table and vrf routes</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="970" src="https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-routes-1024x970.png" alt="" class="wp-image-1675" srcset="https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-routes-1024x970.png 1024w, https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-routes-300x284.png 300w, https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-routes-768x727.png 768w, https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-routes.png 1035w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p> <strong>Juniper &#8211; Ping PE2 from Juniper MPLS network</strong> </p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-ping.png" alt="" class="wp-image-1677" width="580" height="221" srcset="https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-ping.png 941w, https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-ping-300x114.png 300w, https://stubarea51.net/wp-content/uploads/2020/01/Juniper-vrf-ping-768x293.png 768w" sizes="(max-width: 580px) 100vw, 580px" /></figure>



<p></p>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped"></figure>



<figure class="wp-block-image"><img alt=""/></figure>



<h4>Router configs </h4>



<p><strong>MPLS-PE-RouterOS-1</strong></p>



<pre class="wp-block-preformatted">/interface bridge
 add name=lo0
 add name=lo1
 /interface wireless security-profiles
 set [ find default=yes ] supplicant-identity=MikroTik
 /routing bgp instance
 set default as=8675309
 /ip address
 add address=10.1.1.1/29 interface=ether1 network=10.1.1.0
 add address=192.168.1.1 interface=lo1 network=192.168.1.1
 add address=172.16.1.1 interface=lo0 network=172.16.1.1
 /ip dhcp-client
 add disabled=no interface=ether1
 /ip route vrf
 add export-route-targets=1.1.1.1:1 import-route-targets=1.1.1.1:1 interfaces=\
     lo1 route-distinguisher=1.1.1.1:1 routing-mark=vrf-1
 /mpls ldp
 set enabled=yes lsr-id=172.16.1.1 transport-address=172.16.1.1
 /mpls ldp interface
 add interface=ether1
 /routing bgp instance vrf
 add redistribute-connected=yes routing-mark=vrf-1
 /routing bgp peer
 add address-families=ip,vpnv4 name=peer1 remote-address=172.16.1.3 remote-as=\
     8675309 update-source=lo0
 /routing ospf network
 add area=backbone network=10.1.1.0/29
 add area=backbone network=172.16.1.1/32
 /system identity
 set name=MPLS-PE-RouterOS-1
 
</pre>



<p><strong>MPLS-PE-RouterOS-2</strong></p>



<pre class="wp-block-preformatted">/interface bridge
 add name=lo0
 add name=lo1
 /interface wireless security-profiles
 set [ find default=yes ] supplicant-identity=MikroTik
 /routing bgp instance
 set default as=8675309
 /ip address
 add address=10.1.4.2/29 interface=ether1 network=10.1.4.0
 add address=192.168.1.5 interface=lo1 network=192.168.1.5
 add address=172.16.1.5 interface=lo0 network=172.16.1.5
 /ip dhcp-client
 add disabled=no interface=ether1
 /ip route vrf
 add export-route-targets=1.1.1.1:1 import-route-targets=1.1.1.1:1 interfaces=lo1 route-distinguisher=1.1.1.1:1 routing-mark=vrf-1
 /mpls ldp
 set enabled=yes lsr-id=172.16.1.5 transport-address=172.16.1.5
 /mpls ldp interface
 add interface=ether1
 /routing bgp instance vrf
 add redistribute-connected=yes routing-mark=vrf-1
 /routing bgp peer
 add address-families=ip,vpnv4 name=peer1 remote-address=172.16.1.3 remote-as=8675309 update-source=lo0
 /routing ospf network
 add area=backbone network=10.1.4.0/29
 add area=backbone network=172.16.1.5/32
 /system identity
 set name=MPLS-PE-RouterOS-2</pre>



<p><strong>MPLS-P-JunOS-1</strong></p>



<pre class="wp-block-preformatted">version 14.1R1.10;
 system {
     host-name MPLS-P-JunOS-1;
     root-authentication {
         encrypted-password "$1$kj9Pva8c$R0knN0l873H.UaBUUNYA00"; ## SECRET-DATA
     }
     syslog {
         user * {
             any emergency;
         }
         file messages {
             any notice;
             authorization info;
         }
         file interactive-commands {
             interactive-commands any;
         }
     }
 }
 interfaces {
     ge-0/0/0 {
         unit 0 {
             family inet {
                 address 10.1.1.2/29;
             }
             family mpls;
         }
     }
     ge-0/0/1 {
         unit 0 {
             family inet {
                 address 10.1.2.1/29;
             }
             family mpls;
         }
     }
     lo0 {
         unit 0 {
             family inet {
                 address 172.16.1.2/32;
             }
         }
         unit 1 {
             family inet {
                 address 192.168.1.2/32;
             }
         }
     }
 }
 routing-options {
     router-id 172.16.1.2;
     route-distinguisher-id 172.16.1.2;
     autonomous-system 8675309;
 }
 protocols {
     mpls {
         traffic-engineering mpls-forwarding;
         interface ge-0/0/0.0;
         interface ge-0/0/1.0;
     }
     bgp {
         group rr {
             type internal;
             local-address 172.16.1.2;
             family inet-vpn {
                 unicast;
             }
             neighbor 172.16.1.3 {
                 peer-as 8675309;
             }
         }
     }
     ospf {
         traffic-engineering;
         area 0.0.0.0 {
             interface ge-0/0/0.0;
             interface ge-0/0/1.0;
             interface lo0.0;
         }
     }
     ldp {
         interface ge-0/0/0.0;
         interface ge-0/0/1.0;
     }
 }
 routing-instances {
     vrf-1 {
         instance-type vrf;
         interface lo0.1;
         route-distinguisher 1.1.1.1:1;
         vrf-target target:1.1.1.1:1;
         vrf-table-label;
     }
 }</pre>



<p><strong>MPLS-P-JunOS-2</strong></p>



<pre class="wp-block-preformatted">version 14.1R1.10;
 system {
     host-name MPLS-P-JunOS-2;
     root-authentication {
         encrypted-password "$1$g6tJMNPd$f35BMnnPgit/YLshrXd/L1"; ## SECRET-DATA
     }
     services {
         ssh;
     }
     syslog {
         user * {
             any emergency;
         }
         file messages {
             any notice;
             authorization info;
         }
         file interactive-commands {
             interactive-commands any;
         }
     }
 }
 interfaces {
     ge-0/0/0 {
         unit 0 {
             family inet {
                 address 10.1.2.2/29;
             }
             family mpls;
         }
     }
     ge-0/0/1 {
         unit 0 {
             family inet {
                 address 10.1.3.1/29;
             }
             family mpls;
         }
     }
     lo0 {
         unit 0 {
             family inet {
                 address 172.16.1.3/32;
             }
         }
         unit 1 {
             family inet {
                 address 192.168.1.3/32;
             }
         }
     }
 }
 routing-options {
     router-id 172.16.1.3;
     route-distinguisher-id 172.16.1.3;
     autonomous-system 8675309;
 }
 protocols {
     mpls {
         traffic-engineering mpls-forwarding;
         interface ge-0/0/0.0;
         interface ge-0/0/1.0;
     }
     bgp {
         group rr {
             type internal;
             local-address 172.16.1.3;
             family inet-vpn {
                 unicast;
             }
             cluster 1.1.1.1;
             neighbor 172.16.1.2 {
                 peer-as 8675309;
             }
             neighbor 172.16.1.1 {
                 peer-as 8675309;
             }
             neighbor 172.16.1.3 {
                 peer-as 8675309;
             }
             neighbor 172.16.1.4 {
                 peer-as 8675309;
             }
             neighbor 172.16.1.5 {
                 peer-as 8675309;
             }
         }
     }
     ospf {
         traffic-engineering;
         area 0.0.0.0 {
             interface ge-0/0/0.0;
             interface ge-0/0/1.0;
             interface lo0.0;
         }
     }
     ldp {
         interface ge-0/0/0.0;
         interface ge-0/0/1.0;
     }
 }
 policy-options {
     policy-statement import-vrf1 {
         term import-term-connected {
             from protocol direct;
             then accept;
         }
         term term-reject {
             then reject;
         }
     }
 }
 routing-instances {
     vrf-1 {
         instance-type vrf;
         interface lo0.1;
         route-distinguisher 1.1.1.1:1;
         vrf-target target:1.1.1.1:1;
         vrf-table-label;
     }
 }</pre>



<p><strong> MPLS-P-JunOS-3</strong></p>



<pre class="wp-block-preformatted">version 14.1R1.10;
 system {
     host-name MPLS-P-JunOS-3;
     root-authentication {
         encrypted-password "$1$kj9Pva8c$R0knN0l873H.UaBUUNYA00"; ## SECRET-DATA
     }
     syslog {
         user * {
             any emergency;
         }
         file messages {
             any notice;
             authorization info;
         }
         file interactive-commands {
             interactive-commands any;
         }
     }
 }
 interfaces {
     ge-0/0/0 {
         unit 0 {
             family inet {
                 address 10.1.3.2/29;
             }
             family mpls;
         }
     }
     ge-0/0/1 {
         unit 0 {
             family inet {
                 address 10.1.4.1/29;
             }
             family mpls;
         }
     }
     lo0 {
         unit 0 {
             family inet {
                 address 172.16.1.4/32;
             }
         }
         unit 1 {
             family inet {
                 address 192.168.1.4/32;
             }
         }
     }
 }
 routing-options {
     router-id 172.16.1.4;
     route-distinguisher-id 172.16.1.4;
     autonomous-system 8675309;
 }
 protocols {
     mpls {
         traffic-engineering mpls-forwarding;
         interface ge-0/0/0.0;
         interface ge-0/0/1.0;
     }
     bgp {
         group rr {
             type internal;
             local-address 172.16.1.4;
             family inet-vpn {
                 unicast;
             }
             neighbor 172.16.1.3 {
                 peer-as 8675309;
             }
         }
     }
     ospf {
         traffic-engineering;
         area 0.0.0.0 {
             interface ge-0/0/0.0;
             interface ge-0/0/1.0;
             interface lo0.0;
         }
     }
     ldp {
         interface ge-0/0/0.0;
         interface ge-0/0/1.0;
     }
 }
 routing-instances {
     vrf-1 {
         instance-type vrf;
         interface lo0.1;
         route-distinguisher 1.1.1.1:1;
         vrf-target target:1.1.1.1:1;
         vrf-table-label;
     }
 }</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2020/01/22/juniper-to-mikrotik-mpls-and-vpnv4-interop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1650</post-id>	</item>
		<item>
		<title>WISP Design &#8211; An overview of adding IPv6 to your WISP</title>
		<link>https://stubarea51.net/2018/09/14/wisp-design-an-overview-of-adding-ipv6-to-your-wisp/</link>
					<comments>https://stubarea51.net/2018/09/14/wisp-design-an-overview-of-adding-ipv6-to-your-wisp/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Fri, 14 Sep 2018 14:14:14 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://stubarea51.net/?p=1402</guid>

					<description><![CDATA[The challenge of adding IPv6 to your WISP IPv6 is one of those technologies that can feel pretty overwhelming, but it doesn&#8217;t have to be. Many of the same ideas and concepts learned in IPv4 networking still apply. This guide is meant to give you an overview of an example IPv6 addressing plan for an [&#8230;]]]></description>
										<content:encoded><![CDATA[<h4><a href="http://ipv6.com" target="_blank" rel="noopener"><img loading="lazy" class="alignnone size-full wp-image-1415" src="https://stubarea51.net/wp-content/uploads/2018/09/ipv6-logo-300px.png" alt="" width="300" height="300" srcset="https://stubarea51.net/wp-content/uploads/2018/09/ipv6-logo-300px.png 300w, https://stubarea51.net/wp-content/uploads/2018/09/ipv6-logo-300px-150x150.png 150w, https://stubarea51.net/wp-content/uploads/2018/09/ipv6-logo-300px-60x60.png 60w" sizes="(max-width: 300px) 100vw, 300px" /></a></h4>
<h4>The challenge of adding IPv6 to your WISP</h4>
<p>IPv6 is one of those technologies that can feel pretty overwhelming, but it doesn&#8217;t have to be. Many of the same ideas and concepts learned in IPv4 networking still apply.</p>
<p>This guide is meant to give you an overview of an example IPv6 addressing plan for an entire WISP as well as the config needed in MikroTik to deploy IPv6 from a core router all the way to a subscriber device.</p>
<h4>Benefits of adding IPv6</h4>
<ul>
<li>Public addressing for all subscribers &#8211; reduced need for NAT</li>
<li>Regulatory compliance &#8211; public addressing that is persistent makes it much easier to be compliant for things like CALEA</li>
<li>Reduced complaints from gamers &#8211; Xbox and Playstation both have IPv6 networks and prefer IPv6. This reduces complaints from customers who have gaming consoles that have detected an &#8220;improper&#8221; NAT configuration.</li>
<li>Increased security &#8211; IPv6, while not impervious to security threats makes it much harder for attackers to scan IPs due to the sheer size of the IP space. If using privacy extensions with SLAAC, it also makes it much harder to target someone online as the IP address seen on the internet changes randomly.</li>
<li>Improved real time communications &#8211; one way audio and video issues are often caused by NAT. Using end to end connectivity on public addressing improves the reliability of IP voice and video when used on IPv6</li>
<li>Web scale content (Netflix, Facebook, Google, etc) is IPv6 enabled which means a large portion of your traffic will shift to native IPv6 once dual stack is enabled.</li>
</ul>
<h4><strong>IPv6 Addressing</strong></h4>
<p>One of the things i&#8217;ve learned about IPv6 is that addressing plans seem to spark epic debates about the waste of addresses and what size prefix an end subscriber should get.</p>
<p>Although this lab could have easily been done with a /56 at the tower and /53 at each AP, I decided to use RIPEs recommendations from their <a href="https://www.ripe.net/publications/docs/ripe-690"><strong>guide</strong></a> on IPv6 best operational practices.</p>
<p>This is mainly to keep the focus of the article on actually getting IPv6 deployed and not focusing on the addressing.</p>
<h4>Dual Stack</h4>
<p>For simplicity, the IPv4 config is not shown, but the recommended design for an operational WISP is to implement IPv4 and IPv6 side by side in a Dual Stack configuration.</p>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-WISP-OSPF-Overview.png"><img loading="lazy" class="alignnone size-full wp-image-1454" src="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-WISP-OSPF-Overview.png" alt="" width="1373" height="637" srcset="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-WISP-OSPF-Overview.png 1373w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-WISP-OSPF-Overview-300x139.png 300w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-WISP-OSPF-Overview-768x356.png 768w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-WISP-OSPF-Overview-1024x475.png 1024w" sizes="(max-width: 1373px) 100vw, 1373px" /></a></p>
<h4>Lab Overview</h4>
<p>The lab is designed to illustrate most of the operational aspects of IPv6 in a WISP using MikroTik CHR routers in EVE-NG. This includes:</p>
<ul>
<li>DHCPv6 and Prefix Delegation (PD)</li>
<li>OSPFv3 single area configuration and origination of a default route</li>
<li>Subscriber router example with SLAAC</li>
</ul>
<h4>Core Router</h4>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/core.png"><img loading="lazy" class="alignnone size-full wp-image-1421" src="https://stubarea51.net/wp-content/uploads/2018/09/core.png" alt="" width="462" height="262" srcset="https://stubarea51.net/wp-content/uploads/2018/09/core.png 462w, https://stubarea51.net/wp-content/uploads/2018/09/core-300x170.png 300w" sizes="(max-width: 462px) 100vw, 462px" /></a></p>
<p>In the lab, the core router is shown directly connected to the tower for simplicity, in your WISP, there may be multiple towers between the core and the end of the network.</p>
<p>The concept, however is the same &#8211; use /126 addressing to connect towers for OSPFv3.</p>
<p>Note that OSPFv3 still requires a router-id in dotted decimal format, even though the address you put int doesn&#8217;t have to actually exist &#8211; for consistency however, use the IPv4 loopback of the router for the router id.</p>
<p>The internet connectivity isn&#8217;t shown in this lab, but your ISP will give you a /126 address to connect to your border router and either peer with BGP or the provider can route the /32 prefix to you.</p>
<p><strong>Config</strong></p>
<pre class="theme:cisco-router lang:default decode:true">/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf-v3 instance
set [ find default=yes ] distribute-default=always-as-type-1 router-id=\
    100.127.1.1
/ip dhcp-client
add disabled=no interface=ether1
/ipv6 address
add address=2001:db8:c001::1/126 advertise=no interface=ether1
/routing ospf-v3 interface
add area=backbone interface=ether1
/system identity
set name=Core
/tool romon
set enabled=yes
</pre>
<h4>Tower Router</h4>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/IPV6-Tower-router.png"><img loading="lazy" class="alignnone size-full wp-image-1426" src="https://stubarea51.net/wp-content/uploads/2018/09/IPV6-Tower-router.png" alt="" width="485" height="461" srcset="https://stubarea51.net/wp-content/uploads/2018/09/IPV6-Tower-router.png 485w, https://stubarea51.net/wp-content/uploads/2018/09/IPV6-Tower-router-300x285.png 300w" sizes="(max-width: 485px) 100vw, 485px" /></a></p>
<p>The tower router is handling most of the work as it is responsible for DHCPv6 and Prefix Delegation as well as advertising the /48 AP subnets into OSPF</p>
<p>In this lab , the APs are split into separate VLANs (with dual stack, IPv4 would exist on the same VLAN).</p>
<p>The router is configured to hand out /56 prefixes to the end subscriber using a pool of /48 per AP.</p>
<p>Because Prefix Delegation is being utilized, a dynamic static route is created for each /56 the DHCPv6 server hands out which eliminates the need to use a routing protocol.</p>
<p><strong>Prefix Delegation in action</strong></p>
<p>This example shows the prefixes allocated by the router and the dynamic static routes created</p>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-PD.png"><img loading="lazy" class="alignnone size-full wp-image-1432" src="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-PD.png" alt="" width="635" height="247" srcset="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-PD.png 635w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-PD-300x117.png 300w" sizes="(max-width: 635px) 100vw, 635px" /></a></p>
<p><strong>Config</strong></p>
<pre class="theme:cisco-router lang:default decode:true ">/interface bridge
add name=Lo0
/interface vlan
add interface=ether1 name=vlan1101-AP1-Data vlan-id=1101
add interface=ether2 name=vlan1102-AP2-Data vlan-id=1102
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ipv6 dhcp-server
add address-pool=vl101-v6-pd-pool interface=vlan1101-AP1-Data name=\
    vl101-v6-pd
add address-pool=vl102-v6-pd-pool interface=vlan1102-AP2-Data name=\
    vl102-v6-pd
/ipv6 pool
add comment="VLAN1101 IPv6 prefix delegation pool" name=vl101-v6-pd-pool \
    prefix=2001:db8:1001::/48 prefix-length=56
add comment="VLAN1102 IPv6 prefix delegation pool" name=vl102-v6-pd-pool \
    prefix=2001:db8:1002::/48 prefix-length=56
/routing ospf-v3 instance
set [ find default=yes ] router-id=100.127.1.2
/ip dhcp-client
add disabled=no interface=ether1
/ipv6 address
add address=2001:db8:1001::1/48 advertise=no interface=vlan1101-AP1-Data
add address=2001:db8:1002::1/48 advertise=no interface=vlan1102-AP2-Data
add address=2001:db8:c001::2/126 advertise=no interface=ether4
/ipv6 nd
add interface=vlan1101-AP1-Data managed-address-configuration=yes \
    other-configuration=yes
add interface=vlan1102-AP2-Data managed-address-configuration=yes \
    other-configuration=yes
/ipv6 nd prefix
add autonomous=no interface=vlan1101-AP1-Data
add autonomous=no interface=vlan1102-AP2-Data
/routing ospf-v3 interface
add area=backbone interface=ether4
add area=backbone interface=vlan1101-AP1-Data
add area=backbone interface=vlan1102-AP2-Data
add area=backbone passive=yes
/system identity
set name=Tower
/tool romon
set enabled=yes
</pre>
<h4></h4>
<h4></h4>
<h4>Subscriber Routers</h4>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-Subscriber.png"><img loading="lazy" class="alignnone size-full wp-image-1436" src="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-Subscriber.png" alt="" width="416" height="427" srcset="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-Subscriber.png 416w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-Subscriber-292x300.png 292w" sizes="(max-width: 416px) 100vw, 416px" /></a></p>
<p>For simplicity, MikroTik is used as the Subscriber or CPE router to provide an example of how the /56 prefix is received from the tower router and handed off to devices inside the subscriber&#8217;s home.</p>
<p>In this lab, the &#8220;WAN&#8221; interface or ether1 has a DHCPv6 client configured to receive the prefix from the tower router.</p>
<p>Ether2 or the &#8220;LAN&#8221; side, which would include a bridge of the the wireless/wired interfaces in a real router is configured with a dynamic /64 from the /56 pool and is set for SLAAC to give devices on this segment an IPv6 address.</p>
<p><strong>DHCPv6 client and subscriber addresses/routes</strong></p>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-subscriber-routes.png"><img loading="lazy" class="alignnone size-full wp-image-1438" src="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-subscriber-routes.png" alt="" width="658" height="380" srcset="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-subscriber-routes.png 658w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-subscriber-routes-300x173.png 300w" sizes="(max-width: 658px) 100vw, 658px" /></a></p>
<p><strong>Config &#8211; Subscriber 1</strong></p>
<pre class="theme:cisco-router lang:default decode:true">/interface ethernet
set [ find default-name=ether1 ] name=ether1-WAN
set [ find default-name=ether2 ] name=ether2-LAN
/interface vlan
add interface=ether1-WAN name=vlan1101-AP1-Data vlan-id=1101
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip dhcp-client
add disabled=no interface=ether1-WAN
/ipv6 address
add eui-64=yes from-pool=home interface=ether2-LAN
/ipv6 dhcp-client
add add-default-route=yes interface=vlan1101-AP1-Data pool-name=home \
    pool-prefix-length=56 request=prefix
/ipv6 nd
add hop-limit=64 interface=ether2-LAN
/system identity
set name=Subscriber-1
/tool romon
set enabled=yes
</pre>
<p><strong><br />
Config &#8211; Subscriber 2</strong></p>
<pre class="theme:cisco-router lang:default decode:true">/interface ethernet
set [ find default-name=ether1 ] name=ether1-WAN
set [ find default-name=ether2 ] name=ether2-LAN
/interface vlan
add interface=ether1-WAN name=vlan1102-AP2-Data vlan-id=1102
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip dhcp-client
add disabled=no interface=ether1-WAN
/ipv6 address
add eui-64=yes from-pool=home interface=ether2-LAN
/ipv6 dhcp-client
add add-default-route=yes interface=vlan1102-AP2-Data pool-name=home \
    pool-prefix-length=56 request=prefix
/ipv6 nd
add hop-limit=64 interface=ether2-LAN
/system identity
set name=Subscriber-2
/tool romon
set enabled=yes
</pre>
<h4><strong>Subscriber Device</strong></h4>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-VPC.png"><img loading="lazy" class="alignnone size-full wp-image-1448" src="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-VPC.png" alt="" width="283" height="331" srcset="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-VPC.png 283w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-VPC-256x300.png 256w" sizes="(max-width: 283px) 100vw, 283px" /></a></p>
<p>EVE-NG has a small Linux image that can be used as a host called VPC or virtual PC. This allows us to put a device on ether2 and test end to end reachability back to the core router.</p>
<p><strong>SLAAC addressing example</strong></p>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-SLAAC.png"><img loading="lazy" class="alignnone size-full wp-image-1444" src="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-SLAAC.png" alt="" width="522" height="202" srcset="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-SLAAC.png 522w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-SLAAC-300x116.png 300w" sizes="(max-width: 522px) 100vw, 522px" /></a></p>
<p><strong>Ping test back to the core router</strong></p>
<p>Success!!!!!!!!</p>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-ping.png"><img loading="lazy" class="alignnone size-full wp-image-1445" src="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-ping.png" alt="" width="450" height="373" srcset="https://stubarea51.net/wp-content/uploads/2018/09/IPv6-ping.png 450w, https://stubarea51.net/wp-content/uploads/2018/09/IPv6-ping-300x249.png 300w" sizes="(max-width: 450px) 100vw, 450px" /></a></p>
<h4></h4>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2018/09/14/wisp-design-an-overview-of-adding-ipv6-to-your-wisp/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1402</post-id>	</item>
		<item>
		<title>MikroTik ISP Design: Building an 802.1q trunk between sites using VPLS and S-tag</title>
		<link>https://stubarea51.net/2018/08/07/mikrotik-isp-design-building-an-802-1q-trunk-between-sites-using-vpls-and-s-tag/</link>
					<comments>https://stubarea51.net/2018/08/07/mikrotik-isp-design-building-an-802-1q-trunk-between-sites-using-vpls-and-s-tag/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Tue, 07 Aug 2018 22:13:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=1010</guid>

					<description><![CDATA[Use Case ISPs that use MikroTik are always looking for new ways to deliver services to customers and expand their offerings. Delivering Layer 2 at scale for customers is a design challenge that comes up frequently. While it&#8217;s easy enough to build a VLAN nested inside of another VLAN  (see below), this requires you to build [&#8230;]]]></description>
										<content:encoded><![CDATA[<h4>Use Case</h4>
<p>ISPs that use MikroTik are always looking for new ways to deliver services to customers and expand their offerings. Delivering Layer 2 at scale for customers is a design challenge that comes up frequently.</p>
<p>While it&#8217;s easy enough to build a VLAN nested inside of another VLAN  (see below), this requires you to build all of the VLANs a customer wants to use into the PE router or handoff switch.</p>
<p><a href="https://stubarea51.net/wp-content/uploads/2018/08/VLAN-inside-VLAN.png"><img loading="lazy" class="alignnone size-full wp-image-1011" src="https://stubarea51.net/wp-content/uploads/2018/08/VLAN-inside-VLAN.png" alt="" width="256" height="133" /></a></p>
<p>However, if you have a client that needs a layer 2 service delivered to two or more points and wants to be able to treat it just like an 802.1q trunk and add VLANs in an ad-hoc way, then using the S-Tag feature in RouterOS along with VPLS transport is a great option.</p>
<p><strong>What&#8217;s the S-tag do???</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/s-tag.png" rel="attachment wp-att-1013"><img loading="lazy" class="alignnone size-full wp-image-1013" src="//stubarea51.net/wp-content/uploads/2018/08/s-tag.png" alt="S-Tag" width="416" height="346" /></a></p>
<p>Clients will often ask me &#8220;what&#8217;s the S-Tag check box for?&#8221;</p>
<p>So a little background on this, there is a protocol for using outer and inner VLAN tags specified in IEEE 802.1ad that uses Service Tag (or S-Tag) to denote the outer VLAN tag used to transport Customer Tags (or C-Tags).</p>
<p>What makes the S-Tag/C-Tag a little bit different is that it actually changes the ethertype of the Frame.</p>
<p>
<table id="tablepress-6" class="tablepress tablepress-id-6">
<thead>
<tr class="row-1 odd">
	<th class="column-1">Protocol</th><th class="column-2">Ethertype</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even">
	<td class="column-1">802.1q (Normal VLAN Tags)</td><td class="column-2"> 0x8100</td>
</tr>
<tr class="row-3 odd">
	<td class="column-1">802.1ad (S-tag)</td><td class="column-2"> 0x88a8</td>
</tr>
</tbody>
</table>
<!-- #tablepress-6 from cache --></p>
<p>Here is an overview of the frame format of each and links to the Metro Ethernet Forum Wiki for more info.</p>
<p><strong>S-Tag</strong></p>
<p><a href="https://wiki.mef.net/display/CESG/S-Tag">https://wiki.mef.net/display/CESG/S-Tag</a><br />
<a href="http://stubarea51.net/wp-content/uploads/2018/08/S-Tag-1.png" rel="attachment wp-att-1016"><img loading="lazy" class="alignnone size-large wp-image-1016" src="//stubarea51.net/wp-content/uploads/2018/08/s-tag-1-1024x301.png" alt="S-Tag" width="648" height="190" /></a></p>
<p><strong>C-Tag</strong></p>
<p><a href="https://wiki.mef.net/display/CESG/C-Tag">https://wiki.mef.net/display/CESG/C-Tag</a></p>
<p><a href="http://stubarea51.net/wp-content/uploads/2018/08/C-Tag.png" rel="attachment wp-att-1017"><img loading="lazy" class="alignnone size-large wp-image-1017" src="//stubarea51.net/wp-content/uploads/2018/08/c-tag-1024x426.png" alt="C-Tag" width="648" height="270" /></a></p>
<h4>Lab Scenario</h4>
<p>Here is a very common example of a deployment for a Layer 2 service to an end customer that rides on top of the ISP MPLS core.</p>
<p>In this lab we are using Cisco switches trunked to each other using VLAN 101 and 201 over a VPLS pseudowire with an S-Tag of 777.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/s-tag-lab.png" rel="attachment wp-att-1019"><img loading="lazy" class="alignnone size-full wp-image-1019" src="//stubarea51.net/wp-content/uploads/2018/08/s-tag-lab.png" alt="s-tag lab" width="1670" height="533" srcset="https://stubarea51.net/wp-content/uploads/2018/08/s-tag-lab.png 1670w, https://stubarea51.net/wp-content/uploads/2018/08/s-tag-lab-300x96.png 300w, https://stubarea51.net/wp-content/uploads/2018/08/s-tag-lab-768x245.png 768w, https://stubarea51.net/wp-content/uploads/2018/08/s-tag-lab-1024x327.png 1024w" sizes="(max-width: 1670px) 100vw, 1670px" /></a></p>
<p>After configuring the P routers, PE routers and Cisco switches, let&#8217;s take a look at the Cisco switch and see if we can ping the SVI on the other switch on both trunked VLANs.</p>
<p><strong>Here are the subnets used on the customer side:</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/switch-1-subnets.png" rel="attachment wp-att-1022"><img loading="lazy" class="alignnone size-full wp-image-1022" src="//stubarea51.net/wp-content/uploads/2018/08/switch-1-subnets.png" alt="Switch-1 subnets" width="644" height="81" /></a></p>
<p><strong>Now let&#8217;s ping the .2 address for each VLAN on Switch-2</strong></p>
<p>VLAN 101</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/vlan-101-ping.png" rel="attachment wp-att-1024"><img loading="lazy" class="alignnone size-full wp-image-1024" src="//stubarea51.net/wp-content/uploads/2018/08/vlan-101-ping.png" alt="vlan-101-ping" width="609" height="116" srcset="https://stubarea51.net/wp-content/uploads/2018/08/vlan-101-ping.png 609w, https://stubarea51.net/wp-content/uploads/2018/08/vlan-101-ping-300x57.png 300w" sizes="(max-width: 609px) 100vw, 609px" /></a></p>
<p>VLAN 201</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/vlan-201-ping.png" rel="attachment wp-att-1025"><img loading="lazy" class="alignnone size-full wp-image-1025" src="//stubarea51.net/wp-content/uploads/2018/08/vlan-201-ping.png" alt="vlan-201-ping" width="605" height="114" srcset="https://stubarea51.net/wp-content/uploads/2018/08/vlan-201-ping.png 605w, https://stubarea51.net/wp-content/uploads/2018/08/vlan-201-ping-300x57.png 300w" sizes="(max-width: 605px) 100vw, 605px" /><br />
</a></p>
<h4>Notes on MTU</h4>
<p>A note on MTU sizing, in order to hand off a 1500 byte packet with VPLS, you normally need an MPLS and L2MTU of 1530 bytes. In order to pass a second VLAN tag you&#8217;ll want to make sure your network equipment can go up to 1534 for Layer 2 and MPLS MTUs to pass 1500 byte packet with S-Tag.</p>
<h4>Configs for the lab</h4>
<p>In the section below, here are all the configs for this deployment</p>
<p><strong>Cisco Switch-1</strong></p>
<pre class="theme:cisco-router lang:default decode:true">version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch-1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
 switchport trunk encapsulation dot1q
 switchport mode trunk
 media-type rj45
 negotiation auto
!
interface GigabitEthernet0/1
 media-type rj45
 negotiation auto
!
interface GigabitEthernet0/2
 media-type rj45
 negotiation auto
!
interface GigabitEthernet0/3
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/0
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/1
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/2
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/3
 media-type rj45
 negotiation auto
!
interface Vlan101
 description customer-vlan
 ip address 192.168.101.1 255.255.255.0
!
interface Vlan201
 description customer vlan 2
 ip address 192.168.201.1 255.255.255.0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
banner exec ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS  *
* education. IOSv is provided as-is and is not supported by Cisco's      *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any       *
* purposes is expressly prohibited except as otherwise authorized by     *
* Cisco in writing.                                                      *
**************************************************************************^C
banner incoming ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS  *
* education. IOSv is provided as-is and is not supported by Cisco's      *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any       *
* purposes is expressly prohibited except as otherwise authorized by     *
* Cisco in writing.                                                      *
**************************************************************************^C
banner login ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS  *
* education. IOSv is provided as-is and is not supported by Cisco's      *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any       *
* purposes is expressly prohibited except as otherwise authorized by     *
* Cisco in writing.                                                      *
**************************************************************************^C
!
line con 0
line aux 0
line vty 0 4
!
!
end
</pre>
<p><strong>Cisco Switch-2</strong></p>
<pre class="theme:cisco-router lang:default decode:true">version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Switch-2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0
 switchport trunk encapsulation dot1q
 switchport mode trunk
 media-type rj45
 negotiation auto
!
interface GigabitEthernet0/1
 media-type rj45
 negotiation auto
!
interface GigabitEthernet0/2
 media-type rj45
 negotiation auto
!
interface GigabitEthernet0/3
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/0
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/1
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/2
 media-type rj45
 negotiation auto
!
interface GigabitEthernet1/3
 media-type rj45
 negotiation auto
!
interface Vlan101
 description customer-vlan
 ip address 192.168.101.2 255.255.255.0
!
interface Vlan201
 description customer vlan 2
 ip address 192.168.201.2 255.255.255.0
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
banner exec ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS  *
* education. IOSv is provided as-is and is not supported by Cisco's      *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any       *
* purposes is expressly prohibited except as otherwise authorized by     *
* Cisco in writing.                                                      *
**************************************************************************^C
banner incoming ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS  *
* education. IOSv is provided as-is and is not supported by Cisco's      *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any       *
* purposes is expressly prohibited except as otherwise authorized by     *
* Cisco in writing.                                                      *
**************************************************************************^C
banner login ^C
**************************************************************************
* IOSv is strictly limited to use for evaluation, demonstration and IOS  *
* education. IOSv is provided as-is and is not supported by Cisco's      *
* Technical Advisory Center. Any use or disclosure, in whole or in part, *
* of the IOSv Software or Documentation to any third party for any       *
* purposes is expressly prohibited except as otherwise authorized by     *
* Cisco in writing.                                                      *
**************************************************************************^C
!
line con 0
line aux 0
line vty 0 4
!
!
end
</pre>
<p><strong>MikroTik PE-1</strong></p>
<pre class="theme:cisco-router lang:default decode:true ">/interface bridge
add name=Lo0
add name=vpls-bridge-vlan-777
/interface vpls
add disabled=no l2mtu=1500 mac-address=02:D5:C2:72:3A:1A name=vpls777 
    pw-type=tagged-ethernet remote-peer=100.127.1.2 vpls-id=8675309:777
/ip neighbor discovery
set ether2 discover=no
/interface vlan
add interface=vpls777 name=vlan777 use-service-tag=yes vlan-id=777
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
add name=ospf1 router-id=100.127.1.1
/interface bridge port
add bridge=Lo0 interface=ether2
add bridge=Lo0 interface=vlan777
/ip address
add address=100.64.0.1/29 interface=ether1 network=100.64.0.0
add address=100.127.1.1 interface=Lo0 network=100.127.1.1
/ip dhcp-client
add disabled=no interface=ether1
/mpls interface
set [ find default=yes ] mpls-mtu=1534
/mpls ldp
set enabled=yes lsr-id=100.127.1.1 transport-address=100.127.1.1
/mpls ldp interface
add interface=ether1 transport-address=100.127.1.1
/routing ospf network
add area=backbone network=100.64.0.0/29
add area=backbone network=100.127.1.1/32
/system identity
set name=MikroTik-PE-1
/tool romon
set enabled=yes
</pre>
<p><strong>MikroTik PE-2</strong></p>
<pre class="theme:cisco-router lang:default decode:true ">/interface bridge
add name=Lo0
add name=vpls-bridge-vlan-777
/interface vpls
add disabled=no l2mtu=1500 mac-address=02:C1:71:EB:0E:E7 name=vpls777 
    pw-type=tagged-ethernet remote-peer=100.127.1.1 vpls-id=8675309:777
/ip neighbor discovery
set ether2 discover=no
/interface vlan
add interface=vpls777 name=vlan777-s-tag use-service-tag=yes vlan-id=777
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
add name=ospf1 router-id=100.127.1.2
/interface bridge port
add bridge=Lo0 interface=vlan777-s-tag
add bridge=Lo0 interface=ether2
/ip address
add address=100.64.0.18/29 interface=ether1 network=100.64.0.16
add address=100.127.1.2 interface=Lo0 network=100.127.1.2
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/mpls interface
set [ find default=yes ] mpls-mtu=1534
/mpls ldp
set enabled=yes lsr-id=100.127.1.2 transport-address=100.127.1.2
/mpls ldp interface
add interface=ether1 transport-address=100.127.1.2
/routing ospf network
add area=backbone network=100.64.0.16/29
add area=backbone network=100.127.1.2/32
/system identity
set name=MikroTik-PE-2
/tool romon
set enabled=yes
</pre>
<p><strong>MikroTik P-CORE-1</strong></p>
<pre class="theme:cisco-router lang:default decode:true">/interface bridge
add name=Lo0
/interface vlan
add interface=ether1 name=vlan101 vlan-id=777
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
set [ find default=yes ] router-id=100.127.0.1
/ip address
add address=100.64.0.2/29 interface=ether1 network=100.64.0.0
add address=100.127.0.1 interface=Lo0 network=100.127.0.1
add address=100.64.0.9/29 interface=ether2 network=100.64.0.8
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/mpls interface
set [ find default=yes ] mpls-mtu=1534
/mpls ldp
set enabled=yes lsr-id=100.127.0.1 transport-address=100.127.0.1
/mpls ldp interface
add interface=ether1 transport-address=100.127.0.1
add interface=ether2 transport-address=100.127.0.1
/routing ospf network
add area=backbone network=100.64.0.0/29
add area=backbone network=100.127.0.1/32
add area=backbone network=100.64.0.8/29
/system identity
set name=MikroTik-P-Core-1
/tool romon
set enabled=yes
</pre>
<p><strong>MikroTik P-CORE-2</strong></p>
<pre class="theme:cisco-router lang:default decode:true ">/interface bridge
add name=Lo0
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/routing ospf instance
set [ find default=yes ] router-id=100.127.0.2
/ip address
add address=100.64.0.10/29 interface=ether1 network=100.64.0.8
add address=100.127.0.2 interface=Lo0 network=100.127.0.2
add address=100.64.0.17/29 interface=ether2 network=100.64.0.16
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=ether1
/mpls interface
set [ find default=yes ] mpls-mtu=1534
/mpls ldp
set enabled=yes lsr-id=100.127.0.2 transport-address=100.127.0.2
/mpls ldp interface
add interface=ether1 transport-address=100.127.0.2
add interface=ether2 transport-address=100.127.0.2
/routing ospf network
add area=backbone network=100.64.0.8/29
add area=backbone network=100.127.0.2/32
add area=backbone network=100.64.0.16/29
/system identity
set name=MikroTik-P-Core-2
/tool romon
</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2018/08/07/mikrotik-isp-design-building-an-802-1q-trunk-between-sites-using-vpls-and-s-tag/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1010</post-id>	</item>
		<item>
		<title>The one thing private equity firms typically overlook when funding startup WISPs&#8230;professional network engineers.</title>
		<link>https://stubarea51.net/2018/08/03/the-one-thing-private-equity-firms-typically-overlook-when-funding-startup-wisps-professional-network-engineers/</link>
					<comments>https://stubarea51.net/2018/08/03/the-one-thing-private-equity-firms-typically-overlook-when-funding-startup-wisps-professional-network-engineers/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Fri, 03 Aug 2018 15:24:54 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=967</guid>

					<description><![CDATA[. Funding a new WISP There are a number of ways to fund a startup Wireless Internet Service Provider (WISP), but the two we most commonly see are self-funded by individuals/partners or by leveraging private equity (PE) money. Private equity has become increasingly popular in the last few years if we are to use our [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="http://stubarea51.net/wp-content/uploads/2018/08/22893884_m.jpg" rel="attachment wp-att-969"><img loading="lazy" class="size-large wp-image-969" src="//stubarea51.net/wp-content/uploads/2018/08/22893884_m-1024x724.jpg" alt="22893884 - telecommunications radio tower or mobile phone base station with engineers in concept background" width="648" height="458" srcset="https://stubarea51.net/wp-content/uploads/2018/08/22893884_m-1024x724.jpg 1024w, https://stubarea51.net/wp-content/uploads/2018/08/22893884_m-300x212.jpg 300w, https://stubarea51.net/wp-content/uploads/2018/08/22893884_m-768x543.jpg 768w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>.</p>
<h4>Funding a new WISP</h4>
<p>There are a number of ways to fund a startup Wireless Internet Service Provider (WISP), but the two we most commonly see are self-funded by individuals/partners or by leveraging private equity (PE) money.</p>
<p>Private equity has become increasingly popular in the last few years if we are to use our consulting clients as a basis for comparison.</p>
<p>It&#8217;s not hard to see why, while you can (and many do) start a WISP on a shoestring budget, getting a significant chunk of initial funding to cover the costs of tower construction/leasing, network equipment, sales/marketing, etc is very attractive as it allows a WISP to build a network that might otherwise take several years of organic growth to achieve.</p>
<h4>Network Engineering &#8211; the missing ingredient</h4>
<p>Many startup WISPs are often borne out of necessity &#8211; fast, reliable or economical Internet access &#8211; one or more of these is missing in the areas we see WISPs develop.</p>
<p>Typically the stakeholders come from a variety of backgrounds some of which are technical and some aren&#8217;t &#8211; all of them, however, share a vision of building out Internet access and solving problems that are unique to their corner of the world.</p>
<p>Out of that group, probably less than 5% come out of the ranks of professional network engineers.</p>
<p>And this isn&#8217;t to say that you need to be a network engineer to start a successful WISP, quite the contrary, the most successful WISPs are formed by people who understand what a well-run business looks like.</p>
<p>But when you&#8217;re in the business of building and selling access to a service provider IP network, at some point, you will benefit from having a network engineer as part of your team &#8211; whether that happens in the beginning or down the road is the core focus of this article.</p>
<p><a href="http://stubarea51.net/wp-content/uploads/2018/08/38023860_m.jpg" rel="attachment wp-att-977"><img loading="lazy" class="alignnone size-large wp-image-977" src="//stubarea51.net/wp-content/uploads/2018/08/38023860_m-1024x683.jpg" alt="38023860 - frustrated technician working in server room of data center" width="648" height="432" srcset="https://stubarea51.net/wp-content/uploads/2018/08/38023860_m-1024x683.jpg 1024w, https://stubarea51.net/wp-content/uploads/2018/08/38023860_m-300x200.jpg 300w, https://stubarea51.net/wp-content/uploads/2018/08/38023860_m-768x512.jpg 768w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>.</p>
<h4>Build it and then fix it</h4>
<p>Build it and then fix it later is probably the most common approach when it comes to the network design of a new WISP. Many startups (understandably) want to save money anywhere they can &#8211;  consultants or tech labor costs can be steep when money is only going out and not coming in.</p>
<blockquote><p>&#8220;Let&#8217;s just get it up and running so we can get some revenue and then we&#8217;ll fix things&#8221;</p></blockquote>
<p>I&#8217;ve probably heard this phrase uttered a few hundred times when working with startup WISPs over the last decade.</p>
<p>This is the main reason bridged networks are so commonly found in startup WISPs. The network engineering is far simpler when everything is a single network and broadcast domain.</p>
<p>And it&#8217;s easy to see the allure of this approach &#8211; No subnetting, VLANs, routing protocols or advanced protocols like MPLS are required.</p>
<p>However, this is often the beginning of a painful journey for many WISPs that will result in an initial network redesign somewhere between 500 to 1000 subscribers as the broadcast domain will reach a point where performance starts to suffer and the mad dash to fix it begins.</p>
<h4>The cost of redesign</h4>
<p>Network redesigns are costly in the form of equipment, labor, downtime and lost opportunities. One of the key pieces of advice we give to prospective clients whether we work for them or not is to get someone that is a network professional involved with the network design from day one &#8211; whether it&#8217;s a consultant or an in house network engineer.</p>
<p>When we come in and perform a network redesign, there will be elements we use common to most ISP networks like:</p>
<ul>
<li>A Subnet/VLAN plan that allows for both growth at a tower and scaling of multiple towers</li>
<li>Use of an IPAM/DCIM like <a href="https://github.com/digitalocean/netbox">Netbox</a></li>
<li>When to use RFC 1918 and 6598 IP space vs. Public IP space</li>
<li>IPv4/IPv6 and CGN</li>
<li>Capacity planning &#8211; what speeds and feeds are needed now and in the future</li>
<li>L2/L3 design for Data Centers/PoPs</li>
<li>L2/L3 design for towers and aggregation networks</li>
<li>Routing architecture design that includes an IGP like OSPF along with BGP and MPLS</li>
<li>Planning for Billing, DNS, DHCP and other services.</li>
<li>Security and DDoS planning</li>
</ul>
<blockquote><p>Typically, the response we get from most clients is something like &#8220;wow, I wish I&#8217;d known about all of this before I started and just done it on day one &#8211; it would have been cheaper&#8221;</p></blockquote>
<p>The cost of going through the redesign exercise can be substantial, even for a very small WISP, it can exceed $10k and for larger WISPs, it can easily be $100k or more.</p>
<p>It might seem like the list above is fairly complex for a very small network with only one tower and one Internet feed, but the reality is that if you build a design that&#8217;s ready to scale and template on day one, it will be far easier to grow quickly and not have to forklift those components in at a later date with large out of pocket costs.</p>
<p><a href="http://stubarea51.net/wp-content/uploads/2018/08/71734956_m.jpg" rel="attachment wp-att-998"><img loading="lazy" class="alignnone size-large wp-image-998" src="//stubarea51.net/wp-content/uploads/2018/08/71734956_m-1024x1024.jpg" alt="71734956_m" width="648" height="648" srcset="https://stubarea51.net/wp-content/uploads/2018/08/71734956_m-1024x1024.jpg 1024w, https://stubarea51.net/wp-content/uploads/2018/08/71734956_m-150x150.jpg 150w, https://stubarea51.net/wp-content/uploads/2018/08/71734956_m-300x300.jpg 300w, https://stubarea51.net/wp-content/uploads/2018/08/71734956_m-768x769.jpg 768w, https://stubarea51.net/wp-content/uploads/2018/08/71734956_m-60x60.jpg 60w, https://stubarea51.net/wp-content/uploads/2018/08/71734956_m.jpg 2047w" sizes="(max-width: 648px) 100vw, 648px" /></a></p>
<p>.</p>
<h4>How does Private Equity fit in?</h4>
<p>When getting private equity firms to fund a new WISP, there are a number of budget items that go into the business plan but a plan to hire network engineers or consultants is rarely among them&#8230;why?</p>
<p>Many of the stakeholders involved in WISPs are often savvy tech people that are able to learn and digest new things quickly. I believe there is a perception that it&#8217;s less costly to start with a simplistic network design using the existing team and learn &#8216;on the fly&#8217; rather than hire an experienced networker as a consultant or especially as an employee.</p>
<p>Before I get too much hate mail, there are plenty of success stories of WISPs that were built from the ground up that had to learn on the fly and were able to build a great network &#8211; so i&#8217;m not trying to paint a picture that it can&#8217;t ever be done.</p>
<p>The trial and error approach has a better chance of succeeding when you&#8217;re self-funded as you can gauge when you need help instead of getting hammered by investors when the network isn&#8217;t working well.</p>
<p>Private equity firms, however, are looking for a predictable return on their investment and skipping proper network design and planning with an experienced professional often puts a huge dent in the projected ROI for a number of reasons like:</p>
<ul>
<li>Poor network performance which leads to slow or even negative subscriber growth</li>
<li>Higher install and truck roll costs due to the use of non-standardized and validated templates for subscribers</li>
<li>Network redesign costs</li>
<li>Outages due to lack of HA design</li>
<li>Excessive purchase of equipment due to lack of formal capacity planning and understanding of equipment use cases.</li>
</ul>
<p>And the list keeps going. These are just a few of the real-world examples we have seen that get categorized as &#8220;unforeseen costs.&#8221;</p>
<h4>Experience is the key for investors to controlling costs and building a reliable production network that will produce a consistent ROI.</h4>
<p>The key takeaway here for private equity firms and entrepreneurs that are seeking money via PE is to get professional network engineering incorporated into the budget at the beginning to minimize the list of &#8220;unforseen costs&#8221; in the first 180 to 365 days of network operation.</p>
<p>Whether you hire a consulting firm or a a full or part time network engineer to assist with this step, the key is to get someone who has experience with ISP operations and design &#8211; with WISPs especially.</p>
<p>The money saved from using a design validated by a professional will be likely be substantial and rapid growth is far easier when the network is built right from the beginning &#8211; both of these put the PE Firm and the WISP Owner/Operators in a great position to succeed and return value to investors in a shorter amount of time.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2018/08/03/the-one-thing-private-equity-firms-typically-overlook-when-funding-startup-wisps-professional-network-engineers/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">967</post-id>	</item>
		<item>
		<title>StubArea51.net has a whitebox/disaggregated networking Facebook group!</title>
		<link>https://stubarea51.net/2018/07/09/stubarea51-net-has-a-whiteboxdisaggregated-networking-facebook-group/</link>
					<comments>https://stubarea51.net/2018/07/09/stubarea51-net-has-a-whiteboxdisaggregated-networking-facebook-group/#respond</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Mon, 09 Jul 2018 17:32:29 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=894</guid>

					<description><![CDATA[We have a Facebook group! If you&#8217;re into whitebox, disaggregated or commodity networking, come join the StubArea51.net Facebook group! All network geeks are welcome 😉 Whitebox/Disaggregated Networking Facebook Group · 48 members Join Group This group is for discussing network engineering as it relates to whitebox, commodity or disaggregated networking.]]></description>
										<content:encoded><![CDATA[<h4>We have a Facebook group!</h4>
<p>If you&#8217;re into whitebox, disaggregated or commodity networking, come join the StubArea51.net Facebook group!</p>
<p>All network geeks are welcome <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<table  class=" table table-hover" style="border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="line-height: 28px;" height="28"></td>
</tr>
<tr>
<td>
<table  class=" table table-hover" style="border-collapse: separate; background-color: #ffffff; border: 1px solid #dddfe2; border-radius: 3px; font-family: Helvetica, Arial, sans-serif; margin: 0px auto;" border="0" width="280" cellspacing="0" cellpadding="0">
<tbody>
<tr style="padding-bottom: 8px;">
<td><img loading="lazy" class="img" src="https://scontent.fmem1-2.fna.fbcdn.net/v/t1.0-0/c0.0.567.296/p526x296/36858856_10102682002737239_6517147816916156416_o.jpg?_nc_cat=0&amp;oh=a98a940f5990fd005ba6ed936c7204cb&amp;oe=5BA11E3B" alt="" width="280" height="146" /></td>
</tr>
<tr>
<td style="font-size: 14px; font-weight: bold; padding: 8px 8px 0px 8px; text-align: center;">Whitebox/Disaggregated Networking</td>
</tr>
<tr>
<td style="color: #90949c; font-size: 12px; font-weight: normal; text-align: center;">Facebook Group · 48 members</td>
</tr>
<tr>
<td style="padding: 8px 12px 12px 12px;">
<table  class=" table table-hover" style="border-collapse: collapse; width: 100%;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="background-color: #4267b2; border-radius: 3px; text-align: center;"><a style="color: #3b5998; text-decoration: none; cursor: pointer; width: 100%;" href="https://www.facebook.com/plugins/group/join/popup/?group_id=192365011445824&amp;source=email_campaign_plugin" target="_blank" rel="noopener"><br />
</a></p>
<table  class=" table table-hover" style="border-collapse: collapse;" border="0" cellspacing="0" cellpadding="3" align="center">
<tbody>
<tr>
<td style="border-bottom: 3px solid #4267b2; border-top: 3px solid #4267b2;"><img src="https://facebook.com/images/groups/plugin/email/app_fb_32_fig_white.png" alt="" width="16" /></td>
<td style="border-bottom: 3px solid #4267b2; border-top: 3px solid #4267b2; color: #fff; font-family: Helvetica, Arial, sans-serif; font-size: 12px; font-weight: bold;">Join Group</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="border-top: 1px solid #dddfe2; font-size: 12px; padding: 8px 12px;">This group is for discussing network engineering as it relates to whitebox, commodity or disaggregated networking.</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="line-height: 14px;" height="14"></td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2018/07/09/stubarea51-net-has-a-whiteboxdisaggregated-networking-facebook-group/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">894</post-id>	</item>
		<item>
		<title>WISP Design – Using eBGP and OSPF transit fabric for traffic engineering</title>
		<link>https://stubarea51.net/2017/05/27/wisp-design-using-ebgp-and-ospf-transit-fabric-for-traffic-engineering/</link>
					<comments>https://stubarea51.net/2017/05/27/wisp-design-using-ebgp-and-ospf-transit-fabric-for-traffic-engineering/#respond</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Sat, 27 May 2017 15:59:18 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=647</guid>

					<description><![CDATA[One of the latest designs I have been working on is using eBGP and an OSPF transit fabric to provide traffic engineering and load balancing. If you missed this presentation at the 2017 MikroTik User Meeting in Denver, CO, here are the slides: WISP-Design-Using-eBGP-and-OSPF-TF-traffic-engineering-MUM-2017_KevinMyers-4-by-3]]></description>
										<content:encoded><![CDATA[<p><a href="//stubarea51.net/wp-content/uploads/2018/08/ebgp-transit-fab.png" rel="attachment wp-att-650"><img loading="lazy" class="alignnone size-full wp-image-650" src="//stubarea51.net/wp-content/uploads/2018/08/ebgp-transit-fab.png" alt="ebgp-transit-fab" width="647" height="487" /></a></p>
<p>One of the latest designs I have been working on is using eBGP and an OSPF transit fabric to provide traffic engineering and load balancing. If you missed this presentation at the 2017 MikroTik User Meeting in Denver, CO, here are the slides:</p>
<p><a href="http://stubarea51.net/wp-content/uploads/2017/05/WISP-Design-Using-eBGP-and-OSPF-TF-traffic-engineering-MUM-2017_KevinMyers-4-by-3.pdf" rel="">WISP-Design-Using-eBGP-and-OSPF-TF-traffic-engineering-MUM-2017_KevinMyers-4-by-3</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2017/05/27/wisp-design-using-ebgp-and-ospf-transit-fabric-for-traffic-engineering/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">647</post-id>	</item>
		<item>
		<title>Photos leaked for new CCR-6506-96G-48S-16S+</title>
		<link>https://stubarea51.net/2016/04/01/photos-leaked-for-new-ccr-6506-96g-48s-16s/</link>
					<comments>https://stubarea51.net/2016/04/01/photos-leaked-for-new-ccr-6506-96g-48s-16s/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Fri, 01 Apr 2016 17:22:01 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=435</guid>

					<description><![CDATA[So photos have been leaked (we can&#8217;t say from where exactly) for the newest experimental router from MikroTik. We don&#8217;t know much about it yet except it will be the largest router MikroTik has ever built and is currently designated as CCR-6506-96G-48S-16S+. Rough specs are: 6 slot chassis Dual redundant 720 Gbps CPU modules Dual [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>So photos have been leaked (we can&#8217;t say from where exactly) for the newest experimental router from MikroTik. We don&#8217;t know much about it yet except it will be the largest router MikroTik has ever built and is currently designated as CCR-6506-96G-48S-16S+.</p>
<p><strong>Rough specs are:</strong></p>
<ul>
<li>6 slot chassis</li>
<li>Dual redundant 720 Gbps CPU modules</li>
<li>Dual power</li>
<li>96 ports of copper 1 gig</li>
<li>48 1 gig SFP ports</li>
<li>16 Ten gig SFP+ ports</li>
</ul>
<p>Apparently this device will coincide with the release of RouterOS version 8 in 2026 [an inside source at MikroTik named &#8220;Janis&#8221; confirmed this is a realistic target date.]</p>
<p>Many covert mAP-quadcopters died to bring us this information&#8230;these photos are NOT for public distribution.</p>
<p><img loading="lazy" class="alignnone  wp-image-436" src="//stubarea51.net/wp-content/uploads/2018/08/imag2270-576x1024.jpg" alt="IMAG2270" width="462" height="821" /></p>
<p><img loading="lazy" class="alignnone size-large wp-image-437" src="//stubarea51.net/wp-content/uploads/2018/08/imag2271-1024x576.jpg" alt="IMAG2271" width="648" height="365" /></p>
<p><img loading="lazy" class="alignnone size-large wp-image-438" src="//stubarea51.net/wp-content/uploads/2018/08/imag2272-1024x576.jpg" alt="IMAG2272" width="648" height="365" /></p>
<p>And if you haven&#8217;t quite figured it out yet&#8230;<strong>APRIL FOOLS DAY!!!!</strong> But seriously MikroTik&#8230;.we need this router. <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2016/04/01/photos-leaked-for-new-ccr-6506-96g-48s-16s/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">435</post-id>	</item>
		<item>
		<title>ISP Architechture &#8211; MPLS Overview, Design and Implementation for WISPs</title>
		<link>https://stubarea51.net/2016/03/17/isp-architechture-mpls-overview-design-and-implementation-for-wisps/</link>
					<comments>https://stubarea51.net/2016/03/17/isp-architechture-mpls-overview-design-and-implementation-for-wisps/#respond</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Thu, 17 Mar 2016 18:12:45 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=430</guid>

					<description><![CDATA[Recently, I was fortunate enough to be invited by Brian Horn with WISPA.org to teach a session at WISP America 2016 in Lousiville, KY. We had the class on Tuesday, March 15th 2016 and the turnout and response were great.  Many different people have asked for the presentation, so I decided to go ahead and [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" class="alignnone size-large wp-image-432" src="//stubarea51.net/wp-content/uploads/2018/08/wispamerica-1024x768.png" alt="WISPAmerica" width="648" height="486" /></p>
<p>Recently, I was fortunate enough to be invited by Brian Horn with WISPA.org to teach a session at WISP America 2016 in Lousiville, KY. We had the class on Tuesday, March 15th 2016 and the turnout and response were great.  Many different people have asked for the presentation, so I decided to go ahead and post it here. Hope this helps some of you who are trying to get into MPLS and although it does have a bit of a WISP focus, almost all of the concepts in the presentation apply to wireline networks as well.</p>
<p><strong>About the presentation</strong></p>
<p><strong>Scope:</strong> This session was 30 minutes long with a Q&amp;A afterwards, so the material is really a deep dive on MPLS. The goal was to introduce WISP engineers and owners to MPLS and how it improves the network as well as revenue.</p>
<p><strong>When should I put MPLS in my WISP or Service Provider network? </strong> The answer is ASAP! I was asked this question by a small WISP earlier in the week and he said i&#8217;m just too small to be thinking about MPLS. My response to him was simply &#8211; &#8220;Do you want to get MPLS in and working well when you only have a handful of routers or do you want to wait until you have a large number of routers and the cost/complexity of adding MPLS will increase significantly?&#8221;</p>
<p><strong>Link to PDF version of the presentation:</strong></p>
<p><a href="http://stubarea51.net/wp-content/uploads/2016/03/ISP-Architecture-MPLS-Overvew-Design-and-Implementation-for-WISPs-WISP-America-2016.pptx-Autosaved.pdf">ISP Architecture &#8211; MPLS Overvew, Design and Implemention for WISPs</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2016/03/17/isp-architechture-mpls-overview-design-and-implementation-for-wisps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">430</post-id>	</item>
		<item>
		<title>Put 500,000+ BGP routes in your lab network!!! Download this VM and become your own upstream BGP ISP for testing.</title>
		<link>https://stubarea51.net/2016/01/21/put-500000-bgp-routes-in-your-lab-network-download-this-vm-and-become-your-own-upstream-bgp-isp-for-testing/</link>
					<comments>https://stubarea51.net/2016/01/21/put-500000-bgp-routes-in-your-lab-network-download-this-vm-and-become-your-own-upstream-bgp-isp-for-testing/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Thu, 21 Jan 2016 17:35:56 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BGP]]></category>
		<category><![CDATA[BGP Peer]]></category>
		<category><![CDATA[IPv4]]></category>
		<category><![CDATA[MikroTik]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=389</guid>

					<description><![CDATA[[adrotate banner=&#8221;5&#8243;] &#160; Happy New Year and welcome to the VM you can punish your routers with 🙂 Hello from stubarea51.net and Happy New Year! We are back from the holidays and recharged with lots of new stuff in the world of network engineering. If you ever thought it would be cool to put a full [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[adrotate banner=&#8221;5&#8243;]</p>
<p>&nbsp;</p>
<p><strong>Happy New Year and welcome to the VM you can punish your routers with <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></strong></p>
<p>Hello from stubarea51.net and Happy New Year! We are back from the holidays and recharged with lots of new stuff in the world of network engineering. If you ever thought it would be cool to put a full BGP table into a lab router, GNS3 or other virtualized router, you&#8217;re not alone.</p>
<p>A while back, I tackled this post and got everything up and running:</p>
<p><a href="http://evilrouters.net/2009/08/21/getting-bgp-routes-into-dynamips-with-video/">http://evilrouters.net/2009/08/21/getting-bgp-routes-into-dynamips-with-video/</a></p>
<p>First of all, thanks to evilrouters.net for figuring out the hard parts so we could build this into a VM. After basking for a while in the high geek factor of this project, it gave me an idea to build a VM that could be distributed among network engineers and IT professionals. The idea is to easily spin up one or more full BGP tables to test a particular network design or convergence speed, playing with BGP attributes, etc. After a few months of tweaking it and getting the VM ready for distribution, we finally are ready to put it out for everyone to use.</p>
<p><strong>Network Diagram</strong></p>
<p>Here is an overview of the topology we used for testing our full BGP table. This can be done a number of different ways and you can use just about any combination of Hypervisors including VM Ware and VirtualBox which are the two downloads included in this post. In this setup, we are using a MikroTik x86 VM to peer into the Ubuntu VM that has copies of the global table. It established an EBGP peering over 10.254.253.0/24 and takes in a full table.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-vm-network-diagram1.png"><img loading="lazy" class="alignnone size-full wp-image-422" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-vm-network-diagram1.png" alt="BGP-VM-Network-Diagram" width="1203" height="404" /></a></p>
<p><b>Getting started </b></p>
<p>First you need to download either the VM Ware or VirtualBox OVA files and import them into your hypervisor. The setup and installation of VM Ware ESXi or VirtualBox is beyond the scope of this post, so please google it if you need help.</p>
<p><strong>Downloads</strong></p>
<p><a href="https://iparchitechs-my.sharepoint.com/personal/kevin_myers_iparchitechs_com/_layouts/15/guestaccess.aspx?guestaccesstoken=8g3ek2XMd6VUwylzAOHcyfsNL8S2SQQOWpB%2ftwThtvc%3d&amp;docid=0472f0694111e41a0bccce5f57e41a321">Download .OVA for VM Ware</a></p>
<p><a href="https://iparchitechs-my.sharepoint.com/personal/kevin_myers_iparchitechs_com/_layouts/15/guestaccess.aspx?guestaccesstoken=BLYimBc%2fadJ8vngohK2FMjtFAIMtB8VK8qtAQJW%2f7CU%3d&amp;docid=0adfc5c59c65446fcbb2871878c4813a3">Download .OVA for VirtualBox</a></p>
<p><strong>Powering up the VM</strong></p>
<p>Once you have successfully imported the VM, you will get a screen that looks like this:</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-vm-startup-page.png"><img loading="lazy" class="alignnone size-full wp-image-404" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-vm-startup-page.png" alt="BGP-VM-Startup-page" width="594" height="528" /></a></p>
<p><strong>Credentials</strong></p>
<p>Here are the credentials which you can change if needed.</p>
<p><em>username:</em> bgpuser</p>
<p><em>password:</em> bgpuser</p>
<p><em>sudo password:</em> bgpuser</p>
<p><strong>Bridging the VM NIC to your lab network</strong></p>
<p>In order to have IP connectivity to another router (physical or virtual) you will need to setup the VM NIC to connect to the network you want to test on. There are a number of different ways to connect VMs into a virtual or physical network.</p>
<p><em>VM Ware &#8211; we connected the VM to the default VM management network (which is a physical server NIC) so it could reach other VMs and physical lab routers</em></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/esxi-vswitch.png"><img loading="lazy" class="alignnone size-full wp-image-411" src="//stubarea51.net/wp-content/uploads/2018/08/esxi-vswitch.png" alt="ESXi-vswitch" width="501" height="86" /></a></p>
<p>&nbsp;</p>
<p><em>VirtualBox &#8211; we bridged the VM to the NIC of the desktop we are running VirtualBox on so it could reach other VMs and physical lab routers</em></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/virtualbox-network-bridged.png"><img loading="lazy" class="alignnone size-full wp-image-412" src="//stubarea51.net/wp-content/uploads/2018/08/virtualbox-network-bridged.png" alt="VirtualBox-network-bridged" width="515" height="196" /></a></p>
<p><strong>BGP Feeds that are used in this VM</strong></p>
<p>The BGP feeds that are available come from the <a href="https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/ris-raw-data">RIPE RIS Raw Data</a> page and were archived in January 2016. We included 6 different tables from 4 continents so you can have up to 6 unique BGP tables to use in your lab testing. See the next section for the syntax to use for one of these files.</p>
<p>
<table id="tablepress-2" class="tablepress tablepress-id-2">
<thead>
<tr class="row-1 odd">
	<th class="column-1">RIPE RRC</th><th class="column-2">File Name</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even">
	<td class="column-1">rrc00.ripe.net</td><td class="column-2">ISP1-Europe-Amsterdam-Jan-2016</td>
</tr>
<tr class="row-3 odd">
	<td class="column-1">rrc01.ripe.net</td><td class="column-2">ISP2-Europe-London-Jan-2016</td>
</tr>
<tr class="row-4 even">
	<td class="column-1">rrc06.ripe.net</td><td class="column-2">ISP3-Asia-Tokyo-Jan-2016</td>
</tr>
<tr class="row-5 odd">
	<td class="column-1">rrc15.ripe.net</td><td class="column-2">ISP4-SouthAmerica-SaoPaulo-Jan-2016</td>
</tr>
<tr class="row-6 even">
	<td class="column-1">rrc11.ripe.net</td><td class="column-2">ISP5-NorthAmerica-NewYork-Jan-2016</td>
</tr>
<tr class="row-7 odd">
	<td class="column-1">rrc14.ripe.net</td><td class="column-2">ISP6-NorthAmerica-PaloAlto-Jan-2016</td>
</tr>
</tbody>
</table>
<!-- #tablepress-2 from cache --></p>
<p><em>Important Note !!!! &#8211; Using this VM does not provide connectivity to the Internet and will likely cause an outage when connected to a production network with live BGP peerings. This VM is intended to simulate an upstream peering for testing and lab development.</em></p>
<p><strong>Setting up a BGP peering &#8211; BGP VM</strong></p>
<p>Once you have IP connectivity and can ping the router you want to peer with, you can set up a peering on the VM. Here is the command syntax &#8211; first change to the bgp directory and issue the command below (with edits for your IPs and AS numbers)</p>
<pre class="font:courier-new lang:default decode:true">bgpuser@Full-BGP-Global-Table-VM:~$ cd bgp
bgpuser@Full-BGP-Global-Table-VM:~/bgp$ sudo ./bgp_simple.pl -myas 65000 -myip 10.254.253.112 -peerip 10.254.253.75 -peeras 65051 -p ISP1-Europe-Amsterdam-Jan-2016</pre>
<p>Options for the BGP Peering (using the program bgp_simple ver 0.12)</p>
<pre class="lang:default decode:true ">bgpuser@Full-BGP-Global-Table-VM:~/bgp$ ./bgp_simple.pl

Please provide -myas, -myip, -peerip and -peeras!

bgp_simple.pl: Simple BGP peering and route injection script.
Version v0.12, 22-Jan-2011.

usage:
bgp_simple.pl:
                -myas           ASNUMBER        # (mandatory) our AS number
                -myip           IP address      # (mandatory) our IP address to source the sesion from
                -peerip         IP address      # (mandatory) peer IP address
                -peeras         ASNUMBER        # (mandatory) peer AS number
                [-holdtime]     Seconds         # (optional) BGP hold time duration in seconds (default 60s)
                [-keepalive]    Seconds         # (optional) BGP KeepAlive timer duration in seconds (default 20s)
                [-nolisten]                     # (optional) dont listen at $myip, tcp/179
                [-v]                            # (optional) provide verbose output to STDOUT, use twice to get debugs
                [-p file]                       # (optional) prefixes to advertise (bgpdump formatted)
                [-o file]                       # (optional) write all sent and received UPDATE messages to file
                [-m number]                     # (optional) maximum number of prefixes to advertise
                [-n IP address]                 # (optional) next hop self, overrides original value
                [-l number]                     # (optional) set default value for LOCAL_PREF
                [-dry]                          # (optional) dry run; dont build adjacency, but check prefix file (requires -p)
                [-f KEY=REGEX]                  # (optional) filter on input prefixes (requires -p), repeat for multiple filters
                                                        KEY is one of the following attributes (CaSE insensitive):

                                                        NEIG            originating neighbor
                                                        NLRI            NLRI/prefix(es)
                                                        ASPT            AS_PATH
                                                        ORIG            ORIGIN
                                                        NXHP            NEXT_HOP
                                                        LOCP            LOCAL_PREF
                                                        MED             MULTI_EXIT_DISC
                                                        COMM            COMMUNITY
                                                        ATOM            ATOMIC_AGGREGATE
                                                        AGG             AGGREGATOR

                                                        REGEX is a perl regular expression to be expected in a
                                                        match statement (m/REGEX/)

Without any prefix file to import, only an adjacency is established and the received NLRIs, including their attributes, are logged.</pre>
<p><strong>Setting up a BGP peering &#8211; Your peering router</strong></p>
<p>We used a MikroTik x86 VM in ESXi for this test, but any brand of virtual or physical router that supports BGP can be used.</p>
<pre class="lang:default decode:true">[admin@bgp5.iparchitechs.com] &gt; routing bgp export          
# jan/21/2016 10:34:43 by RouterOS 6.30.1
# software id = KC33-08AQ
#
/routing bgp instance
set default as=65001
/routing bgp peer
add hold-time=30m keepalive-time=4m15s name=BGP-VM remote-address=10.254.253.112 remote-as=65000 ttl=default
</pre>
<p><strong>Sit back and watch hundreds of thousands of prefixes torture the CPU of your router</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/mikrotik-vm-500k-routes.png"><img loading="lazy" class="alignnone size-full wp-image-420" src="//stubarea51.net/wp-content/uploads/2018/08/mikrotik-vm-500k-routes.png" alt="MikroTik-VM-500k-routes" width="919" height="305" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2016/01/21/put-500000-bgp-routes-in-your-lab-network-download-this-vm-and-become-your-own-upstream-bgp-isp-for-testing/feed/</wfw:commentRss>
			<slash:comments>30</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">389</post-id>	</item>
		<item>
		<title>Cisco to MikroTik  &#8211; command translation &#8211; BGP</title>
		<link>https://stubarea51.net/2015/11/09/cisco-to-mikrotik-command-translation-bgp/</link>
					<comments>https://stubarea51.net/2015/11/09/cisco-to-mikrotik-command-translation-bgp/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 01:09:52 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[BGP]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[MikroTik]]></category>
		<category><![CDATA[RouterOS]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=333</guid>

					<description><![CDATA[&#160; In the world of network engineering, learning a new syntax can challenging especially if you need a lot of detail quickly. The command structure for RouterOS can be a bit challenging sometimes if you are used to Cisco CLI commands.  Most of us that have been in networking for a while got our start [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p>In the world of network engineering, learning a new syntax can challenging especially if you need a lot of detail quickly. The command structure for RouterOS can be a bit challenging sometimes if you are used to Cisco CLI commands.  Most of us that have been in networking for a while got our start with Cisco gear and so it is helpful to draw comparisons between the commands, especially if you are trying to build a network with a MikroTik and Cisco router.</p>
<p>This is the first post in a series I&#8217;ve wanted to do for a while that creates a Rosetta stone essentially between IOS and RouterOS. We plan to tackle a number of other command comparisons like OSPF, MPLS and VLANs to make it easier for network engineers trained in Cisco IOS to successfully implement MikroTik / RouterOS devices. While many commands have almost the exact same information, others are as close as possible. Since there isn&#8217;t always an exact match, sometimes you may have to run two or three commands to get the information needed.</p>
<blockquote><p>We plan to tackle a number of other command comparisons like OSPF, MPLS and VLANs to make it easier for network engineers trained in Cisco IOS to successfully implement Mikrotik / RouterOS devices.</p></blockquote>
<p><strong>Using GNS for testing</strong></p>
<p>We used GNS3 to emulate both Cisco IOS and RouterOS so we could compare the different commands and ensure the translation was as close as possible.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/cisc-to-mikrotik-gns3.png"><img loading="lazy" class="alignnone size-full wp-image-344" src="//stubarea51.net/wp-content/uploads/2018/08/cisc-to-mikrotik-gns3.png" alt="Cisc-to-MikroTik-GNS3" width="887" height="191" /></a></p>
<p><strong>BGP Commands </strong></p>
<p>
<table id="tablepress-1" class="tablepress tablepress-id-1">
<thead>
<tr class="row-1 odd">
	<th class="column-1">Cisco Command</th><th class="column-2">MikroTik Command</th>
</tr>
</thead>
<tbody class="row-hover">
<tr class="row-2 even">
	<td class="column-1">show ip bgp summary<br />
</td><td class="column-2">routing bgp peer print brief<br />
</td>
</tr>
<tr class="row-3 odd">
	<td class="column-1">show ip bgp neighbor<br />
</td><td class="column-2">routing bgp peer print status<br />
</td>
</tr>
<tr class="row-4 even">
	<td class="column-1">show ip bgp neighbor 1.1.1.1 advertised-routes<br />
</td><td class="column-2">routing bgp advertisements print peer=peer_name<br />
</td>
</tr>
<tr class="row-5 odd">
	<td class="column-1">show ip bgp neighbor 1.1.1.1 received-routes<br />
</td><td class="column-2">ip route print where received-from=peer_name<br />
</td>
</tr>
<tr class="row-6 even">
	<td class="column-1">show ip route bgp <br />
</td><td class="column-2">ip route print where bgp=yes<br />
</td>
</tr>
<tr class="row-7 odd">
	<td class="column-1">clear ip bgp 172.31.254.2 soft in<br />
</td><td class="column-2">routing bgp peer refresh peer1<br />
</td>
</tr>
<tr class="row-8 even">
	<td class="column-1">clear ip bgp 172.31.254.2 soft out</td><td class="column-2">routing bgp peer resend peer1<br />
</td>
</tr>
<tr class="row-9 odd">
	<td class="column-1">BGP-Cisco(config)#router bgp 1<br />
</td><td class="column-2">/routing bgp instance<br />
set default as=2<br />
</td>
</tr>
<tr class="row-10 even">
	<td class="column-1">BGP-Cisco(config-router)#neighbor 172.31.254.2 remote-as 2<br />
</td><td class="column-2">/routing bgp peer<br />
add name=peer1 remote-address=172.31.254.1 remote-as=1<br />
</td>
</tr>
<tr class="row-11 odd">
	<td class="column-1">BGP-Cisco(config-router)#network 100.99.98.0 mask 255.255.255.0<br />
BGP-Cisco(config-router)#network 100.99.97.0 mask 255.255.255.0<br />
BGP-Cisco(config-router)#network 100.99.96.0 mask 255.255.255.0<br />
</td><td class="column-2">/routing bgp network<br />
add network=100.89.88.0/24<br />
add network=100.89.87.0/24<br />
add network=100.89.86.0/24<br />
</td>
</tr>
<tr class="row-12 even">
	<td class="column-1">BGP-Cisco(config)#router bgp 1<br />
BGP-Cisco(config-router)#neighbor 172.31.254.2 default-originate<br />
</td><td class="column-2">/routing bgp peer<br />
add default-originate=always name=peer1 remote-address=172.31.254.1 remote-as=1<br />
</td>
</tr>
</tbody>
</table>
<!-- #tablepress-1 from cache --></p>
<p>&nbsp;</p>
<hr />
<p><strong>Examples of the MikroTik RouterOS commands from the table above</strong></p>
<hr />
<p><strong>[admin@BGP-MikroTik] &gt; routing bgp peer print brief</strong></p>
<p>This is a quick way to get a list of peers/AS and their status</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-print-brief.png"><img loading="lazy" class="alignnone size-full wp-image-347" src="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-print-brief.png" alt="routing-bgp-peer-print-brief" width="866" height="66" /></a></p>
<p><strong>[admin@BGP-MikroTik] &gt; routing bgp peer print status</strong></p>
<p>This is a command that will give you more detailed information about a BGP peer including MD5 auth, timers, prefixes received and the state of the peering as well as other info.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-print-status.png"><img loading="lazy" class="alignnone size-full wp-image-351" src="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-print-status.png" alt="routing-bgp-peer-print-status" width="870" height="130" /></a></p>
<p><strong>[admin@BGP-MikroTik] &gt; routing bgp advertisements print peer=</strong><em>peer_name</em></p>
<p>This will allow you to see what BGP prefixes are actually being advertised to a peer and the nexthop that will be advertised</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-advertisements-print-peer.png"><img loading="lazy" class="alignnone size-full wp-image-353" src="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-advertisements-print-peer.png" alt="routing-bgp-advertisements-print-peer" width="876" height="81" /></a></p>
<p><strong>[admin@BGP-MikroTik] &gt; ip route print where received-from=</strong><em>peer_name</em></p>
<p>This will allow you to see what BGP prefixes are actually being received from a peer and the nexthop that will be advertised</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/ip-route-print-where-received-from.png"><img loading="lazy" class="alignnone size-full wp-image-356" src="//stubarea51.net/wp-content/uploads/2018/08/ip-route-print-where-received-from.png" alt="ip-route-print-where-received-from" width="866" height="117" /></a></p>
<p><strong>[admin@BGP-MikroTik] &gt; ip route print where bgp=yes</strong></p>
<p>This will allow you to see what all BGP prefixes that are in the routing table &#8211; both active and not. This is a slight difference between Cisco and MikroTik since Cisco keeps BGP routes that aren&#8217;t in the routing table in the bgp table, whereas MikroTik routers keep all routes in the routing table with a distinction between active and not.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/ip-route-where-bgp-yes.png"><img loading="lazy" class="alignnone size-full wp-image-358" src="//stubarea51.net/wp-content/uploads/2018/08/ip-route-where-bgp-yes.png" alt="ip-route-where-bgp-yes" width="871" height="115" /></a></p>
<p><strong>[admin@BGP-MikroTik] &gt;  routing bgp peer refresh </strong><em>peer_name</em></p>
<p>This will allow you to force the BGP peer to resend all prefixes without tearing down the peering &#8211; similar to a soft clear in Cisco IOS.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-refresh.png"><img loading="lazy" class="alignnone size-full wp-image-366" src="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-refresh.png" alt="routing-bgp-peer-refresh" width="854" height="292" /></a></p>
<p><strong>[admin@BGP-MikroTik] &gt;  routing bgp peer resend </strong><em>peer_name</em></p>
<p>This will allow you to force RouterOS to resend all prefixes to the peer without tearing down the peering &#8211; similar to a soft clear in Cisco IOS.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-resend.png"><img loading="lazy" class="alignnone size-full wp-image-367" src="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-resend.png" alt="routing-bgp-peer-resend" width="862" height="244" /></a></p>
<p><strong>Configure BGP instance and peering</strong></p>
<p>Here is a very basic BGP peering config with the minimum required to get BGP running for RouterOS. It includes setting the BGP AS, a peering and several networks to advertise.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-export.png"><img loading="lazy" class="alignnone size-full wp-image-368" src="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-export.png" alt="routing-bgp-export" width="856" height="198" /></a></p>
<p><strong>Originate a default route to a specific peer</strong></p>
<p>This will configure the peering to originate or advertise a 0.0.0.0/0 route to the peer regardless of whether or not a default route already exists in the routing table. You can use the alternate <em>default-originate=if-installed</em> to only advertise a default route if one exists in the routing table.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-export-default-originate.png"><img loading="lazy" class="alignnone size-full wp-image-375" src="//stubarea51.net/wp-content/uploads/2018/08/routing-bgp-peer-export-default-originate.png" alt="routing-bgp-peer-export-default-originate" width="863" height="104" /></a></p>
<p><strong>More to come</strong></p>
<p>There are so many commands to consider for BGP, we probably could have added close to 100, but we decided to list the commands we use the most often to start with and will be adding to the list of BGP commands as well as others like OSPF, MPLS and VLANs in future posts.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/11/09/cisco-to-mikrotik-command-translation-bgp/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">333</post-id>	</item>
		<item>
		<title>MikroTik &#8211; CCR1072-1G-8S+ &#8211; PPPoE testing preview &#8211; 30,000 connections and queues.</title>
		<link>https://stubarea51.net/2015/10/23/mikrotik-ccr1072-1g-8s-pppoe-testing-preview-30000-connections-and-queues/</link>
					<comments>https://stubarea51.net/2015/10/23/mikrotik-ccr1072-1g-8s-pppoe-testing-preview-30000-connections-and-queues/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Fri, 23 Oct 2015 19:46:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CCR1072-1G-8S+]]></category>
		<category><![CDATA[MikroTik]]></category>
		<category><![CDATA[PPPoE]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=316</guid>

					<description><![CDATA[&#160; [adrotate banner=&#8221;5&#8243;] &#160; Why we chose PPPoE as the next test First of all, thanks to everyone for all the positive feedback, comments and questions about the CCR1072-1G-8S+ testing we have been posting in the last few months.  Even MikroTik has taken an interest in this testing and we have gotten some great feedback [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p>[adrotate banner=&#8221;5&#8243;]</p>
<p>&nbsp;</p>
<p><strong>Why we chose PPPoE as the next test</strong></p>
<p>First of all, thanks to everyone for all the positive feedback, comments and questions about the CCR1072-1G-8S+ testing we have been posting in the last few months.  Even MikroTik has taken an interest in this testing and we have gotten some great feedback from them as well.</p>
<p>We received more questions about the PPPoE capabilities of the CCR1072-1G-8S+  than any other type of request. Since we have already published the testing on BGP, throughput and EoIP, we have decided to tackle the PPPoE testing to understand where the limits of the CCR1072-1G-8S+ are. This is only a preview of the testing as we are working on different methods of testing and config, but this will at least give you a glimpse of what is possible.</p>
<p><strong>30,000 PPPoE Connections !!!!</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/30k-pppoe.png"><img loading="lazy" class="alignnone size-full wp-image-322" src="//stubarea51.net/wp-content/uploads/2018/08/30k-pppoe.png" alt="30k-pppoe" width="380" height="55" /></a></p>
<p><strong>Overview of PPPoE connections and CPU load</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/30k-pppoe-overview.png"><img loading="lazy" class="alignnone size-full wp-image-323" src="//stubarea51.net/wp-content/uploads/2018/08/30k-pppoe-overview.png" alt="30k-PPPoE-overview" width="999" height="972" /></a></p>
<p><strong>PRTG Monitoring</strong></p>
<p>We have started using PRTG in the StubArea51.net lab as it makes monitoring of resource load over time much easier when we are testing. Check it out as it is free up to 100 sensors and works very well with MikroTik</p>
<p><a href="https://www.paessler.com/prtg/download">https://www.paessler.com/prtg/download</a></p>
<p><strong>PRTG CPU Profile </strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/30k-pppoe-cpu-total-prtg.png"><img loading="lazy" class="alignnone size-full wp-image-324" src="//stubarea51.net/wp-content/uploads/2018/08/30k-pppoe-cpu-total-prtg.png" alt="30k-PPPoE-CPU-total-prtg" width="1064" height="397" /></a></p>
<p>&nbsp;</p>
<p><strong>PRTG PPPoE connection count over time</strong></p>
<p>It took us about 20 minutes to reach 30,000 connections&#8230;we are working on tuning the config to see if we can shorten the time it takes to build the connections. In the graph here, you can see it go form a 24 hour stable load of 30k connections donw to nothing as we prepare for a load test. At about 10:07 AM is when we started the full load test and you can see the time it takes to get to 30k.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/30k-pppoe-conns-total-prtg.png"><img loading="lazy" class="alignnone size-full wp-image-325" src="//stubarea51.net/wp-content/uploads/2018/08/30k-pppoe-conns-total-prtg.png" alt="30k-PPPoE-conns-total-prtg" width="1062" height="397" /></a></p>
<p><strong>More on the way!!!</strong></p>
<p>This is just a small preview of our full PPPoE testing. We will be completing testing and should be publishing the results within the next week.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/10/23/mikrotik-ccr1072-1g-8s-pppoe-testing-preview-30000-connections-and-queues/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">316</post-id>	</item>
		<item>
		<title>10 Gbps of Layer 2 throughput is possible using MikroTik&#8217;s EoIP tunnel.</title>
		<link>https://stubarea51.net/2015/10/16/10-gbps-of-layer-2-throughput-is-possible-using-mikrotiks-eoip-tunnel/</link>
					<comments>https://stubarea51.net/2015/10/16/10-gbps-of-layer-2-throughput-is-possible-using-mikrotiks-eoip-tunnel/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Fri, 16 Oct 2015 22:26:54 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.stubarea51.com/?p=83</guid>

					<description><![CDATA[&#160; [adrotate banner=&#8221;5&#8243;] &#160; [metaslider id=282] Getting to 10 Gbps using EoIP The EoIP tunnel protocol is one of the more popular features we see deployed in MikroTik routers.  It is useful anywhere a Layer 2 extension over a Layer 3 network is needed and can be done with very little effort / complexity.  One [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p>[adrotate banner=&#8221;5&#8243;]</p>
<p>&nbsp;</p>
<p>[metaslider id=282]</p>
<p><strong>Getting to 10 Gbps using EoIP</strong></p>
<p>The EoIP tunnel protocol is one of the more popular features we see deployed in MikroTik routers.  It is useful anywhere a Layer 2 extension over a Layer 3 network is needed and can be done with very little effort / complexity.  One of the questions that seems to come up on the forums frequently is how much traffic can an EoIP tunnel handle which is typically followed by questions about performance with IPSEC turned on. Answers given by MikroTik and others on forums.mikrotik.com typically fall into the 1 to 3 Gbps range with some hints that more is possible. We searched to see if anyone had done 10 Gbps over EoIP with or without IPSEC and came up empty handed. That prompted us to dive into the StubArea51 lab and set up a test network so we could get some hard data and definitive answers.</p>
<p><strong>The EoIP protocol and recent enhancements</strong></p>
<p>Ethernet over IP or EoIP is a protocol that started as an IETF  draft somewhere around 2002 and MikroTik developed a proprietary implementation of it that has been in RouterOS for quite a while. Similar to EoMPLS or Cisco&#8217;s OTV, it faciltates the encapsulation of Layer 2 traffic over a Layer 3 network such as the Internet or even a private L3 WAN like an MPLS cloud. If you follow MikroTik and RouterOS updates closely, you might have come across a new feature that was released in version 6.30 of RouterOS.</p>
<pre>What's new in 6.30 (2015-Jul-08 09:07):

*) tunnels - eoip, eoipv6, gre,gre6, ipip, ipipv6, 6to4 tunnels
   have new property - ipsec-secret - for easy setup of ipsec
   encryption and authentication;
</pre>
<p>This is a much anticipated feature as it simplifies the deployment of secure tunnels immensely. It makes things so easy, that it really gives MikroTik a significant competitive advantage against Cisco and other vendors that have tunneling features in their routers and firewalls. When you look at the complexity involved in deploying a tunnel over ipsec in a Cisco router vs. a MikroTik router, there is a clear advantage to using MikroTik for tunneling. I originally looked into this feature for EoIP but it is available many other tunnel types like gre, ipip and 6to4.</p>
<blockquote><p>When you look at the complexity involved in deploying a tunnel over ipsec in a Cisco router vs. a MikroTik router, there is a clear advantage to using MikroTik for tunneling.</p></blockquote>
<p><strong>Here is one of the simpler implementations of L2TPv3 over IPSEC in a Cisco router which still has a fair amount of complexity  surrounding it.</strong></p>
<p><a href="http://www.cisco.com/c/en/us/support/docs/security/flexvpn/116207-configure-l2tpv3-00.html" target="_blank">http://www.cisco.com/c/en/us/support/docs/security/flexvpn/116207-configure-l2tpv3-00.html</a></p>
<p><strong>VS.</strong></p>
<p><a href="http://wiki.mikrotik.com/wiki/Manual:Interface/EoIP" target="_blank">http://wiki.mikrotik.com/wiki/Manual:Interface/EoIP</a></p>
<p>The MikroTik config has 3 required config items for EoIP on each router vs double the steps with Cisco and the added complexity of troubleshooting IPSEC if you get a line of config wrong.</p>
<p><strong>The test network</strong></p>
<p>In order to test 10 Gbps speed over EoIP, we needed a 10 Gbps capable test network and decided to use two CCR-10368G-2S+ as our endpoints and a CCR1072-1G-8S+ as the core WAN. We used an HP DL360-G6 with ESXi as the hypervisor to launch our test VMs for TCP throughput.  We typically use VMs instead of MikroTik&#8217;s built in bandwidth tester because they can generate more traffic and have more granularity to stage specific test conditions (TCP window, RX/TX buffer, etc).</p>
<p><img loading="lazy" class="alignnone  wp-image-299" src="//stubarea51.net/wp-content/uploads/2018/08/eoip-testing1-1024x491.png" alt="EoIP Testing" width="817" height="392" /></p>
<p><strong>Concept of testing</strong></p>
<p>Most often, EoIP is implemented over the Internet and so using 9000 as a test MTU might be surprising to some users and possibly irrelevant, but when using a private WAN, quite often a Layer 3 solution is much less expensive than Layer 2 handoffs (especially at 10 Gbps) and 9000 bytes is almost always supported on that kind of transport, so L2 over private L3 definitely has a place as a possible application for EoIP with 9000 byte frames.</p>
<p><em>9000 byte MTU unencrypted</em><br />
<em>9000 byte MTU encrypted with IPSEC</em></p>
<p><em>1500 byte MTU unencrypted</em><br />
<em>1500 byte MTU encrypted with IPSEC</em></p>
<p><strong>And the results are in!!! 10 Gbps is possible over EoIP</strong></p>
<p><strong>10 Gbps over EoIP (Unencrypted with 9000 byte MTU)</strong></p>
<p><a href="http://stubarea51.net/wp-content/uploads/2015/10/10-gbps-unencrypted-throughput-EOIP.png"><img loading="lazy" class="alignnone  wp-image-295" src="//stubarea51.net/wp-content/uploads/2018/08/10-gbps-unencrypted-throughput-eoip-300x208.png" alt="10-gbps-unencrypted-throughput-EOIP" width="470" height="326" /></a></p>
<p><strong>Video of 10 Gbps over EoIP (Unencrypted with 9000 byte MTU)</strong></p>
<p><iframe loading="lazy" class="youtube-player" width="648" height="365" src="https://www.youtube.com/embed/jTt9X2TkN1Q?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation"></iframe></p>
<p><strong>7.5 Gbps over EoIP (IPSEC encrypted with 9000 byte MTU)</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/7-5-gbps-encrypted-throughput-eoip.png"><img loading="lazy" class="alignnone  wp-image-294" src="//stubarea51.net/wp-content/uploads/2018/08/7-5-gbps-encrypted-throughput-eoip.png" alt="7-5-gbps-encrypted-throughput-EOIP" width="475" height="330" /></a></p>
<p>&nbsp;</p>
<p><strong>Video of 7.5 Gbps over EoIP (IPSEC encrypted with 9000 byte MTU)</strong></p>
<p><iframe loading="lazy" class="youtube-player" width="648" height="365" src="https://www.youtube.com/embed/bhO6jOHJDdw?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation"></iframe></p>
<p>&nbsp;</p>
<p><strong>6.4 Gbps over EoIP <strong> (Unencrypted with 1500 byte MTU)</strong></strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/6-4-gbps-unencrypted-throughput-eoip.png"><img loading="lazy" class="alignnone  wp-image-304" src="//stubarea51.net/wp-content/uploads/2018/08/6-4-gbps-unencrypted-throughput-eoip.png" alt="6-4-gbps-unencrypted-throughput-EOIP" width="478" height="327" /></a></p>
<p>&nbsp;</p>
<p><strong>Video of 6.4 Gbps over EoIP (Unencrypted with 1500 byte MTU)</strong></p>
<p><iframe loading="lazy" class="youtube-player" width="648" height="365" src="https://www.youtube.com/embed/Xi0XxcAaknA?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation"></iframe></p>
<p><strong>1.7 Gbps over EoIP <strong>(IPSEC encrypted with 1500 byte MTU)</strong></strong></p>
<p><a href="http://stubarea51.net/wp-content/uploads/2015/10/1-7-gbps-encrypted-throughput-EOIP.png"><img loading="lazy" class="alignnone  wp-image-305" src="//stubarea51.net/wp-content/uploads/2018/08/1-7-gbps-encrypted-throughput-eoip-1024x699.png" alt="1-7-gbps-encrypted-throughput-EOIP" width="481" height="328" /></a></p>
<p><strong>Video of <strong>1.7 Gbps over EoIP <strong>(IPSEC encrypted with 1500 byte MTU)</strong></strong><br />
</strong></p>
<p>Video will be posted soon.</p>
<p><strong>Use cases and conclusions</strong></p>
<p>The CCR1036 certainly had no issues getting to 10 Gbps with the right MTU and test hardware, but we were suprised that the IPSEC thoughput was so high. Considering a pair of CCR1036-8G-2S+ routers are just a little over $2000.00 USD, 7.5 Gigabits of encrypted throughput with IPSEC is incredible. Even over a 1500 byte MTU, the 1.7 Gbps we were able to hit is amazing considering it would probably take at least 20k to 30k USD to reach that kind of encrypted throughput with equipment from a mainstream network vendor like Cisco or Juniper.</p>
<p>Use cases for this are probably too numerous to mention but we came up with a few</p>
<ul>
<li>Extending an ISP or joining two or more ISPs in different regions</li>
<li>High volume PPPoE backhaul to a BRAS</li>
<li>Data Center Interconnect (DCI) at Layer 2</li>
<li>Enterprise HQ and Branch connectivity or backup</li>
<li>Layer 2 network extension for network migration or merger.</li>
</ul>
<p><strong>Please feel free to leave comments with questions about the testing or use cases we might not have thought of&#8230;we love getting feedback <img src="https://s.w.org/images/core/emoji/13.1.0/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/10/16/10-gbps-of-layer-2-throughput-is-possible-using-mikrotiks-eoip-tunnel/feed/</wfw:commentRss>
			<slash:comments>15</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">83</post-id>	</item>
		<item>
		<title>MikroTik CCR1072-1G-8S+ Review – Part 3 &#8211; 80 Gbps Throughput testing</title>
		<link>https://stubarea51.net/2015/10/09/mikrotik-ccr1072-1g-8s-review-part-3-80-gbps-throughput-testing/</link>
					<comments>https://stubarea51.net/2015/10/09/mikrotik-ccr1072-1g-8s-review-part-3-80-gbps-throughput-testing/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Fri, 09 Oct 2015 00:43:56 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=238</guid>

					<description><![CDATA[[adrotate banner=&#8221;5&#8243;] &#160; [metaslider id=249] The 80 Gbps barrier has finally been broken (and yes we are rounding up) !!!! Well at least it has been reached by someone other than MikroTik. It&#8217;s taken us quite a while to get all the right pieces to push 80 Gbps of traffic through the CC1072 but with [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[adrotate banner=&#8221;5&#8243;]</p>
<p>&nbsp;</p>
<p>[metaslider id=249]</p>
<p><strong>The 80 Gbps barrier has finally been broken (and yes we are rounding up) !!!!</strong></p>
<p>Well at least it has been reached by someone other than MikroTik. It&#8217;s taken us quite a while to get all the right pieces to push 80 Gbps of traffic through the CC1072 but with the latest round of servers that just got delivered to our lab, we were able to go beyond our previous high water mark of 54 Gbps all the way to just under 80 Gbps. There have been a number of questions about this particular router and what the performance will look like in the real world. While this is still a lab test, we are using non-MikroTik equipment and iperf which is considered an extremely accurate performance measuring tool for TCP and UDP.</p>
<p><strong>Video of the CCR1072-1G-8S+ in action  </strong>(Turn up your volume to hear the roar of the ESXi servers as they approach 80 Gbps)</p>
<p><iframe loading="lazy" class="youtube-player" width="648" height="365" src="https://www.youtube.com/embed/odNkzle-YJ4?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation"></iframe></p>
<p><strong>How we did it &#8211; The Hardware </strong></p>
<p><strong>CCR1072-1G-8S+ </strong>&#8211; Obviously you can&#8217;t have a test of the CCR1072 without one to test on. Our CCR1072-1G-8S+ is a pre-production model so there are some minor differences between it and the units that are shipping right now.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/1055_l.jpg"><img loading="lazy" class="alignnone  wp-image-269" src="//stubarea51.net/wp-content/uploads/2018/08/1055_l.jpg" alt="1055_l" width="710" height="400" /></a></p>
<p><strong>HP DL360-G6</strong> &#8211; It&#8217;s hard to find a better value in the used server market than the HP DL360 series.  This series of server can be found on ebay for under $500 USD in general and makes a great ESXi host for development and testing work.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/dl360-g6.png"><img loading="lazy" class="alignnone size-full wp-image-243" src="//stubarea51.net/wp-content/uploads/2018/08/dl360-g6.png" alt="DL360-G6" width="800" height="163" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Intel x520-DA2 10 Gbps PCI-E NIC</strong> &#8211;  This NIC was definitely not the cheapest 10 gig NIC on the market, but after some research, we found it was one of the most compatible and stable across a wide variety of x86 hardware. The only downside to using this particular NIC is the requirement to use INTEL branded SPF+ modules. We tried several types of generics and after reading some forums posts, we were able to figure out that it only takes a few different types of INTEL SFP+ modules.  This didn&#8217;t impact performance in any way but doubled the cost of the SFPs required.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/intel_x520-da2_475x260.png"><img loading="lazy" class="alignnone size-full wp-image-253" src="//stubarea51.net/wp-content/uploads/2018/08/intel_x520-da2_475x260.png" alt="Intel_X520-DA2_475x260" width="475" height="260" /></a></p>
<p><strong>How we did it &#8211; The Software</strong></p>
<p><strong>RouterOS &#8211; </strong>We tried several thoughought the testing cycle, but settled on 6.30.4 bugfix.</p>
<p><strong>iperf3 </strong>&#8211; If you need to generate traffic for a load test, this is probably one of the best programs to use.</p>
<p><strong>VM Ware ESXi 6.0 </strong>&#8211; There were certainly a fair amount of hypervisors to choose from, and we even considered a Docker deployment for the performance advantages but in the end, VM Ware was the easiest to deploy and manage since we needed some flexibility in the vswitch and 9000 MTU.</p>
<p><a href="http://stubarea51.net/wp-content/uploads/2015/10/vmware.jpg"><img loading="lazy" class="alignnone  wp-image-270" src="//stubarea51.net/wp-content/uploads/2018/08/vmware-300x169.jpg" alt="vmware" width="177" height="100" /></a></p>
<p><strong>CentOS 6.6 Virtual Machines</strong> &#8211; We chose CentOS as the base OS for TCP throughput testing because it supports VM Ware tools and the VMXNET3 paravirtualized NIC. It is not possible to get a VM to 10 Gbps of throughput without using a paravirtualized NIC so this limits the range of Linux distros to mainstream types like Ubuntu and CentOS. Also, we tend to use CentOS more than the other flavors of linux and so it allowed us to get the VMs ready quickly to generate traffic.</p>
<p><a href="http://stubarea51.net/wp-content/uploads/2015/10/Centos-poweredby.png"><img loading="lazy" class="alignnone  wp-image-271" src="//stubarea51.net/wp-content/uploads/2018/08/centos-poweredby-200x300.png" alt="Centos-poweredby" width="105" height="158" /></a></p>
<p>&nbsp;</p>
<p><strong>Network Topology for the test </strong>&#8211; We essentially had to put two VLANs on every physical interface so that the link could be fully loaded by using the 1072 to route between VLANs. A VM was built on each VLAN and tagged in the vswitch for simplicity. In earlier tests, we tried to use LACP between ESXi and the 1072 but had problems loading the links fully with the hashing algorithms we had available.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/ccr1072-1g-8s-plus-80gig-testing-network-diagram.png"><img loading="lazy" class="alignnone size-full wp-image-239" src="//stubarea51.net/wp-content/uploads/2018/08/ccr1072-1g-8s-plus-80gig-testing-network-diagram.png" alt="CCR1072-1G-8S-plus-80gig-testing-network-diagram" width="1203" height="820" /></a></p>
<p><strong>RouterOS Config for the test </strong></p>
<p><a href="http://www.iparchitechs.com/iparchitechs.com-ccr1072-80gig-test-config.rsc">www.iparchitechs.com/iparchitechs.com-ccr1072-80gig-test-config.rsc</a></p>
<p><strong>Conclusions, challenges and what we learned</strong></p>
<p><figure id="attachment_256" aria-describedby="caption-attachment-256" style="width: 300px" class="wp-caption alignnone"><a href="http://stubarea51.net/wp-content/uploads/2015/10/1072-80gig-min.jpg"><img loading="lazy" class="size-medium wp-image-256" src="//stubarea51.net/wp-content/uploads/2018/08/1072-80gig-min-300x169.jpg" alt="CCR1072-1G-8S+ at full capacity just under 80 Gbps using (4) HP DL360 ESXi hosts and (16) CentOS VMs." width="300" height="169" /></a><figcaption id="caption-attachment-256" class="wp-caption-text">CCR1072-1G-8S+ at full capacity just under 80 Gbps using (4) HP DL360 ESXi hosts and (16) CentOS VMs.</figcaption></figure></p>
<p>The CCR1072-1G-8S+ is an extremely powerful router and had little difficulty in reaching full throughput once we were able to muster enough resources to load all of the links. As RouterOS continues to develop and moves into version 7, this router has the potential to be extremely disruptive to mainstream network vendors.  At $3,000.00 USD list price, this router is ab absolute steal for the performance, 1U footprint and power consumption. Look for more and more of these to show up in data centers, ISPs and enterprises.</p>
<p><strong>Challenges</strong></p>
<p>There have been a number of things that we have had to work through to get to 80 Gbps but we finally got there.</p>
<ul>
<li>VMWARE ESXi – LACP Hashing – Initially we built LACP channels between the ESXi hosts and the 1072 expecting to load the links by using multiple source and destination IPs but we ran into issues with traffic getting stuck on one side of the LACP channel and had to move to independent links.</li>
<li>Paravirtualized NIC &#8211; The VM guest OS must support a paravirtualized NIC like VMXNET3 to reach 10 Gbps speeds.</li>
<li>CPU Resources – TCP consumes an enormous amount of CPU cycles and we were only able to get 27 Gbps per ESXi host (we had two) and 54 Gbps total</li>
<li>TCP Offload – Most NICs these days allow for offloading of TCP segmentation by hardware in the NIC rather than the CPU, we were never able to get this working properly in VM WARE to reduce the load on the hypervisor host CPUs.</li>
<li>MTU – While the CCR1072 supports 10,226 bytes max MTU, VMWARE vswitch only supports 9000 so we lost some potential throughput by having to lower the MTU by more than 10%</li>
</ul>
<p><strong>What we learned</strong></p>
<ul>
<li>MTU &#8211; In order for the CCR1072-1G-8S+ (and really any MikroTik) to reach maximum throughput, the highest L2/L3 MTU (we used 9000) must be used on:
<ul>
<li>The CCR</li>
<li>The Guest OS</li>
<li>The Hypervisor VSWITCH</li>
</ul>
</li>
<li>Hypervisor Throughput &#8211; Although virtualization has come a long way, there is still a fair amount of performance lost especially in the network stack when putting a software layer between the Guest OS and the Hardware NIC.</li>
<li>CPU Utilization with no firewall rules or queues is very low. We haven&#8217;t had a chance to test with queues or firewall rules but CPU utilization never went above 10% across all cores.</li>
<li>TCP tuning for 10 Gbps in the Guest OS is very important &#8211; see this link: <a href="https://fasterdata.es.net/host-tuning/linux/">https://fasterdata.es.net/host-tuning/linux/</a></li>
</ul>
<p><strong>Please comment and let us know what CCR1072-1G-8S+ test you would like to see next!!!</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/10/09/mikrotik-ccr1072-1g-8s-review-part-3-80-gbps-throughput-testing/feed/</wfw:commentRss>
			<slash:comments>16</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">238</post-id>	</item>
		<item>
		<title>MikroTik CCR1072-1G-8S+ Review &#8211; update on Part 3 &#8211; Throughput</title>
		<link>https://stubarea51.net/2015/09/24/mikrotik-ccr1072-1g-8s-review-update-on-part-3-throughput/</link>
					<comments>https://stubarea51.net/2015/09/24/mikrotik-ccr1072-1g-8s-review-update-on-part-3-throughput/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Thu, 24 Sep 2015 23:07:28 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=231</guid>

					<description><![CDATA[[adrotate banner=&#8221;4&#8243;] Breaking the 80 Gbps barrier!!! The long wait for real-world 1072 performance numbers is almost over &#8211; the last two VMWARE server chassis we needed to push the full 80 Gpbs arrived in the StubArea51 lab today. Thanks to everyone who wrote in and commented on the first two reviews we did on [&#8230;]]]></description>
										<content:encoded><![CDATA[<p style="text-align: left;">
<p style="text-align: left;">[adrotate banner=&#8221;4&#8243;]</p>
<p style="text-align: left;">
<p style="text-align: left;"><strong>Breaking the 80 Gbps barrier!!!</strong></p>
<p style="text-align: left;"><a href="http://stubarea51.net/wp-content/uploads/2015/09/799px-Bell_X-1_46-062_in_flight.jpg"><img loading="lazy" class="alignnone size-medium wp-image-232" src="//stubarea51.net/wp-content/uploads/2018/08/799px-bell_x-1_46-062_in_flight-300x225.jpg" alt="799px-Bell_X-1_46-062_(in_flight)" width="300" height="225" /></a></p>
<p style="text-align: left;">The long wait for real-world 1072 performance numbers is almost over &#8211; the last two VMWARE server chassis we needed to push the full 80 Gpbs arrived in the StubArea51 lab today. Thanks to everyone who wrote in and commented on the first two reviews we did on the CCR-1072-1G-8S+.  We initially began work on performance testing throughput for the CCR1072 in late July of this year, but had to order a lot of parts to get enough 10 Gig PCIe cards, SFP+ modules and fiber to be able to push 80 Gbps of traffic through this router.</p>
<p><strong>Challenges</strong></p>
<p>There have been a number of things that we have had to work through to get to 80 Gbps but we are very close. This will be detailed in the full review we plan to release next week but here are a few.</p>
<ul>
<li>VMWARE ESXi &#8211; LACP Hashing &#8211; Initially we built LACP channels between the ESXi hosts and the 1072 expecting to load the links by using multiple source and destination IPs but we ran into issues with traffic getting stuck on one side of the LACP channel and had to move to independent links.</li>
<li>CPU Resources &#8211; TCP consumes an enormous amount of CPU cycles and we were only able to get 27 Gbps per ESXi host (we had two) and 54 Gbps total</li>
<li>TCP Offload &#8211; Most NICs these days allow for offloading of TCP segmentation by hardware in the NIC rather than the CPU, we were never able to get this working properly in VM WARE to reduce the load on the hypervisor host CPUs.</li>
<li>MTU &#8211; While the CCR1072 supports 10,226 bytes max MTU, VMWARE vswitch only supports 9000 so we lost some potential throughput by having to lower the MTU by more than 10%</li>
</ul>
<p><strong>Results preview</strong></p>
<p>Here is a snapshot of where we have been able to get to using 6.30.4 bugfix so far</p>
<p>Single TCP Stream performance at 10 Gig in iperf at 9000 bytes MTU (L2/L3)</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/1072-10gig-tcp-stream.png"><img loading="lazy" class="alignnone size-full wp-image-229" src="//stubarea51.net/wp-content/uploads/2018/08/1072-10gig-tcp-stream.png" alt="1072-10gig-tcp-stream" width="589" height="70" /></a></p>
<p>Throughput in WinBox</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/10-gig-tcp-stream-interface.png"><img loading="lazy" class="alignnone size-full wp-image-230" src="//stubarea51.net/wp-content/uploads/2018/08/10-gig-tcp-stream-interface.png" alt="10-Gig-TCP-stream-interface" width="752" height="53" /></a></p>
<p>Max throughput so far with two ESXi 6.0 hosts (HP DL360 G6 with 2 Intel Xeon x5570 CPUs)</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/ccr1072-traffic.jpg"><img loading="lazy" class="alignnone size-full wp-image-228" src="//stubarea51.net/wp-content/uploads/2018/08/ccr1072-traffic.jpg" alt="CCR1072-Traffic" width="600" height="338" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>Two more servers arrived today &#8211; Full results coming <span style="text-decoration: underline;">very</span> soon!</strong></p>
<p>Once we hit the performance limit at 54 Gbps, we ordered two more servers and they just arrived. We will be racking them into the lab immediately and should have some results by next week. Thanks for being patient and check back soon!!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/09/24/mikrotik-ccr1072-1g-8s-review-update-on-part-3-throughput/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">231</post-id>	</item>
		<item>
		<title>MikroTik unveils new RouterOS development cycle</title>
		<link>https://stubarea51.net/2015/08/04/mikrotik-unveils-new-routeros-development-cycle/</link>
					<comments>https://stubarea51.net/2015/08/04/mikrotik-unveils-new-routeros-development-cycle/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Tue, 04 Aug 2015 15:01:04 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://stubarea51.net/?p=199</guid>

					<description><![CDATA[&#160; [adrotate banner=&#8221;4&#8243;] &#160; As we all patiently await the release of RouterOS (RoS) v7 beta, MikroTik has announced a change in the way RoS development is organized.  There will now be three different tracks of development: Bugfix only &#8211; When a current build is released, only fixes to known bugs will be added to this [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p>[adrotate banner=&#8221;4&#8243;]</p>
<p>&nbsp;</p>
<p>As we all patiently await the release of RouterOS (RoS) v7 beta, MikroTik has announced a change in the way RoS development is organized.  There will now be three different tracks of development:</p>
<p><strong>Bugfix only &#8211; </strong>When a current build is released, only fixes to known bugs will be added to this branch of development</p>
<p><strong>Current &#8211;</strong> Current release will contain bugfixes and new features</p>
<p><strong>Release Candidate &#8211; </strong>The release candidate will remain the development build for the next &#8220;current&#8221; release.</p>
<p>&nbsp;</p>
<p><strong>Graphical Overview of the new development cycle</strong></p>
<p><img loading="lazy" class="alignnone size-full wp-image-198" src="//stubarea51.net/wp-content/uploads/2018/08/mikrotik-bugfix-map.png" alt="MikroTik-bugfix-map" width="845" height="351" /></p>
<p>Image and notes below are from <a href="http://forum.mikrotik.com/viewtopic.php?f=21&amp;t=98580">here</a></p>
<blockquote><p><em>A small addendum: the Bugfix only will only contain verified fixes, and no new features. The Current release contains the same fixes but also new features and other improvements, sometimes also less critical fixes than in Bugfix. And finally the Release Candidate is more likely to a nightly build. We will not to intensive testing before publishing these, only quick check if upgrade can be done and if most features work fine.</em></p></blockquote>
<p><strong>Origin</strong></p>
<p>The idea originally came out of this <a href="http://forum.mikrotik.com/viewtopic.php?f=21&amp;t=97997">thread</a> and after a flurry of positive commentary, it became a working practice shortly therafter.</p>
<blockquote><p>We plan to make sub-version releases that only contain fixes and no new features.</p>
<p>For example, we would release 6.30 with some new features in FastPath. Then, if some issues are found, we would make 6.30.1 with only fixes and no new functionality. When we add a new option or feature, we would make 6.31.</p>
<p>6.XX.Y &#8211; only bug fixes<br />
6.XX &#8211; fixes and feature changes</p>
<p>We could even make several fix-only releases in a row, if needed.</p>
<p>The idea is that you can upgrade to a sub-point release without risking new bugs, that could come with new features being added.</p>
<p>As the v6 cycle is coming to an end, there is simply no other &#8216;branch&#8217; to put new features in, as v7 is still too &#8216;raw&#8217;. We could stop with the sub-point releases once v7 is mature enough for general use.</p></blockquote>
<p><strong>MikroTik download page gets a slight refresh with a new drop down</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/mikrotik-download.png"><img loading="lazy" class="alignnone size-full wp-image-203" src="//stubarea51.net/wp-content/uploads/2018/08/mikrotik-download.png" alt="MikroTik-Download" width="1053" height="495" /></a></p>
<p><strong>Thoughts</strong></p>
<p>This a very positive change for MikroTik and will go a long way with customers and integrators to be able to select code based on the needs of the environment. This release cycle is very similar to other network vendors (Think of Cisco IOS General Deployment vs Maintenance Deployment) and works well.</p>
<p>Code selection is such a critical element to the stability of a network and it&#8217;s helpful to have the ability to load a RoS code that has been patched but without new features. It&#8217;s a bit early to tell as to how much of an impact this will make in the MikroTik community, but the results so far look promising. I&#8217;ve done upgrades on a number of CCRs and 2011 series routers from 6.30 &#8211;&gt; 6.30.1 &#8211;&gt; 6.30.2 bugfix only and haven&#8217;t seen any major stability issue s or other bugs when running on a BGP/MPLS/OSPF service provider network.</p>
<p>There was a lot of churn with bugs and working features breaking early on in 6.x and this change should help to avoid at least some of that upheaval when 7.x makes it to a &#8220;current&#8221; release.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/08/04/mikrotik-unveils-new-routeros-development-cycle/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">199</post-id>	</item>
		<item>
		<title>MikroTik CCR1072-1G-8S+ Review (Part 2) &#8211; BGP Performance</title>
		<link>https://stubarea51.net/2015/07/25/mikrotik-ccr1072-1g-8s-review-part-2-bgp-performance/</link>
					<comments>https://stubarea51.net/2015/07/25/mikrotik-ccr1072-1g-8s-review-part-2-bgp-performance/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Sat, 25 Jul 2015 01:02:05 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.stubarea51.com/?p=152</guid>

					<description><![CDATA[[adrotate banner=&#8221;4&#8243;] Here is Part 1 of the CCR1072-1G-8S+ review in case you missed it! CCR1072-1G-8S+ Ultimate BGP Performance test After many days of testing, Part 2 is finally here! Welcome to the stubarea51.net BGP gauntlet. We subjected the CCR1072 to different types of network torture stress testing. Continuing on from our initial review, we chose [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[adrotate banner=&#8221;4&#8243;]</p>
<p>Here is <a href="http://www.stubarea51.com/2015/07/10/mikrotik-ccr1072-1g-8s-review-part-1-hardware-specs-and-design-use-cases/">Part 1</a> of the CCR1072-1G-8S+ review in case you missed it!</p>
<p><strong>CCR1072-1G-8S+ Ultimate BGP Performance test</strong></p>
<p>After many days of testing, Part 2 is finally here! Welcome to the stubarea51.net BGP gauntlet. We subjected the CCR1072 to different types of network <del>torture </del>stress testing. Continuing on from our initial review, we chose BGP as the first way to test the limits and capacity of the CCR1072-1G-8S+.</p>
<p><strong>Here is an overview of our lab environment to test the new CCR</strong></p>
<ul>
<li>CCR1072-1G-8S+</li>
<li>CCR1009-8G-1S-1S+</li>
<li>CRS-125-24G-1S+</li>
<li>x86 VMs on ESXi 6.0 for upstream BGP peering</li>
<li>(2) ESXi 6.0 Hosts with 20 Gb (4&#215;10) connectivity</li>
<li>Multimode 10 gig SFP+ using 50/125 OM3 fiber</li>
</ul>
<p>All RouterOS devices were loaded with the latest stable code (6.30.1 at the time of testing)</p>
<p><strong>Network Design of the StubArea51 LAB setup for BGP testing</strong></p>
<p>For this series of testing, we took our two ESXi 6.0 hosts and built a number of VMs using RouterOS and Ubuntu to supply the <del>1.21 Gigawatts</del> 3.6 Million routes we would need to beat up on the CCR1072 for a few days. If you&#8217;re not familiar with the RIPE Routing Information Service (RIS) project, go <a href="https://www.ripe.net/analyse/internet-measurements/routing-information-service-ris/ris-raw-data">here</a> to take a look at the routing tables we used. Because the route server does not load routes nearly as quickly as a router, we used a CCR-1009-1S-1S+ to take in a single copy of the 457,461 routes in the Palo Alto IX public BGP table (July 2015). Then we set up eBGP peerings between the CCR1009 and each of the 8 BGP upstream VMs to give the CCR1072 plenty of peers.  We also put two iBGP VMs in the same AS as the 1072 so we could test the route reflection capabilites of the CCR1072.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-design.png"><img loading="lazy" class="alignnone  wp-image-182" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-design.png" alt="BGP-Design" width="1080" height="448" /></a></p>
<p><strong>Concept of Testing in v6.30.1</strong></p>
<p>One of the first things we wanted to test on the CCR-1072-1G-8S+ was how quickly it handled large BGP routing tables. It is probably a good idea to take a slight detour here and mention that in version 6 of RouterOS, the BGP process is not multi-threaded, so it is limited to one core. As such, there are improvements MikroTik is working on to make pulling in large BGP tables faster and more efficient. Here is that discussion in the MikroTik forums:</p>
<p><a href="http://forum.mikrotik.com/viewtopic.php?t=69931">http://forum.mikrotik.com/viewtopic.php?t=69931</a></p>
<p><strong>Next generation of code &#8211; RouterOS v7</strong></p>
<p>After exhibiting and presenting at the USA MUM 2015 in Miami, we had a lot of time to talk to MikroTik and get some insight on what is happening with optimizing BGP in RouterOS. MikroTik has seen major BGP performance improvements in v7. I seem to remember a slide that was presented at the MUM with some specific performance numbers on v7 but I couldn&#8217;t find it. I did come across a slide from the 2014 MUM in Russia that talks about the routing improvements in v7:</p>
<p>This presentation on CCR Tips and Tricks by Janis Megis from that MUM is available <a href="http://mum.mikrotik.com/presentations/RU14/megis.pdf">here</a></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/ru2014mum-v7.png"><img loading="lazy" class="alignnone  wp-image-186" src="//stubarea51.net/wp-content/uploads/2018/08/ru2014mum-v7.png" alt="RU2014MUM-V7" width="490" height="367" /></a></p>
<p><strong>Testing Results</strong></p>
<p>Here are the results of the BGP testing we have done that list:</p>
<ul>
<li>How many peers are used</li>
<li>How many total routes are taken in</li>
<li>How long it took to fully converge</li>
<li>VRF performance results (if applicable)</li>
<li>Route-reflection performance results (if applicable)</li>
</ul>
<p><strong>Public BGP Table &#8211; IPv4 with 1 upstream peer (457,461 routes &#8211; 1 Minute 33 seconds)</strong></p>
<p><strong> <a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-1-peer-no-vrf-1-33.png"><img loading="lazy" class="alignnone size-full wp-image-169" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-1-peer-no-vrf-1-33.png" alt="BGP-1-peer-no-vrf-1-33" width="902" height="324" /></a></strong></p>
<p><strong>Public BGP Table &#8211; IPv4 with 2 upstream peers (914,922 routes &#8211; 3 Minutes 25 seconds)</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-2-peers-no-vrf-3-25.png"><img loading="lazy" class="alignnone size-full wp-image-173" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-2-peers-no-vrf-3-25.png" alt="BGP-2-peers-no-vrf-3-25" width="901" height="323" /></a></p>
<p><strong>Public BGP Table &#8211; IPv4 with 4 upstream peers (1,829,844 routes &#8211; 7 Minutes 8 seconds)</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-4-peers-no-vrf-7-08.png"><img loading="lazy" class="alignnone size-full wp-image-174" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-4-peers-no-vrf-7-08.png" alt="BGP-4-peers-no-vrf-7-08" width="901" height="323" /></a></p>
<p><strong>Public BGP Table &#8211; IPv4 with 8 upstream peers (3,659,688 routes &#8211; 13 Minute 17 seconds)</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-8-peers-no-vrf-13-17.png"><img loading="lazy" class="alignnone size-full wp-image-175" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-8-peers-no-vrf-13-17.png" alt="BGP-8-peers-no-vrf-13-17" width="900" height="324" /></a></p>
<p><strong>Public BGP Table &#8211; IPv6</strong></p>
<p>Unfortunately, we did not have a way to test a full IPv6 BGP table in our lab. We are working on enabling that for future testing and will update once we have some results.</p>
<p><strong>BGP Performance in a VRF &#8211; IPv4 with 8 upstream peers (3,659,688 routes &#8211; 15 Minutes 45 seconds)</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-8-peers-with-vrf_internet-15-44.png"><img loading="lazy" class="alignnone size-full wp-image-185" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-8-peers-with-vrf_internet-15-44.png" alt="BGP-8-peers-with-VRF_INTERNET-15-44" width="936" height="347" /></a></p>
<p><strong>BGP Route Reflection &#8211; 2 clients (914,922 routes sent &#8211;  1 Minute 53 seconds)</strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/bgp-2-route-reflector-peers-no-vrf-1-53.png"><img loading="lazy" class="alignnone size-full wp-image-179" src="//stubarea51.net/wp-content/uploads/2018/08/bgp-2-route-reflector-peers-no-vrf-1-53.png" alt="BGP-2-route-reflector-peers-no-vrf-1-53" width="831" height="397" /></a></p>
<p><strong>Conclusion</strong></p>
<p>The CCR-1072-1G-8S+ is a fantastic BGP core or edge router. It is able to take in a full table in just over a minute, and is able to take in two tables (which is the most common type of BGP peering deployment we see) in just over 3 minutes, which puts on equal or better footing with a <a href="https://ams-ix.net/downloads/ams-ix-route-server-implementations-performance.pdf">Cisco ASR 1001/1002</a> at a fraction of the cost.</p>
<p>We see the CCR-1072-1G-8S+ as an extremely strong candidate to use as an Internet BGP edge or core router. A pair of the 1072 routers would also make great WAN aggregation routers for an enterprise data center. Considering most large enterprises don&#8217;t go much beyond 10,000 to 15,000 BGP routes in their private MPLS routing tables, the CCR1072 would be able to converge almost immediately and provide stable and scalable throughput to the core.</p>
<p>The next phase of testing we will move into involves throughput testing using iperf on the 1072 with 20 gbps, 40 Gbps and 80 Gbps load tests &#8211; we will use BGP/OSPF and MPLS/VPLS configurations to look at performance differences for different types of networks.</p>
<p>CCR-1072-1G-8S+ available soon @</p>
<p><a href="http://www.roc-noc.com/mikrotik/routerboard/CCR1072-1G-8Splus.html"><img loading="lazy" class="alignnone  wp-image-140" src="//stubarea51.net/wp-content/uploads/2018/08/logo-roc-noc-300x55.png" alt="logo-roc-noc" width="202" height="37" /></a></p>
<p><a href="http://www.roc-noc.com/mikrotik/routerboard/CCR1072-1G-8Splus.html">http://www.roc-noc.com/mikrotik/routerboard/CCR1072-1G-8Splus.html</a></p>
<p>Stay Tuned!</p>
<p><strong>Coming next &#8211; MikroTik CCR1072-1G-8S+ Review (Part 3 ) 20 Gpbs, 40Gbps and 80 Gbps routing performance testing over BGP/OSPF/MPLS. </strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/07/25/mikrotik-ccr1072-1g-8s-review-part-2-bgp-performance/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">152</post-id>	</item>
		<item>
		<title>MikroTik CCR1072-1G-8S+ Review (Part 2) &#8211; BGP Performance *** Preview ***</title>
		<link>https://stubarea51.net/2015/07/18/mikrotik-ccr1072-1g-8s-review-part-2-bgp-performance-preview/</link>
					<comments>https://stubarea51.net/2015/07/18/mikrotik-ccr1072-1g-8s-review-part-2-bgp-performance-preview/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Sat, 18 Jul 2015 19:56:34 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.stubarea51.com/?p=144</guid>

					<description><![CDATA[Part 2 is on the way! It has been a busy week and we have been working hard on CCR1072 testing. The full review for BGP Performance is still a few days away, but here is a sneak preview of some of the testing in the stubarea51 Lab. We put just under 1.7 Million routes [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Part 2 is on the way!</strong></p>
<p>It has been a busy week and we have been working hard on CCR1072 testing. The full review for BGP Performance is still a few days away, but here is a sneak preview of some of the testing in the stubarea51 Lab.</p>
<blockquote><p>We put just under 1.7 Million routes across 4 BGP peers into the CCR1072-1G-8S+ and it was fully converged in 2 Minutes and 42 seconds.</p></blockquote>
<p><strong>Here is a screen shot of the CCR1072-1G-8S+ after converging with 4 full feeds. </strong></p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/cc1072-bgp-peering-preview.png"><img loading="lazy" class="alignnone size-full wp-image-145" src="//stubarea51.net/wp-content/uploads/2018/08/cc1072-bgp-peering-preview.png" alt="CC1072-BGP-Peering-Preview" width="888" height="499" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/07/18/mikrotik-ccr1072-1g-8s-review-part-2-bgp-performance-preview/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">144</post-id>	</item>
		<item>
		<title>MikroTik CCR1072-1G-8S+ Review (Part 1) &#8211; hardware, specs and design use cases</title>
		<link>https://stubarea51.net/2015/07/10/mikrotik-ccr1072-1g-8s-review-part-1-hardware-specs-and-design-use-cases/</link>
					<comments>https://stubarea51.net/2015/07/10/mikrotik-ccr1072-1g-8s-review-part-1-hardware-specs-and-design-use-cases/#comments</comments>
		
		<dc:creator><![CDATA[Kevin Myers]]></dc:creator>
		<pubDate>Fri, 10 Jul 2015 02:44:32 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://www.stubarea51.com/?p=20</guid>

					<description><![CDATA[[adrotate banner=&#8221;4&#8243;] 07/25/2015 &#8211; Thanks to Normunds @ MikroTik for sending over photos of the production CCR-1072-1G-8S+ which have now been included in the slideshow [metaslider id=52] CCR-1072-1G-8S+ available soon @ http://www.roc-noc.com/mikrotik/routerboard/CCR1072-1G-8Splus.html UPDATE 7/10/2015 &#8211; MikroTik officially lists the CCR1072 http://routerboard.com/CCR1072-1G-8Splus NOTE: The pictures in this review are of a pre-production CCR1072. The CCR1072 that [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>[adrotate banner=&#8221;4&#8243;]</p>
<p><em>07/25/2015 &#8211; Thanks to Normunds @ MikroTik for sending over photos of the production CCR-1072-1G-8S+ which have now been included in the slideshow</em></p>
<p>[metaslider id=52]</p>
<p>CCR-1072-1G-8S+ available soon @</p>
<p><a href="http://www.roc-noc.com/mikrotik/routerboard/CCR1072-1G-8Splus.html"><img loading="lazy" class="alignnone  wp-image-140" src="//stubarea51.net/wp-content/uploads/2018/08/logo-roc-noc-300x55.png" alt="logo-roc-noc" width="202" height="37" /></a></p>
<p><a href="http://www.roc-noc.com/mikrotik/routerboard/CCR1072-1G-8Splus.html">http://www.roc-noc.com/mikrotik/routerboard/CCR1072-1G-8Splus.html</a></p>
<p><em>UPDATE 7/10/2015 &#8211; MikroTik officially lists the CCR1072 </em></p>
<p><a href="http://routerboard.com/CCR1072-1G-8Splus">http://routerboard.com/CCR1072-1G-8Splus</a></p>
<p><em>NOTE: The pictures in this review are of a pre-production CCR1072. The CCR1072 that is shipping has some minor differences on the mainboard and the case. MikroTik is sending updated pictures and we will post those as soon as they come in!</em></p>
<p><strong>StubArea51.net prepares for CCR1072 performance testing in the Flowood, MS lab</strong></p>
<p>Well, the long wait is finally over. According to Tom over at www.roc-noc.com, the CCR1072 will start shipping in the next 2 weeks and we will be adding it to our development lab in Flowood, MS. We were fortunate enough to get a <span style="text-decoration: underline;">significant</span> amount of time with the new flagship router down in Miami at the 2015 USA MUM thanks to MT. The arrival of the CCR1072 and 80 Gbps of throughput opens up new doors for MikroTik. The CCR1072 positions MikroTik to  break into larger markets and enables competition against industry players like Cisco and Juniper.</p>
<p><strong>This review will be divided into three separate posts (this is Part 1):</strong></p>
<ol>
<li>Hardware/Specs</li>
<li>Throughput testing/performance</li>
<li>BGP peer load testing.</li>
</ol>
<p>The first section will focus on the design, hardware specifications and use cases. We will have a CCR1072 in the Stub Area 51 lab very shortly and will be connecting it to our 10 Gbps capable ESXi servers to provide TCP/UDP performance metrics on IPv4 and IPv6. We will also be testing the BGP Peering capability of the CCR1072 by connecting it to our service provider lab and sending multiple full feeds simultaneously to see how it handles the load.</p>
<p><strong>Raw Specs and product description</strong></p>
<p>Let&#8217;s take a look at the numbers and product description from MikroTik:</p>
<blockquote><p>CCR1072-1G-8S+ is an industrial grade super fast router with cutting edge 72 core CPU. If you need many millions of packets per second &#8211; Cloud Core Router is your best choice.</p>
<ul>
<li> 72 core networking CPU, 1 GHz clock per core</li>
<li> 16GB ECC RAM</li>
<li> State of the art TILE GX architecture</li>
<li> 8x SFP+ ports for 10 Gigabit connectivity</li>
<li> Ports directly connected to CPU</li>
<li> Up to 80 Gbps throughput</li>
<li> Over 100 million pps packet throughput</li>
<li> 1U rackmount case</li>
<li> Color touchscreen LCD display</li>
<li> Two hot-swap power supplies for redundancy</li>
<li> MicroSD and 2x USB</li>
<li> Two M.2 slots accept 800mm Key-M x4 PCIe 2.0 modules</li>
</ul>
</blockquote>
<p><strong>Under the hood </strong></p>
<p>With the air channel installed for the quad fan assembly</p>
<p><a href="http://www.stubarea51.com/wp-content/uploads/2015/07/IMAG0142.jpg"><img loading="lazy" class="alignnone size-large wp-image-46" src="//stubarea51.net/wp-content/uploads/2018/08/imag0142-1024x576.jpg" alt="IMAG0142" width="648" height="365" /></a></p>
<p>With the air channel removed and the looking at the CPU heat sink</p>
<p><img loading="lazy" class="alignnone size-large wp-image-45" src="//stubarea51.net/wp-content/uploads/2018/08/imag0146-1024x576.jpg" alt="IMAG0146" width="648" height="365" /></p>
<p><strong>Power redundancy</strong></p>
<p>One trend that I hope MikroTik continues across the rack mount product line is the option of dual power supplies like on the CCR1009. This has been a long awaited feature on MikroTik routers and it helps to position MikroTik into segments it has struggled to gain a foothold on like enterprise and data center networking.</p>
<p><a href="http://www.stubarea51.com/wp-content/uploads/2015/07/IMAG0147.jpg"><img loading="lazy" class="alignnone size-large wp-image-40" src="//stubarea51.net/wp-content/uploads/2018/08/imag0147-1024x576.jpg" alt="IMAG0147" width="648" height="365" /></a></p>
<p><a href="http://www.stubarea51.com/wp-content/uploads/2015/07/IMAG0140.jpg"><img loading="lazy" class="alignnone size-large wp-image-48" src="//stubarea51.net/wp-content/uploads/2018/08/imag0140-1024x576.jpg" alt="IMAG0140" width="648" height="365" /></a></p>
<p><strong>72 Cores for 80Gbps+ worth of Interwebs!</strong></p>
<p>A look inside the heart of the beast at the 72 Core Tilera gx8072 processor.</p>
<p><a href="http://www.stubarea51.com/wp-content/uploads/2015/07/IMAG0143.jpg"><img loading="lazy" class="alignnone size-large wp-image-42" src="//stubarea51.net/wp-content/uploads/2018/08/imag0143-1024x576.jpg" alt="IMAG0143" width="648" height="365" /></a></p>
<p>Mikrotik&#8217;s published speed numbers for the CCR1072 are 80 Gbps, but if you read the Tilera specs, it is capable of 100 Gbps of throughput. The 80 Gbps rating appears to come from the 8 x 10 Gig interfaces connected to the mPIPE. It would be interesting to see if any more 10 gig interfaces could be added via the PCIe slots.</p>
<p><strong>Source:</strong> <a href="http://www.tilera.com/pic/drim__7480.JPG">http://www.tilera.com/products/?ezchip=585&amp;spage=618</a></p>
<p><img loading="lazy" class="" src="http://www.tilera.com/pic/drim__7480.JPG" alt="" width="593" height="500" /></p>
<p><strong>Use Cases</strong></p>
<ul>
<li><strong>Service Provider</strong> &#8211; A number of ideas come to mind for ISPs &#8211; This could be used in the core / distribution with BGP/OSPF/MPLS, although it may not be the most efficient router to use to terminate public BGP until the router can process the tables more quickly. This would also make a great PE for a larger MPLS network that needs more resources on the PE. We will be testing the CCR1072 with multiple full feeds to see how well it handles them.</li>
<li><strong>Data Center</strong> &#8211; This could easily be the Layer 3 core of even a medium size data center and certainly those renting a partial rack of COLO space.  InterVLAN routing at 80 Gbps easily exceeds the needs of all but the big data operators. These could also be used for throughput to IP based storage like NFS or iSCSI. There is a trend in Data Center design towards moving dynamic routing down to the end host and the 1072 could be positioned as a TOR (Top of Rack) or EOR (End of Row) L3 routing point.</li>
<li><strong>High throughput L4-L7 Firewall</strong> &#8211; When used as a firewall deployed at Layer 2 or 3, this router can move a large amount of data through its stateful firewall. Considering the Cisco 5585x starts at 20 gig of throughput and is typically approaching $100,000 to deploy, this could be a game changer in the firewall world at just under $3K per box.</li>
<li><strong>High Performance IPv4 / IPv6 Proxy / Web Cache</strong> &#8211; The SD slot opens up some great possibilities to build a high performance web proxy with caching.  Throw in some Layer7 rules and you have a very economical IPv4 / IPv6 dual stack capable proxy capable of pushing traffic way beyond the capacity of most Internet pipes.</li>
<li><strong>Enterprise &#8211; </strong>When coupled with the right 10 gig switch, the CCR1072 is well suited to run an Enterprise campus and handle converged Data, Voice and Video.  The 1072 is ideal for a core or distribution layer in the Enterprise.</li>
</ul>
<p><strong>Design Example &#8211; Data Center CCR1072 implementation</strong></p>
<p>This is a design adapted from an initial Data Center buildout we labbed and presented at the US 2014 MUM on achieving HA and high throughput with a CCR 1036-8G-2S+ as the Layer 3 core in a Data Center. We have taken and adapted many of the design principles of that network and updated the design with the CCR1072.</p>
<p>See presentation slide here in PDF format: <a href="http://www.stubarea51.com/wp-content/uploads/2015/07/Mikrotik-Data-Center-MUM-2014_KevinMyers-4-by-3.pdf">Mikrotik-Data-Center-MUM-2014_KevinMyers-4-by-3</a></p>
<p><strong>Video is below:</strong></p>
<p><iframe loading="lazy" class="youtube-player" width="648" height="365" src="https://www.youtube.com/embed/JLv9t5f2ing?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent" allowfullscreen="true" style="border:0;" sandbox="allow-scripts allow-same-origin allow-popups allow-presentation"></iframe></p>
<p>The original design was built using CCR1036-8G-2S+ and used 20 Gig LACP channels to achieve 40 Gbps of aggregate throughput using ECMP with OSPF/BGP. Now that the CCR1072 has been released, we can increase the aggregate throughput to 160 Gbps between two routers and 320Gbps using four routers.</p>
<p><a href="//stubarea51.net/wp-content/uploads/2018/08/ccr1072-dc.png"><img loading="lazy" class="alignnone  wp-image-36" src="//stubarea51.net/wp-content/uploads/2018/08/ccr1072-dc.png" alt="CCR1072-DC" width="752" height="669" /></a></p>
<p><strong>Coming next &#8211; MikroTik CCR1072-1G-8S+ Review (Part 2 ) BGP Performance testing using multiple peers with full BGP tables.</strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://stubarea51.net/2015/07/10/mikrotik-ccr1072-1g-8s-review-part-1-hardware-specs-and-design-use-cases/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">20</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 21/743 objects using disk
Page Caching using disk: enhanced 
Minified using disk
Database Caching 42/110 queries in 0.071 seconds using disk

Served from: stubarea51.net @ 2026-08-24 14:47:17 by W3 Total Cache
-->