SlideShare a Scribd company logo
Welcome
Planning RouterOS Networks
with GNS3
By: Michael Omondi
Who am I?
Name: Michael Omondi
Preferred Name: Mike
8+ years in the IT industry.
Introduced to Mikrotik in 2014
Areas of interest:
ISP Solutions
Wireless Services
Network Security
Certifications
Mikrotik:- MTCNA, MTCRE, MTCWE & MTCTCE,
Other Vendors:- Cisco, CompTIA, Vmware, Solarwinds, Ubiquiti, Cyberoam
Who Are We?
We are an IT company
• Training
• Consultancy
• Design, deployment and management of computer networks
• Server deployment and management
• Cloud services (storage, backup & archiving, web & application
hosting etc.), Data Center Virtualization and many more.
• For more about us, please visit http://lockstepit.com
Goal
Provide adequate knowledge to
make you comfortable running
RouterOS in GNS3
• In 2015, Mikrotik released a virtual RouterOS
instance for x86_64 architecture.
• They called it Cloud Hosted Router (CHR)
• Designed for virtualized environments.
Introduction
• Currently there are 4 levels of licensing.
a) Free- 1Mbps interface speed
b) P1- 1Gbps
c) P10- 10Gbps
d) P-Unlimited
Licensing
• Training classes
• Exam preparation
• Testing configuration before deployment
• Production
Where to Use It?
• Graphical Network Simulator
• Originally developed to emulate Cisco’s IOS
• It’s capabilities have been extended beyond just Ciscos’
IOS
• For this Lab setup version 1.5.2 of GNS3 installation and
its Virtual Machine counterpart will be used.
GNS3
• Quick Emulator
• Developed to virtualize x86_64 architectures in
Linux
• REMEMBER: RouterOS is a Linux
• To successfully build a virtual RouterOS Lab we will
enlist QEMU version 2.5.0
QEMU
System Requirement
• 64bit CPU with virtualization support
• 128 MB or more RAM for the CHR instance
• 128 MB disk space for the CHR virtual hard
drive
Testing
CHR has been tested on the following platforms:
• VirtualBox 5 on Linux and OS X
• VMWare Fusion 7 and 8 on OS X
• Qemu 2.4.0.1 on OS X
• Hyper-V on Windows Server 2012 (Only Generation
1 Hyper-V virtual machine is supported at the
moment)
GNS3 can run on Windows, Linux and OSX
For my Presentation, I have used;
Processor: Intel Core i5 2.50GHz
RAM: 8GB
OS: Windows 10 Pro
Hypervisor: VMware Workstation 12 Pro
My System Specs
• Download GNS3 from her:
https://gns3.com/software/download
• NB: sign in is required or create an account
Steps
Download
Download
Download
Installation
Once the download is finished;
Run the .exe file, follow the prompts.
NB: you need to be connected to the internet as the
installation will download additional files
Installation Cont..
Installation Cont..
Import VM
Once the installation is finished;
Extract the zipped VM (OVA) file
Import it into VMware
NB: you can use VMware player (free) or VMware
workstation (license required).
We will use VMware Workstation 12 Pro.
Import VM
Imported VM
What Next?
The Next thing is;
Download CHR from here:
http://www.mikrotik.com/download
NB: The file format to be downloaded depends on the
hypervisor.
For our case we will download the VHDX file.
Initial Setup
Time to put the pieces together.
Open GNS3
Configure GNS3 to use the GNS3 VM
Initial Setup Cont..
Initial Setup Cont..
Finish Setup
Select
Select “Run Qemu VM
on the GNS3 VM”
Give Your VM a
name
Name!
Set Memory
• Select the Qemu
binay & location
• Set the Memory
Disk Image
• Select “existing image”
• Browse to the location
of your VHDX and
select
Now Set
Qemu VM template is
now set and ready for use
Edit Template
• Click ‘Edit’ then general tab
• Change category to ‘Routers’
• Change Symbol to that of a
router
# of Interfaces
Navigate to Network tab,
Under ‘Adapters’ Specify
number of interfaces in
the VM
External Access
To allow VMs external
access,
Configure GNS3 VM second
network adapter to ‘bridge
mode’
Get to Work!
Drag RouterOS to the blank canvas to set up your desired network
Cloud!
Use the Cloud to connect your VMs to external resources
Console
Power up your routers by right-clicking each and selecting ‘start’
Or power all at once with green ‘start’ button at the top.
Console in by right-clicking and select ‘console’
Winbox
At this point, the router can be configured using Winbox.
/tool romon set enabled=yes
Application (in my Case)
• Consulting for a small WISP
that wanted to scale up
• Need for uptime/HA with BGP
• Faster convergence with OSPF
• Improved Network Security
Our Proposal
BGP Setup
NOTE: Swap IP address and AS Number with the
correct ones for each of the Core Routers and
the Upstream Routers.
OSPF Setup
NOTE: Swap Router ID, Network statements,
Loopback IP Address with the correct ones for
each of the participating routers.
Firewall/Security
Other Tools
• GNS3 is bundled with useful
tools such as;
 VPCS (Virtual PC Simulator)- This is a simple
