network simulation using mikrotik router os chr (mum presentation)

Post on 18-Jan-2017

958 Views

Category:

Technology

6 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Network Simulation Using Mikrotik RouterOS CHR

MUM @ Bangladesh 2016By Md Arif Hossen

Consultant - Telecom & IT Domain

Arif Hossen @ MUM Bangladesh 2016

About Me• 12+ years in Telecom & IT Domain• Architect & Integrator for Telecom & IT Solutions• Expert in Cloud – Vmware & OpenStack• Expert in Hadoop® and HBase™• So far Worked with -

– Aamra networks– IBCS Primax Bangladesh– Ericsson Bangladesh, – Ericsson Egypt– Nawras Oman– Ericsson Libya

arif332@gmail.comwww.linkedin.com/in/arifhossen

Arif Hossen @ MUM Bangladesh 2016

Objective of Simulation

• Virtual Lab Setup• Training Class Setup• Preparation for MikroTik Certification test • Feature Test & Many more …

Arif Hossen @ MUM Bangladesh 2016

Network Simulation Tools

• Graphical Network Simulator• Open source Software• Run on windows/Linux/Mac• Running Multivendor devices• Simulate complex network

topologies

• Well know hypervisor• QEMU• Vmware• VirtualBox• Xen• KVM

GNS3 Hypervisor MikroTik RouterOS ISO

• RouterOS has two versions -• Traditional X86 ISO• CHR Image

• Different license modality

Arif Hossen @ MUM Bangladesh 2016

Tools - GNS3• Graphical Network Simulator• Open source Software• Run on windows/Linux/Mac• Running Multivendor devices• Simulate complex network topologies

Arif Hossen @ MUM Bangladesh 2016

What is Hypervisor

• Piece of computer software, firmware or hardware that creates and runs virtual machine

• Each virtual machine is call guest operating system

Arif Hossen @ MUM Bangladesh 2016

Type of Hypervisor• Type-1 native or bare-metal hypervisors• Type-2 or hosted hypervisors

Arif Hossen @ MUM Bangladesh 2016

Example of hypervisor Software• Bare Metal virtualization hypervisor

– Vmware ESX / ESXi– Hyper-V– Citrix Xen Server– Oracle VM

• Hosted virtualization hypervisor– Vmware Workstation/Fusion/Player– Oracle VirtualBox– Kernel based Virtual Machine (KVM)– QEMU– Amazon Web Services (AWS)

Arif Hossen @ MUM Bangladesh 2016

MikroTik RouterOS

• Operating System Base on Linux Kernel• RouterOS is used for -– RouterBoard– x86 based PC Hardware

• ROuterOS for Cloud which is know as Cloud Hosted Router (CHR)

Arif Hossen @ MUM Bangladesh 2016

X86 PC ISO Vs CHR

• Both version of RouterOS support same features

• Licensing model is different– CHR has 4 licensing model– X86/PC has 6 license level

Arif Hossen @ MUM Bangladesh 2016

RouterOS License Level for X86/PC

Arif Hossen @ MUM Bangladesh 2016

Licensing Model for CHR

Arif Hossen @ MUM Bangladesh 2016

Target/Demo Lab Setup

• Download & Install GNS3• Download CHR Raw Disk Image

http://download2.mikrotik.com/routeros/6.34.2/chr-6.34.2.img.zip

• Unzip the download file• Open GNS3 GUI

– Click Edit Preferences …– Click “Qemu VMs” on the left side– Create RouterOS Template (New -> Select Local Type: Default ->

Choose a name -> Choose amount of RAM to allocate for one RouterOS instance: 64MB is suggested -> Chose disk image from Extract folder

– Click newly created Qemu template and set up necessary network adapter, Symbol, vCPUs, RAM

– Now RouterOS template is available from side panel

Arif Hossen @ MUM Bangladesh 2016

Target/Demo Lab Setup (Cont ..)• Now Click GNS3 File New blank project ..

– Drag and drop RouterOS Template on the main screen as many times as you need

– Connect them with links– To start right click on the router and start – To connect router click right button on the device and select console

Arif Hossen @ MUM Bangladesh 2016

Connect to LAB Using IP/MAC

• Create Loopback interface– To do so, execute command: 'hdwwiz.exe' (as Administrator) - Add Hardware

Wizard will open.– Advanced -> Network Adapters -> Microsoft -> Microsoft Loopback

adapter/Microsoft KM-TEST Loopback Adapter should be chosen.– Open 'Control Panel -> Network and Sharing center -> Change adapter

settings'. Rename the adapter to ‘Loopback’

• Restart Laptop• Open GSN3 and start Demo Lab project• Open Winbox to Connect Demo Lab using MAC/IP

Arif Hossen @ MUM Bangladesh 2016

Connect to LAB Using IP/MAC (Cont ..)

Arif Hossen @ MUM Bangladesh 2016

Connect to LAB Using IP/MAC (Cont ..)

Arif Hossen @ MUM Bangladesh 2016

Connect to LAB Using IP/MAC (Cont ..)

• Connecting issue via Winbox– If there are problems with pinging Loopback

interface from the router or VPCS, check that your antivirus and/or firewall is not blocking traffic from virtual RouterOS instances to the host machine.

– When using Windows 8, if there are problems with pinging Loopback interface from the router or VPCS, try reinstalling Winpcap and run it using compatibility mode for Windows 7

Arif Hossen @ MUM Bangladesh 2016

Example of More Device in LAB

Arif Hossen @ MUM Bangladesh 2016

Simulation Using Other Hypervisors

• http://wiki.mikrotik.com/wiki/Manual:CHR_VMWare_installation• http://wiki.mikrotik.com/wiki/Manual:CHR_VirtualBox_installation• http://wiki.mikrotik.com/wiki/Manual:CHR_AWS_installation

Arif Hossen @ MUM Bangladesh 2016

Questions?

• Email: arif332@gmail.com

Arif Hossen @ MUM Bangladesh 2016

Thank you!

top related