# mikrotik routeros is based on linux kernel?

**URL:** <https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381>\
**Category:** General\
**Created:** [February 23, 2006, 8:26pm UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381 "2006-02-23T20:26:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hellbound](https://forum.mikrotik.com/letter_avatar/hellbound/32/6_449c533f586939b6e5f246632a46421f.png) [@Hellbound](https://forum.mikrotik.com/u/Hellbound)\
**Post date:** [February 23, 2006, 8:26pm UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/1 "2006-02-23T20:26:45Z")

</div>

hi guys  
I was wondering if mikrotik routeros is based on linux kernel?  
it appears to be so by the method of handling networking…

thanks

---

<div class="post-metadata">

**Author:** ![csickles](https://forum.mikrotik.com/letter_avatar/csickles/32/6_449c533f586939b6e5f246632a46421f.png) [@csickles](https://forum.mikrotik.com/u/csickles)\
**Post date:** [February 23, 2006, 8:34pm UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/2 "2006-02-23T20:34:57Z")

</div>

Yes.  
A hardened kernel.

---

<div class="post-metadata">

**Author:** ![Hellbound](https://forum.mikrotik.com/letter_avatar/hellbound/32/6_449c533f586939b6e5f246632a46421f.png) [@Hellbound](https://forum.mikrotik.com/u/Hellbound)\
**Post date:** [February 23, 2006, 8:36pm UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/3 "2006-02-23T20:36:30Z")

</div>

so based on that mikrotik must share the sourcecode? or is it different licensing?

---

<div class="post-metadata">

**Author:** ![changeip](https://forum.mikrotik.com/letter_avatar/changeip/32/6_449c533f586939b6e5f246632a46421f.png) [@changeip](https://forum.mikrotik.com/u/changeip)\
**Post date:** [February 23, 2006, 9:13pm UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/4 "2006-02-23T21:13:22Z")

</div>

Read license.txt included in the zip files.

Sam

---

<div class="post-metadata">

**Author:** ![eflanery](https://forum.mikrotik.com/letter_avatar/eflanery/32/6_449c533f586939b6e5f246632a46421f.png) [@eflanery](https://forum.mikrotik.com/u/eflanery)\
**Post date:** [February 23, 2006, 10:09pm UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/5 "2006-02-23T22:09:30Z")

</div>

Basically, they will send you a CD with all the open source stuff they have touched, including the Linux kernel.

But, they won’t send you the code for their higher-level closed source stuff, obviously.

–Eric

---

<div class="post-metadata">

**Author:** ![jager](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/jager/32/134_2.png) [@jager](https://forum.mikrotik.com/u/jager)\
**Post date:** [February 23, 2006, 11:16pm UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/6 "2006-02-23T23:16:07Z")

</div>

The real power of Mikrotik lays in the fact that it is based on linux kernel. Imagine a win-based Router OS 😛 It will suprise you with blue-screen very often 😛

---

<div class="post-metadata">

**Author:** ![csickles](https://forum.mikrotik.com/letter_avatar/csickles/32/6_449c533f586939b6e5f246632a46421f.png) [@csickles](https://forum.mikrotik.com/u/csickles)\
**Post date:** [February 23, 2006, 11:21pm UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/7 "2006-02-23T23:21:20Z")

</div>

Sounds perfectly fair to me !!! 😃

You can’t run a **buisness** and keep poeple fed if you give away all of your work.. 😮

Come on people, they need to make a living as well… 😃

If someonre wants to write code as a hobby or to “show off” or just “help man kind” then more power to them!

Take DUDE, They could charge for it, but they chose not to, can you imagine the cost of licensing OpenView ?? I think most of us out here could NOT afford it..

In short, if you can’t afford under $50 US for a software product that replaces (very well I say,) MANY network / security devices and that allows many people to make a good living by using it to provide needed services to many comumities, then GET A LIFE…

Sorry for the soap box, but I have heard this one before and I would not guess that the person asking would be willing to go broke while others profited by using their products or used their source code to launch a buisness to compete with them.. It just does not make sense…

Just my two cents (US) worth…

**Admin please remove if too rough…**

Craig

---

<div class="post-metadata">

**Author:** ![eflanery](https://forum.mikrotik.com/letter_avatar/eflanery/32/6_449c533f586939b6e5f246632a46421f.png) [@eflanery](https://forum.mikrotik.com/u/eflanery)\
**Post date:** [February 24, 2006, 12:18am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/8 "2006-02-24T00:18:53Z")

</div>

It sounds fair to me as well, and it certainly meets the requirements of the GPL.

I don’t think anyone was asking for MT’s propritary code, just the GPL / Other OSS stuff.  
If you want to take a look at their kernel modifications, they provide a means for you to do that, all on the up and up.

So, why the rant? I don’t see anyone asking for something for nothing, nor claiming that MT has to release their home-grown code.

–Eric

---

<div class="post-metadata">

**Author:** ![sten](https://forum.mikrotik.com/letter_avatar/sten/32/6_449c533f586939b6e5f246632a46421f.png) [@sten](https://forum.mikrotik.com/u/sten)\
**Post date:** [February 24, 2006, 12:44am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/9 "2006-02-24T00:44:54Z")

</div>

> [@csickles](#):
>
> Yes.  
> A hardened kernel.

What do you mean?

---

<div class="post-metadata">

**Author:** ![sten](https://forum.mikrotik.com/letter_avatar/sten/32/6_449c533f586939b6e5f246632a46421f.png) [@sten](https://forum.mikrotik.com/u/sten)\
**Post date:** [February 24, 2006, 12:58am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/10 "2006-02-24T00:58:03Z")

</div>

> [@jager](#):
>
> The real power of Mikrotik lays in the fact that it is based on linux kernel. Imagine a win-based Router OS 😛 It will suprise you with blue-screen very often 😛

I can. It probably wouldn’t blue-screen very often if done right.  
However windows’ network stack is differently built than linux.  
Linux’ network stack is monolithic while Windows’ is not very monolithic at all. Linux’ network stack performs great on most PC systems, however Windows’ was designed to cover anything from the small to the extremely large. They won’t maintain two stacks thus it has to built differently. Since the same stack goes in Windows 2003 and in XP Home edition and neither are designed to be routers but instead servers or clients it is designed to be efficient (enough) on home computers and large server systems with 10 or more cpus.  
It will actually do alot of the processing in userland instead of kernel meaning you don’t need to add much syncronization code. This in turn turns up the efficiency in multi processor environments.  
In short, a windows system running X cpus can and will outperform linux running X cpus at serving, not routing.

What kind of system this would be i wouldn’t know as i can’t afford anything supporting 10, 20 or 64 cpu’s 😃

---

<div class="post-metadata">

**Author:** ![eflanery](https://forum.mikrotik.com/letter_avatar/eflanery/32/6_449c533f586939b6e5f246632a46421f.png) [@eflanery](https://forum.mikrotik.com/u/eflanery)\
**Post date:** [February 24, 2006, 12:58am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/11 "2006-02-24T00:58:09Z")

</div>

> [@sten](#):
>
> > [@csickles](#):
> >
> > Yes.  
> > A hardened kernel.
> 
> What do you mean?

They boiled it for 8min, rather than 4min.

🙂

---

<div class="post-metadata">

**Author:** ![eflanery](https://forum.mikrotik.com/letter_avatar/eflanery/32/6_449c533f586939b6e5f246632a46421f.png) [@eflanery](https://forum.mikrotik.com/u/eflanery)\
**Post date:** [February 24, 2006, 1:38am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/12 "2006-02-24T01:38:41Z")

</div>

> [@sten](#):
>
> > [@jager](#):
> >
> > The real power of Mikrotik lays in the fact that it is based on linux kernel. Imagine a win-based Router OS 😛 It will suprise you with blue-screen very often 😛
> 
> I can. It probably wouldn’t blue-screen very often if done right.  
> However windows’ network stack is differently built than linux.  
> Linux’ network stack is monolithic while Windows’ is not very monolithic at all. Linux’ network stack performs great on most PC systems, however Windows’ was designed to cover anything from the small to the extremely large. They won’t maintain two stacks thus it has to built differently. Since the same stack goes in Windows 2003 and in XP Home edition and neither are designed to be routers but instead servers or clients it is designed to be efficient (enough) on home computers and large server systems with 10 or more cpus.  
> It will actually do alot of the processing in userland instead of kernel meaning you don’t need to add much syncronization code. This in turn turns up the efficiency in multi processor environments.  
> In short, a windows system running X cpus can and will outperform linux running X cpus at serving, not routing.
> 
> What kind of system this would be i wouldn’t know as i can’t afford anything supporting 10, 20 or 64 cpu’s 😃

Both the Linux and Windows stacks are decendants of the old BSD4.4-lite sockets stack. If you want a significantly more flexable, scalable, confusing, and mostly forgotton stack, look to SysV Streams. The IBM s/3x0 and as/400 stacks are quite different beasts as well, and they are _much_ higher performance.

If I had anything with that 64 CPUs, I wouldn’t let Linux _or_ Windows anywhere near it. 🙂

–Eric

---

<div class="post-metadata">

**Author:** ![sten](https://forum.mikrotik.com/letter_avatar/sten/32/6_449c533f586939b6e5f246632a46421f.png) [@sten](https://forum.mikrotik.com/u/sten)\
**Post date:** [February 24, 2006, 2:20am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/13 "2006-02-24T02:20:28Z")

</div>

> [@eflanery](#):
>
> Both the Linux and Windows stacks are decendants of the old BSD4.4-lite sockets stack. If you want a significantly more flexable, scalable, confusing, and mostly forgotton stack, look to SysV Streams. The IBM s/3x0 and as/400 stacks are quite different beasts as well, and they are _much_ higher performance.
> 
> If I had anything with that 64 CPUs, I wouldn’t let Linux _or_ Windows anywhere near it. 🙂

Both are decendants of the same implementation but both have evolved in two different ways. The others you mentioned have different stacks indeed.

Let me give just one example of what i mean:

In Linux the tcp packets are handled in kernel running in unrestricted mode. In Windows the packets are handled in a mode inbetween unrestricted (ring0) and restricted (ring3) before eventually leaving the computer (outbound packets) or is passed to a program (inbound packets).

---

<div class="post-metadata">

**Author:** ![csickles](https://forum.mikrotik.com/letter_avatar/csickles/32/6_449c533f586939b6e5f246632a46421f.png) [@csickles](https://forum.mikrotik.com/u/csickles)\
**Post date:** [February 24, 2006, 5:57am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/14 "2006-02-24T05:57:52Z")

</div>

Sorry for the harsh post, but there have been “demands” before that MikroTik “must” release everything…

I just wanted to get that idea nipped…

I cant think of a product priced as reasonably that is the product of harder work..

You have to admit that MANY small companies / WISPS and others would not be in buisness if it werrent for MikroTik products…

Craig

---

<div class="post-metadata">

**Author:** ![Hellbound](https://forum.mikrotik.com/letter_avatar/hellbound/32/6_449c533f586939b6e5f246632a46421f.png) [@Hellbound](https://forum.mikrotik.com/u/Hellbound)\
**Post date:** [February 24, 2006, 6:46am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/15 "2006-02-24T06:46:43Z")

</div>

well the main point is licensing issue…  
I know that one of Linksys AP was linux based as there are  
hundreds of many electronic devices including access point  
are but nobody will follow them to ask what is it you have used.

I used to think open source means you can use it in your project  
and sell it but it wasn’t like that once I learnt more about gpl and  
all the licensing…

if you’re using someone else’s work as your platform and you’re not  
writing your own from sctrach then you must respect the owner’s  
licensing or it will be illegal…

but maybe mikrotik guys have some kinda deal with linus torvalds himself  
or maybe they did not used linux kernel at all or maybe it is just  
legal to use linux for start and not release your source code  
but at least for LinkSYS it was not the same thing

of course in that case whoever worked on improvement on mikrotik  
or for example linksys wrt54g will loose his benefits but it was not  
legal to work on it at first place…

or maybe you can explain me better how this licensing works that  
one company will force to do so and another is not…

of course after WRT54G get to be open sourced there was a start  
point of many other third party and even enterprise level software  
written for it such as spotnik and alot of other open source…

I’ve even seen people ran amazing services and stuff on it by using linux  
and a lot of modification to the code and most of all it became  
100 times more stable than it was before when everybody  
could tweak it and debug it.

thanks

PS:I’m looking for some official responses

---

<div class="post-metadata">

**Author:** ![normis](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/normis/32/8_2.png) [@normis](https://forum.mikrotik.com/u/normis)\
**Post date:** [February 24, 2006, 7:18am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/16 "2006-02-24T07:18:24Z")

</div>

official response: all information is written in the license, you should study it and do it carefully:

[http://demo2.mt.lv/help/license.html](http://demo2.mt.lv/help/license.html)

all answers are in there.

---

<div class="post-metadata">

**Author:** ![normis](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/normis/32/8_2.png) [@normis](https://forum.mikrotik.com/u/normis)\
**Post date:** [February 24, 2006, 7:20am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/17 "2006-02-24T07:20:55Z")

</div>

> [@eflanery](#):
>
> It sounds fair to me as well, and it certainly meets the requirements of the GPL.
> 
> I don’t think anyone was asking for MT’s propritary code, just the GPL / Other OSS stuff.  
> If you want to take a look at their kernel modifications, they provide a means for you to do that, all on the up and up.
> 
> So, why the rant? I don’t see anyone asking for something for nothing, nor claiming that MT has to release their home-grown code.
> 
> –Eric

yes, just like that

---

<div class="post-metadata">

**Author:** ![cmit](https://forum.mikrotik.com/letter_avatar/cmit/32/6_449c533f586939b6e5f246632a46421f.png) [@cmit](https://forum.mikrotik.com/u/cmit)\
**Post date:** [February 24, 2006, 7:25am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/18 "2006-02-24T07:25:25Z")

</div>

Not really an official response in any way, but trying to give a short(!) summary:

If you are using GPL code (the GPL is one of the most often used open source licenses) in a product (be it commercial or not!) and you do alter the code in any way, you are obliged to give the sources for this to everyone who wants them. There are several different methods mentioned in the GPL, one of those being that interested parties have to write you and you can send them everything on CD. You may take some money for that to cover the work you have with that (but obviously NOT to earn something from distributing the source code).

If you build a product that combines GPL code and code you have written on your own (like the hotspot, or WinBox), you are of course NOT obliged to give out that source code to anyone.  
It can be a challenge to find the right interpretation for the word “combining” I used in the first sentence in this paragraph. You have to read the GPL very carefully to decide if your program is a usage/modification of GPL’ed code that requires you to release the source or not. I won’t discuss this further here, and I’m not a GPL-savy lawyer at all.

But MikroTik does behave correctly: The offer you to send the source code of used GPL (open source) software on a CD-ROM if you ask them to. They want to have their expenses/work to do so covered by you. The will NOT give out source code for anything proprietary which is MikroTiks’ own intellectual work.

And I just can emphasize what others have already posted in this thread: The license fees for MikroTik RouterOS are REALLY reasonable if you think of what you get. Compare that to anything like dedicated routers/firewalls/… and you’ll stop asking about the price 😉 …

Just my two (Euro-) Cent…

Best regards,  
Christian Meis

---

<div class="post-metadata">

**Author:** ![cmit](https://forum.mikrotik.com/letter_avatar/cmit/32/6_449c533f586939b6e5f246632a46421f.png) [@cmit](https://forum.mikrotik.com/u/cmit)\
**Post date:** [February 24, 2006, 7:26am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/19 "2006-02-24T07:26:56Z")

</div>

Oh, that’s the danger in writing long posts in vivid threads - others might be finished typing before you are 😉

Best regards,  
Christian Meis

---

<div class="post-metadata">

**Author:** ![normis](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/normis/32/8_2.png) [@normis](https://forum.mikrotik.com/u/normis)\
**Post date:** [February 24, 2006, 7:30am UTC](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381/20 "2006-02-24T07:30:59Z")

</div>

again, christian 🙂

anyway, i just don’t get it why these guys care! i mean it’s not that we can’t do it - read the license and follow the steps to get this CD, but why in the world would somebody want it?

[Next page](https://forum.mikrotik.com/t/mikrotik-routeros-is-based-on-linux-kernel/5381.md?page=2)