network testing tool that has essential
commands like traceroute, ping, arp built
in.
 Wireshark: A powerful protocol analyzer
that can be used to capture and analyze
packets
Migration
Q. How do we move from simulation to
production Or to another platform?
 GNS3 stores all project files under one folder which is movable
to another computer. RouterOS template image file (.img)
should also be copied together with the project itself and
placed into 'GNS3/images' folder on target machine.
 Qemu stores images in qcow2 (copy-on-write) format. These
images can be run separately from GNS3.
 If in production environment different hypervisor is used,
qcow2 image can be converted to various formats using
'qemu-img convert' command
Advantages
Training –Almost as realistic as building a
mock network with real equipment
Network Validation –Allows you test network
designs and changes before they are applied
to a production network
Reduces downtime
Increases ROI
Summary
• CHR is a fully functional RouterOS
• Any descent computer that supports
virtualization can be used for Lab scenario
• GNS3 Lab configurations can be migrated to other
systems or production.
• Wireshark and other tools are bundled with GNS3
for testing and analysis
• The uses are only limited by your imagination
Network Setup LAB
The End
49
Thank You!

More Related Content

PDF
Gns3 0.5-tutorial
PDF
Gns3 0.5-tutorial
PPSX
Network Simulator Mikrotik Academy SMK Negeri 5 Banjarmasin.ppsx
PPTX
PDF
Gns3 0.5 Tutorial
PDF
PPTX
Network Simulation using Mikrotik Router OS CHR (MUM Presentation)
PDF
Learning Computer Network Through Network Simulation Program
Gns3 0.5-tutorial
Gns3 0.5-tutorial
Network Simulator Mikrotik Academy SMK Negeri 5 Banjarmasin.ppsx
Gns3 0.5 Tutorial
Network Simulation using Mikrotik Router OS CHR (MUM Presentation)
Learning Computer Network Through Network Simulation Program

Similar to basic mikrotikbasic mikrotikbasic mikrotik.pdf (20)

PPTX
GNS3- A Brief User Guide
PDF
Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]
PDF
Mikrotik Network Simulator (MUM Presentation Material 2013)
PDF
Hands on Virtualization with Ganeti
DOCX
Alcatel vm
PDF
Network Simulation - Prague 2015
PPTX
Mininet demo
PDF
Choosing Mikrotik Platform x86 vs chr
PDF
cloud lab contents in engineering fields
PDF
2015.10.05 Updated > Network Device Development - Part 1: Switch
PDF
ACRN vMeet-Up EU 2021 - installation and configuration introduction
PDF
4 implementation
PPT
BEng Final Presentation
PDF
HBaseCon 2013: Scalable Network Designs for Apache HBase
PDF
Linux hpc-cluster-setup-guide
PDF
Linux Unveiled: From Novice to Guru Kameron Hussain
PPTX
ONIE: Open Network Install Environment @ OSDC 2014 Netways, Berlin
PDF
Fedora 23-networking guide-en-us
PPTX
GNS3 Research Project Ideas
GNS3- A Brief User Guide
Mikrotik Network Simulator (MUM Presentation Material 2013) [COPY]
Mikrotik Network Simulator (MUM Presentation Material 2013)
Hands on Virtualization with Ganeti
Alcatel vm
Network Simulation - Prague 2015
Mininet demo
Choosing Mikrotik Platform x86 vs chr
cloud lab contents in engineering fields
2015.10.05 Updated > Network Device Development - Part 1: Switch
ACRN vMeet-Up EU 2021 - installation and configuration introduction
4 implementation
BEng Final Presentation
HBaseCon 2013: Scalable Network Designs for Apache HBase
Linux hpc-cluster-setup-guide
Linux Unveiled: From Novice to Guru Kameron Hussain
ONIE: Open Network Install Environment @ OSDC 2014 Netways, Berlin
Fedora 23-networking guide-en-us
GNS3 Research Project Ideas
Ad

