<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://falz.net/index.php?action=history&amp;feed=atom&amp;title=RANCID_-_Mikrotik_Routers</id>
	<title>RANCID - Mikrotik Routers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://falz.net/index.php?action=history&amp;feed=atom&amp;title=RANCID_-_Mikrotik_Routers"/>
	<link rel="alternate" type="text/html" href="http://falz.net/index.php?title=RANCID_-_Mikrotik_Routers&amp;action=history"/>
	<updated>2026-04-21T11:13:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://falz.net/index.php?title=RANCID_-_Mikrotik_Routers&amp;diff=129&amp;oldid=prev</id>
		<title>Falz at 19:07, 9 July 2014</title>
		<link rel="alternate" type="text/html" href="http://falz.net/index.php?title=RANCID_-_Mikrotik_Routers&amp;diff=129&amp;oldid=prev"/>
		<updated>2014-07-09T19:07:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:07, 9 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Dev]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Unix]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Unix]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Network]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Network]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Falz</name></author>
	</entry>
	<entry>
		<id>http://falz.net/index.php?title=RANCID_-_Mikrotik_Routers&amp;diff=43&amp;oldid=prev</id>
		<title>Falz at 15:18, 9 July 2014</title>
		<link rel="alternate" type="text/html" href="http://falz.net/index.php?title=RANCID_-_Mikrotik_Routers&amp;diff=43&amp;oldid=prev"/>
		<updated>2014-07-09T15:18:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:18, 9 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Tech&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Unix&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Network]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[http://www.shrubbery.net/rancid/ RANCID] is a system that lets you fetch router configs into CVS. It supports many devices by default but not [http://mikrotik.com MikroTik] which is sort of a new kid on the block. [http://www.bootc.net/ Someone] was nice enough to [http://www.shrubbery.net/pipermail/rancid-discuss/2009-April/003817.html create] a [http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=23;list=rancid patch] for MikroTik. This patch doesn&amp;#039;t cleanly apply so here&amp;#039;s all you need to get it going in a non-patch method. These docs were made on a FreeBSD system, paths may be different in your case.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[http://www.shrubbery.net/rancid/ RANCID] is a system that lets you fetch router configs into CVS. It supports many devices by default but not [http://mikrotik.com MikroTik] which is sort of a new kid on the block. [http://www.bootc.net/ Someone] was nice enough to [http://www.shrubbery.net/pipermail/rancid-discuss/2009-April/003817.html create] a [http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=23;list=rancid patch] for MikroTik. This patch doesn&amp;#039;t cleanly apply so here&amp;#039;s all you need to get it going in a non-patch method. These docs were made on a FreeBSD system, paths may be different in your case.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Falz</name></author>
	</entry>
	<entry>
		<id>http://falz.net/index.php?title=RANCID_-_Mikrotik_Routers&amp;diff=12&amp;oldid=prev</id>
		<title>Falz: Created page with &quot;Category:Tech [http://www.shrubbery.net/rancid/ RANCID] is a system that lets you fetch router configs into CVS. It supports many devices by default but not [http://mikrot...&quot;</title>
		<link rel="alternate" type="text/html" href="http://falz.net/index.php?title=RANCID_-_Mikrotik_Routers&amp;diff=12&amp;oldid=prev"/>
		<updated>2014-07-09T15:02:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Tech&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Tech (page does not exist)&quot;&gt;Category:Tech&lt;/a&gt; [http://www.shrubbery.net/rancid/ RANCID] is a system that lets you fetch router configs into CVS. It supports many devices by default but not [http://mikrot...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Tech]]&lt;br /&gt;
[http://www.shrubbery.net/rancid/ RANCID] is a system that lets you fetch router configs into CVS. It supports many devices by default but not [http://mikrotik.com MikroTik] which is sort of a new kid on the block. [http://www.bootc.net/ Someone] was nice enough to [http://www.shrubbery.net/pipermail/rancid-discuss/2009-April/003817.html create] a [http://www.gossamer-threads.com/lists/engine?do=post_attachment;postatt_id=23;list=rancid patch] for MikroTik. This patch doesn&amp;#039;t cleanly apply so here&amp;#039;s all you need to get it going in a non-patch method. These docs were made on a FreeBSD system, paths may be different in your case.&lt;br /&gt;
&lt;br /&gt;
* Get [http://falz.net/static/rancid/mtlogin mtlogin] and [http://falz.net/static/rancid/mtrancid mtrancid] from http://falz.net/static/rancid/ and place them in &amp;#039;&amp;#039;&amp;#039;/usr/local/libexec/rancid/&amp;#039;&amp;#039;&amp;#039;. &amp;#039;&amp;#039;&amp;#039;chmod 555&amp;#039;&amp;#039;&amp;#039; them.&lt;br /&gt;
&lt;br /&gt;
* Edit &amp;#039;&amp;#039;&amp;#039;/usr/local/libexec/rancid/rancid-fe&amp;#039;&amp;#039;&amp;#039; and add this line to the &amp;#039;&amp;#039;&amp;#039;%vendortable&amp;#039;&amp;#039;&amp;#039; hash:&lt;br /&gt;
     &amp;#039;mikrotik&amp;#039;		=&amp;gt; &amp;#039;mtrancid&amp;#039;,&lt;br /&gt;
&lt;br /&gt;
Then just add a device as type &amp;#039;&amp;#039;&amp;#039;mikrotik&amp;#039;&amp;#039;&amp;#039; to your &amp;#039;&amp;#039;&amp;#039;router.db&amp;#039;&amp;#039;&amp;#039; file. like so and things should work as expected:&lt;br /&gt;
&lt;br /&gt;
 router.foo.net:&amp;#039;&amp;#039;&amp;#039;mikrotik&amp;#039;&amp;#039;&amp;#039;:up&lt;br /&gt;
&lt;br /&gt;
== Issues ==&lt;br /&gt;
* Mikrotik generates a random mac-address for openvpn server when the config is displayed. To fix this bug, force its mac-address:&lt;br /&gt;
 /interface ovpn-server server set mac-address=00:00:00:00:00:01&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* 2012-08-15 - updated &amp;quot;mtrancid&amp;quot; line 226 to fix up line splitting code. - Kristian Hoffmann&lt;br /&gt;
* 2011-03-09 - updated &amp;#039;&amp;#039;&amp;#039;mtrancid&amp;#039;&amp;#039;&amp;#039; adding &amp;#039;&amp;#039;&amp;#039;without-paging&amp;#039;&amp;#039;&amp;#039; per [http://forum.mikrotik.com/viewtopic.php?p=253106#p253106 timoid&amp;#039;s suggestion]&lt;/div&gt;</summary>
		<author><name>Falz</name></author>
	</entry>
</feed>