The main objective of [RARE / FreeRouter 101] series is to help you getting started with FreeRouter from scratch without any prior knowledge.
freeRouter is a free, open source router control plane software. For nostalgic and old networkers (like me), freeRouter is able to handle HDLC, X25, frame-relay, ATM encapsulation.
Since it handles packets itself at the socket layer, it is independent of underlying Operation System capabilities.
We will see in the next articles how freeRouter subtlety leverage this inherently independence to connect different data-plane such as OpenFlow, P4 and other possible data-plane that would appear in the near future.
The command line tries to mimic the industry standards with one exception:
This article is meant to simply deploy 2 instances of freeRouter on the same fresh linux installed linux box.
We are voluntary using freeRouter (freerouter.nop.hu) "raw" official repository in order to get familiar with the deployment manual process.
Even if the deployment process is straightforward, it is not self explanatory for people non familiar with java/linux.
In order to simplify the deployment we have deployed a daily built:
But let's get our "hand dirty" and follow the simple manual installation.
![RARE > 2020/06/29 > RARE/FreeRouter-101 [ #001 ] - "Hello FreeRouter !" > image2020-6-29_10-13-30.png](/download/attachments/148083801/image2020-6-29_10-13-30.png?version=1&modificationDate=1593418410586&api=v2)
In our example we will use a genuine debian stable image (buster) installed as a VirtualBox VM.
|
|
In this example, we won't recompile freeRouter so installing headless java runtime is enough. This set up is recommended for production environment in order to ensure minimal software footprint
|
Let's create the following structure, even if some folder are empty for now:
so you have have the following environment:
|
FreeRouter uses 2 configuration files in order to run, let's write these configuration files for R1 in ~/freeRouter/etc
|
Repeat the same configuration for R2 in ~/freeRouter/etc
|