Recently uploaded (20)

PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PPTX
Database Information System - Management Information System
PPTX
newyork.pptxirantrafgshenepalchinachinane
PDF
The Evolution of Traditional to New Media .pdf
PDF
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
PPTX
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
PPTX
artificial intelligence overview of it and more
PDF
Uptota Investor Deck - Where Africa Meets Blockchain
PPT
250152213-Excitation-SystemWERRT (1).ppt
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
PPTX
E -tech empowerment technologies PowerPoint
PDF
simpleintnettestmetiaerl for the simple testint
PDF
Introduction to the IoT system, how the IoT system works
PPTX
Layers_of_the_Earth_Grade7.pptx class by
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
PPTX
Funds Management Learning Material for Beg
PPT
Ethics in Information System - Management Information System
PPT
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
PDF
si manuel quezon at mga nagawa sa bansang pilipinas
SASE Traffic Flow - ZTNA Connector-1.pdf
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
Database Information System - Management Information System
newyork.pptxirantrafgshenepalchinachinane
The Evolution of Traditional to New Media .pdf
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
IPCNA VIRTUAL CLASSES INTERMEDIATE 6 PROJECT.pptx
artificial intelligence overview of it and more
Uptota Investor Deck - Where Africa Meets Blockchain
250152213-Excitation-SystemWERRT (1).ppt
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
E -tech empowerment technologies PowerPoint
simpleintnettestmetiaerl for the simple testint
Introduction to the IoT system, how the IoT system works
Layers_of_the_Earth_Grade7.pptx class by
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
Funds Management Learning Material for Beg
Ethics in Information System - Management Information System
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
si manuel quezon at mga nagawa sa bansang pilipinas
Ad

