Ryu SDN Controller Installation on Ubuntu 16.04

Software Defined Network (SDN) is not something new anymore at this moment. All networking vendors are competing to promote their own controller. However, there are also a lot of open source controller outside there, i.e.: ODL, POX/NOX, Floodlight, and Ryu which are the most popular in the market now.

Ryu (ree-yooh) is one of my favourite open source SDN controller because it’s based on Python. Even though I had some experiences with Java programming but I think Python is easier to study, flexible, and quite useful for Network Engineer. In this session, I want to share my experience how to install Ryu Controller on Ubuntu Server 16.04. Please update and upgrade your Ubuntu OS before do these steps:

# Install RYU

echo "Step 1. Install tools"
sudo apt-get -y install git python-pip python-dev

echo "Step 2. Install python packages"
sudo apt-get -y install python-eventlet python-routes python-webob python-paramiko

echo "Step 3. Clone RYU git Repo"
mkdir ~/Project/SDN
cd ~/Project/SDN/
git clone --depth=1

echo "Step 4. Install RYU"
sudo pip install setuptools --upgrade
cd ryu; 
sudo python ./ install

echo "Step 5. Install and Update python packages"
sudo pip install six --upgrade
sudo pip install oslo.config msgpack-python
sudo pip install eventlet --upgrade

echo "Step 6. Test ryu-manager"
ryu-manager --version

You can save those scripts as file and execute it under Linux terminal. If you get an error (some distribution is not found) after the installation, then type these commands to fix it:

$ sudo pip install -r tools/pip-requires
$ sudo python install

Finally, this is a brief note about how to install Ryu Controller under Ubuntu 16.04 server. Happy testing and welcome to SDN world!




GNS3 IOU VM 1.5.4 Installation

GNS3 is an open source application for network simulation. I use it since I was studying CCNA, CCNP, and CCIE till now. I can emulate real Cisco IOS in this application. Due to its previous limitation on Switching emulation, now they release an update feature to run Cisco IOU (IOS On Unix) in the new version of GNS3. You can simulate Cisco IOU for L2/L3 device in GNS3. This is what I need to pursue my CCIE certification!

In this session, I want to share a tutorial how to configure GNS IOU VM on 1.5.4 version (the latest version is 2.0.x, but I’m still prefer to use 1.5.4 version due to its stability and compatibility with my notebook).  I believe there are people outside there who already familiar and shared this kind of tutorial but I wanna do in my way ~ at least, it’s for personal reference ~.

OK, these are some items we need to prepare before installation.  Continue reading GNS3 IOU VM 1.5.4 Installation

OPNSense – Zevenet Fusion: Open Source Firewall and Load Balancer Trial Case

Related to my previous posting, I just want to share another lab experience here. This tutorial will show you a basic topology and configuration of OPNSense  as firewall to allow client-server communication. OPSense is an open source FreeBSD based Firewall and Routing platform. It’s a enhancement of previous open source firewall, pfSense. You can find the feature details from their website here. Continue reading OPNSense – Zevenet Fusion: Open Source Firewall and Load Balancer Trial Case