basic mikrotikbasic mikrotikbasic mikrotik.pdf

  • 1. Welcome Planning RouterOS Networks with GNS3 By: Michael Omondi
  • 2. Who am I? Name: Michael Omondi Preferred Name: Mike 8+ years in the IT industry. Introduced to Mikrotik in 2014 Areas of interest: ISP Solutions Wireless Services Network Security Certifications Mikrotik:- MTCNA, MTCRE, MTCWE & MTCTCE, Other Vendors:- Cisco, CompTIA, Vmware, Solarwinds, Ubiquiti, Cyberoam
  • 3. Who Are We? We are an IT company • Training • Consultancy • Design, deployment and management of computer networks • Server deployment and management • Cloud services (storage, backup & archiving, web & application hosting etc.), Data Center Virtualization and many more. • For more about us, please visit http://lockstepit.com
  • 4. Goal Provide adequate knowledge to make you comfortable running RouterOS in GNS3
  • 5. • In 2015, Mikrotik released a virtual RouterOS instance for x86_64 architecture. • They called it Cloud Hosted Router (CHR) • Designed for virtualized environments. Introduction
  • 6. • Currently there are 4 levels of licensing. a) Free- 1Mbps interface speed b) P1- 1Gbps c) P10- 10Gbps d) P-Unlimited Licensing
  • 7. • Training classes • Exam preparation • Testing configuration before deployment • Production Where to Use It?
  • 8. • Graphical Network Simulator • Originally developed to emulate Cisco’s IOS • It’s capabilities have been extended beyond just Ciscos’ IOS • For this Lab setup version 1.5.2 of GNS3 installation and its Virtual Machine counterpart will be used. GNS3
  • 9. • Quick Emulator • Developed to virtualize x86_64 architectures in Linux • REMEMBER: RouterOS is a Linux • To successfully build a virtual RouterOS Lab we will enlist QEMU version 2.5.0 QEMU
  • 10. System Requirement • 64bit CPU with virtualization support • 128 MB or more RAM for the CHR instance • 128 MB disk space for the CHR virtual hard drive
  • 11. Testing CHR has been tested on the following platforms: • VirtualBox 5 on Linux and OS X • VMWare Fusion 7 and 8 on OS X • Qemu 2.4.0.1 on OS X • Hyper-V on Windows Server 2012 (Only Generation 1 Hyper-V virtual machine is supported at the moment)
  • 12. GNS3 can run on Windows, Linux and OSX For my Presentation, I have used; Processor: Intel Core i5 2.50GHz RAM: 8GB OS: Windows 10 Pro Hypervisor: VMware Workstation 12 Pro My System Specs
  • 13. • Download GNS3 from her: https://gns3.com/software/download • NB: sign in is required or create an account Steps
  • 17. Installation Once the download is finished; Run the .exe file, follow the prompts. NB: you need to be connected to the internet as the installation will download additional files
  • 20. Import VM Once the installation is finished; Extract the zipped VM (OVA) file Import it into VMware NB: you can use VMware player (free) or VMware workstation (license required). We will use VMware Workstation 12 Pro.
  • 23. What Next? The Next thing is; Download CHR from here: http://www.mikrotik.com/download NB: The file format to be downloaded depends on the hypervisor. For our case we will download the VHDX file.
  • 24. Initial Setup Time to put the pieces together. Open GNS3 Configure GNS3 to use the GNS3 VM
  • 28. Select Select “Run Qemu VM on the GNS3 VM”
  • 29. Give Your VM a name Name!
  • 30. Set Memory • Select the Qemu binay & location • Set the Memory
  • 31. Disk Image • Select “existing image” • Browse to the location of your VHDX and select
  • 32. Now Set Qemu VM template is now set and ready for use
  • 33. Edit Template • Click ‘Edit’ then general tab • Change category to ‘Routers’ • Change Symbol to that of a router
  • 34. # of Interfaces Navigate to Network tab, Under ‘Adapters’ Specify number of interfaces in the VM
  • 35. External Access To allow VMs external access, Configure GNS3 VM second network adapter to ‘bridge mode’
  • 36. Get to Work! Drag RouterOS to the blank canvas to set up your desired network
  • 37. Cloud! Use the Cloud to connect your VMs to external resources
  • 38. Console Power up your routers by right-clicking each and selecting ‘start’ Or power all at once with green ‘start’ button at the top. Console in by right-clicking and select ‘console’
  • 39. Winbox At this point, the router can be configured using Winbox. /tool romon set enabled=yes
  • 40. Application (in my Case) • Consulting for a small WISP that wanted to scale up • Need for uptime/HA with BGP • Faster convergence with OSPF • Improved Network Security
  • 42. BGP Setup NOTE: Swap IP address and AS Number with the correct ones for each of the Core Routers and the Upstream Routers.
  • 43. OSPF Setup NOTE: Swap Router ID, Network statements, Loopback IP Address with the correct ones for each of the participating routers.
  • 45. Other Tools • GNS3 is bundled with useful tools such as;  VPCS (Virtual PC Simulator)- This is a simple network testing tool that has essential commands like traceroute, ping, arp built in.  Wireshark: A powerful protocol analyzer that can be used to capture and analyze packets
  • 46. Migration Q. How do we move from simulation to production Or to another platform?  GNS3 stores all project files under one folder which is movable to another computer. RouterOS template image file (.img) should also be copied together with the project itself and placed into 'GNS3/images' folder on target machine.  Qemu stores images in qcow2 (copy-on-write) format. These images can be run separately from GNS3.  If in production environment different hypervisor is used, qcow2 image can be converted to various formats using 'qemu-img convert' command
  • 47. Advantages Training –Almost as realistic as building a mock network with real equipment Network Validation –Allows you test network designs and changes before they are applied to a production network Reduces downtime Increases ROI
  • 48. Summary • CHR is a fully functional RouterOS • Any descent computer that supports virtualization can be used for Lab scenario • GNS3 Lab configurations can be migrated to other systems or production. • Wireshark and other tools are bundled with GNS3 for testing and analysis • The uses are only limited by your imagination