SlideShare a Scribd company logo
1 of 26
Download to read offline
Virtualised MikroTik

MikroTik in a Virtualised Hardware Environment
Speaker:
Event:

Tom Smyth
CTO
Wireless Connect Ltd.
MUM Krackow Feb 2008

http://wirelessconnect.eu/ Copyright 2008

1
Objectives
●
●

●

Understand What is Virtualisation
Receive a high-level overview of Vmware
Server
Understand how to configure a virtual machine
for use with Router OS 2.9 & Router OS 3

●

Understand how to configure a virtual machine

●

Identify where Virtualisation can help

●

Identify where Virtualisation can not help
http://wirelessconnect.eu/ Copyright 2008

2
Virtualisation
in a nut shell
●

●

●

●

Computers running
inside computers
Software system
abstracts hardware
Virtual machine data
stored in files
Virtual machines are
isolated and secured
from each other.

●

Vmware on Windows

●

Vmware on Linux

●

Vmware on Chassis
(ESX)
http://wirelessconnect.eu/ Copyright 2008

3
Virtualisation?

http://wirelessconnect.eu/ Copyright 2008

4
Virtualisation?
●

Abstraction of physical hardware
–

–
●

The same virtual hardware is presented to the
guest operating system despite the underlying
hardware of the server
(X86 & x86-64 CPU + Extensions available on host)

Logical division of physical hardware
–

single powerful host server can be divided into
many discrete separate virtual servers.

–

Each of these servers can run different operating
systems.

–

Each System can be interconnected via Multiple
http://wirelessconnect.eu/ Copyright 2008
Virtual Networks

5
Vmware Server
●

●

●

●

Vmware server installs and runs as a service on
top of a host Windows or Linux operating
system.
A thin virtualisation layer partitions the physical
server so that multiple virtual machines can be
run simultaneously on a single server.
Vmware Server isolates each virtual machine
from its host and other virtual machines.
Data does not leak across virtual machines and
applications can only communicate over
configured network connections
http://wirelessconnect.eu/ Copyright 2008

6
Virtual Machines
●

A virtual machine is like a server, but instead of an
electronic mother board it uses a software mother
board & BIOS.

●

Execution is native

●

All configuration and data are stored as files.

●

●

●

All VMs are hardware independent and run on
Vmware server on any x86 physical server.
Can access physical host hardware resources through
emulated hardware with native execution
Completely isolated and secure.
http://wirelessconnect.eu/ Copyright 2008

7
Virtual Firewall
for Virtual Host
●

●

●

Mikro Tik Virtual
Router can act as a
firewall to protect
other virtual
machines running
on the host
Each Virtual
Network acts as a
Switch
Virtual Networks
can be bridged to
Physical Network
via host physical
Ethernet adapters

http://wirelessconnect.eu/ Copyright 2008

8
High Availability
●

2 x MikroTik VRRP
Enabled Virtual
Routers can
increase availability

●

Quick Fail Over :)

●

Router Upgrades

●

●

Router
Configuration
Maintenance
Virtual Networks
can be bridged to
Physical Network
via host physical
Ethernet adapters

http://wirelessconnect.eu/ Copyright 2008

9
Security & Flexibility
With Single Purpose
MikroTik Appliances
●

●

Services are modularised

●

Simplified support

Minimal possibility of
conflicts in services
●

Maximises ability to
secure hosts
●

●

1 purpose per host

Simplifies migration and
upgrade of software
versions(shut-down
services individually when
each service is least
required)
●

http://wirelessconnect.eu/ Copyright 2008

10
Virtual Test Network
●

Virtual Test Labs

●

Try out new ideas

●

●

●

Windows based
vmware 10 virtual
networks
Linux based
vmware 100 virtual
Networks!!!
You can run many
machines
concurrently

http://wirelessconnect.eu/ Copyright 2008

11
Laptop /PC with a MikroTik
Virtual Router Firewall
●

●

●

●

●

●

●

Disable TCPIP on
physical interface
Bridge (Layer 2) to
untrusted virtual
network
Create a Mikrotik Virtual
Router with 2 virtual
NIC
Create Private Trusted
Virtual Network
Create Virtual NIC on
Host (with TCPIP
Enabed)
Place firewall +NAT
Configuration on
Mikrotik Router
Test with NMAP!!!!!!

http://wirelessconnect.eu/ Copyright 2008

12
Virtual Infrastructure

http://wirelessconnect.eu/ Copyright 2008

13
Uses
●

Run MikroTik on previously incompatible hardware
–
–

●

Custom Network hardware

–

●

SCSI/ SAS /μSATA Disks/ SAN Attached Storage

–

●

Raid Controllers,

–

●

High End Servers

Encrypted Harddisks

Flexibility for proactive Disaster recovery in the event of
hardware failure
Increased hardware usage through more comprehensive
driver support (DMA) in the underlying operating system
Break up individual router tasks into separate virtual
Machines. (Scalability and Security)
Remote Reconfiguration Risk Reduction
http://wirelessconnect.eu/ Copyright 2008

14
Increased Flexibility
●

●

●

Responsive DR functionality, full systems can
be easily moved from one physical server to
another, even while in operation. (Snap Shots)
Can be built and distributed as plug-and-play
virtual appliances (help sales and expose
product to new markets and new customers)
New Infrastructure services can be introduced
remotely without compromising stability of
existing services (function isolation)

http://wirelessconnect.eu/ Copyright 2008

15
Application
●

Core of Networks
–

Using VRRP for increased availability

–

Linux Clusters for maximum availability

–

Provide an end to end MikroTik Solutions

–

Provide high performance multigigabit throughput**
●

–

●

Provide Multi purpose logically separate services

Laptops (fire walling & Security)
–
–

●

VPN
Secure Remote Assistance

Test labs
–

Testing Dynamic Routing Protocol Configuration

–

Testing QOS policies

http://wirelessconnect.eu/ Copyright 2008

16
Virtualisation
Not Always an option :(
●

Virtualisation is not practical in all cases
–

ROI ?

–

Do you need to have scalability ?

–

Do you need to add complexity ?

–

RB1000 better applied in Distribution Networks

–

Cluster 2x RB 1000s for high availability

http://wirelessconnect.eu/ Copyright 2008

17
Hardware Requirements
●

Virtualisation requires good hardware to function

●

Xeon / Opteron Processors

●

Hardware Virtualisation Support If possible (Not Essential)

●

Multiple PCI/X buses

●

Multiple PCIExpress lanes (1x 2.5Gb/s... 8x 20Gb/s)

●

Memory Capacity on the host server must be adequate

●

Memory bandwidth determines Virtual Network bandwidth

http://wirelessconnect.eu/ Copyright 2008

18
Virtual Machine
Core Specifications
●

Virtual Processor
–

–

Intel EMT64VT (experimental support)

–

Single and multiprocessor per virtual machine on symmetric
multiprocessor (SMP) systems.

–

●

Intel Pentium II or later, or AMD Athlon or later, depending on host
processor;

Virtual Machine Load is not dedicated to one processor or core, virtual
machines are executed across all available CPUs which can be very
helpful in maintaining high performance under high loads

Virtual Chipset
–

●

Intel 440BX based motherboard with NS338 SIO chip and 82093AA
IOAPIC

Virtual BIOS
–

PhoenixBIOS 4.0 Release 6 with VESA BIOS

–

http://wirelessconnect.eu/ Copyright 2008
DMI/SMBIOS compliant for system management agent support

19
Virtual Machine
Storage Specifications
●

Virtual Memory
–

●

Up to 3600MB of memory per virtual machine,
depending on the host system's configuration and
the amount of memory on the physical host

Virtual IDE Drives
–

Up to four devices: IDE HDDs, CDROM or DVD

–

Hard disks can be virtual disks or physical
disks.IDE virtual disks up to 950GB

–

CDROM can be a physical device or an ISO image
file
http://wirelessconnect.eu/ Copyright 2008

20
Virtual Machine
Network Specifications
●

Virtual Ethernet Card
–
–

AMD Pcnet PCI II compatible (100Mb/s)**

–
●

Up to four virtual Ethernet cards
PXE ROM version 2.0 (you can use net install)

Virtual Networking
–

10 Virtual Ethernet switches (virtual Networks /
Vmnets) windows OS Host

–

100 Virtual Ethernet switches (virtual Networks /
Vmnets) Linux Based Host

http://wirelessconnect.eu/ Copyright 2008

21
Virtual Machine Remote
Management
●

Vmware Remote Console connects to server on
TCP port 902 (Linux and Windows) (secure)
–
–

●

Most Powerful VM Management tool
Allows you local console access to routers.

Vmware Server MUI secure website listens on
TCP port 8333 ( requires optional pack for
Linux and IIS on Windows)

●

RDP (local Console access ) (windows)

●

SSH (linux)

●

You can configure Out of Band Management.
http://wirelessconnect.eu/ Copyright 2008

22
Vmware Server
Preparation
●

Setup of Physical and virtual NICs
–

If Firewall remove IP address / Disable TCP/IP from all
physical interfaces on the host OS (Layer 2)

–

Minimise Virtual Adapters on the host

–

Setup additional Vmware Vmnets (virtual networks)
●
●

Minimise vmnets for performance (Production boxes)
Maximise vmnets for testing flexibility (test/training boxes)

●

Disable Vmware Server Nat Service

●

Disable Vmware DHCP Config Service

●

Use MikroTik Virtual Routers for virtual Internetworking
http://wirelessconnect.eu/ Copyright 2008

23
Virtual Machine for
MikroTik ROS 2.9.XX
●

●
●

●
●

Note that MT ROS 2.9.XX is based on the 2.4
Linux kernel series.
Note that MT ROS2.9.XX supports 1 CPU
Note that MT ROS2.9.XX requires a min 32MB
(X86) of RAM up to a max 1GB of RAM
Note that MT ROS2.9.XX requires IDE Storage
All virtual disks should be preallocated fixed
size files (better performance/ no Disk
Fragmentation)
http://wirelessconnect.eu/ Copyright 2008

24
Virtual Machine for
MikroTik ROS 3.x
●

●

●

●

●

Note that MT ROS 3 is based on the 2.6 Linux
kernel series.
Note that MT ROS 3 supports 1 CPU – Multi
Core/ Multi CPU (SMP Support)
Note that MT ROS3.XX requires a min 32MB
(X86) of RAM up to a max 2GB of RAM
Note that MT ROS 3 supports IDE & SATA
Storage
All virtual disks should be preallocated fixed
size files (better performance/ no Disk
Fragmentation)
http://wirelessconnect.eu/ Copyright 2008

25
Further Reading
●

http://mikrotik.com/

●

http://wirelessconnect.eu/store/

●

http://vmware.com/

●

http://centos.org/

●

http://redhat.com/

●

http://microsoft.com/virtualserver/

http://wirelessconnect.eu/ Copyright 2008

26

More Related Content

What's hot

Mateusz 'j00ru' Jurczyk - Windows Kernel Trap Handler and NTVDM Vulnerabiliti...
Mateusz 'j00ru' Jurczyk - Windows Kernel Trap Handler and NTVDM Vulnerabiliti...Mateusz 'j00ru' Jurczyk - Windows Kernel Trap Handler and NTVDM Vulnerabiliti...
Mateusz 'j00ru' Jurczyk - Windows Kernel Trap Handler and NTVDM Vulnerabiliti...
DefconRussia
 
HKG18-110 - net_mdev: Fast path user space I/O
HKG18-110 - net_mdev: Fast path user space I/OHKG18-110 - net_mdev: Fast path user space I/O
HKG18-110 - net_mdev: Fast path user space I/O
Linaro
 
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
Claudio Scordino - Handling mixed criticality on embedded multi-core systemsClaudio Scordino - Handling mixed criticality on embedded multi-core systems
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
linuxlab_conf
 
Building a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on XenBuilding a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on Xen
The Linux Foundation
 
OpenWRT manual
OpenWRT manualOpenWRT manual
OpenWRT manual
fosk
 

What's hot (20)

Mateusz 'j00ru' Jurczyk - Windows Kernel Trap Handler and NTVDM Vulnerabiliti...
Mateusz 'j00ru' Jurczyk - Windows Kernel Trap Handler and NTVDM Vulnerabiliti...Mateusz 'j00ru' Jurczyk - Windows Kernel Trap Handler and NTVDM Vulnerabiliti...
Mateusz 'j00ru' Jurczyk - Windows Kernel Trap Handler and NTVDM Vulnerabiliti...
 
µ-Xen
µ-Xenµ-Xen
µ-Xen
 
Qemu device prototyping
Qemu device prototypingQemu device prototyping
Qemu device prototyping
 
Project ACRN system debug
Project ACRN system debugProject ACRN system debug
Project ACRN system debug
 
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introductionACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
ACRN vMeet-Up EU 2021 - shared memory based inter-vm communication introduction
 
MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼MQTT簡介與使用開放原始碼
MQTT簡介與使用開放原始碼
 
HKG18-110 - net_mdev: Fast path user space I/O
HKG18-110 - net_mdev: Fast path user space I/OHKG18-110 - net_mdev: Fast path user space I/O
HKG18-110 - net_mdev: Fast path user space I/O
 
Infrastructure management using a VPN Concentrator
Infrastructure management using a VPN ConcentratorInfrastructure management using a VPN Concentrator
Infrastructure management using a VPN Concentrator
 
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
 
Project ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorial
 
Project ACRN Device Model architecture introduction
Project ACRN Device Model architecture introductionProject ACRN Device Model architecture introduction
Project ACRN Device Model architecture introduction
 
VM Forking and Hypervisor-based Fuzzing with Xen
VM Forking and Hypervisor-based Fuzzing with XenVM Forking and Hypervisor-based Fuzzing with Xen
VM Forking and Hypervisor-based Fuzzing with Xen
 
Infrastructure management presented to GPNOG (Updated)
Infrastructure management presented to GPNOG (Updated)Infrastructure management presented to GPNOG (Updated)
Infrastructure management presented to GPNOG (Updated)
 
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
Claudio Scordino - Handling mixed criticality on embedded multi-core systemsClaudio Scordino - Handling mixed criticality on embedded multi-core systems
Claudio Scordino - Handling mixed criticality on embedded multi-core systems
 
OffensiveCon2022: Case Studies of Fuzzing with Xen
OffensiveCon2022: Case Studies of Fuzzing with XenOffensiveCon2022: Case Studies of Fuzzing with Xen
OffensiveCon2022: Case Studies of Fuzzing with Xen
 
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look Forward
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look ForwardACRN vMeet-Up EU 2021 - Introduction and Architecture Look Forward
ACRN vMeet-Up EU 2021 - Introduction and Architecture Look Forward
 
Windows 3.1 (WFW) on vintage and modern hardware
Windows 3.1 (WFW) on vintage and modern hardwareWindows 3.1 (WFW) on vintage and modern hardware
Windows 3.1 (WFW) on vintage and modern hardware
 
Building a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on XenBuilding a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on Xen
 
A Science Project: Building a sound card based on the Covox Speech Thing
A Science Project: Building a sound card based on the Covox Speech ThingA Science Project: Building a sound card based on the Covox Speech Thing
A Science Project: Building a sound card based on the Covox Speech Thing
 
OpenWRT manual
OpenWRT manualOpenWRT manual
OpenWRT manual
 

Viewers also liked

Nourish to Flourish: Reducing malnutrition
 Nourish to Flourish: Reducing malnutrition Nourish to Flourish: Reducing malnutrition
Nourish to Flourish: Reducing malnutrition
lalita choudhary
 
Film poster analysis
Film poster analysisFilm poster analysis
Film poster analysis
sidra1996
 
The assignment process of the Higher education por Gissela Davila
The assignment process of the Higher education  por Gissela DavilaThe assignment process of the Higher education  por Gissela Davila
The assignment process of the Higher education por Gissela Davila
gissela1992
 
Evaluation
EvaluationEvaluation
Evaluation
arifmo
 
Pert 1 (bium kon)
Pert 1 (bium kon)Pert 1 (bium kon)
Pert 1 (bium kon)
Nanda Reda
 
Media updated evaluation
Media updated evaluationMedia updated evaluation
Media updated evaluation
arifmo
 

Viewers also liked (20)

Modul 2003 server
Modul 2003 server Modul 2003 server
Modul 2003 server
 
Voc vs Mataram
Voc vs MataramVoc vs Mataram
Voc vs Mataram
 
Masa Pemerintahan Kabinet Wilopo
Masa Pemerintahan Kabinet WilopoMasa Pemerintahan Kabinet Wilopo
Masa Pemerintahan Kabinet Wilopo
 
Peralatan Metereologi dan Klimatologi BMKG JATENG
Peralatan Metereologi dan Klimatologi BMKG JATENGPeralatan Metereologi dan Klimatologi BMKG JATENG
Peralatan Metereologi dan Klimatologi BMKG JATENG
 
Latihan soal MikroTik 1
Latihan soal MikroTik 1Latihan soal MikroTik 1
Latihan soal MikroTik 1
 
Kebutuhan dan Kualifikasi Lulusan Teknik
Kebutuhan dan Kualifikasi Lulusan TeknikKebutuhan dan Kualifikasi Lulusan Teknik
Kebutuhan dan Kualifikasi Lulusan Teknik
 
Virtualisasi & Cloud Computing
Virtualisasi & Cloud ComputingVirtualisasi & Cloud Computing
Virtualisasi & Cloud Computing
 
Open ssl certificate (https) for hotspot mikrotik
Open ssl certificate (https) for hotspot mikrotikOpen ssl certificate (https) for hotspot mikrotik
Open ssl certificate (https) for hotspot mikrotik
 
10. gem ok
10. gem ok10. gem ok
10. gem ok
 
Nourish to Flourish: Reducing malnutrition
 Nourish to Flourish: Reducing malnutrition Nourish to Flourish: Reducing malnutrition
Nourish to Flourish: Reducing malnutrition
 
Film poster analysis
Film poster analysisFilm poster analysis
Film poster analysis
 
Fy2014 launch party
Fy2014 launch partyFy2014 launch party
Fy2014 launch party
 
Proyecto de matematicas
Proyecto de matematicasProyecto de matematicas
Proyecto de matematicas
 
The assignment process of the Higher education por Gissela Davila
The assignment process of the Higher education  por Gissela DavilaThe assignment process of the Higher education  por Gissela Davila
The assignment process of the Higher education por Gissela Davila
 
How can i add hi slider into an existing web page by using hi slider
How can i add hi slider into an existing web page by using hi sliderHow can i add hi slider into an existing web page by using hi slider
How can i add hi slider into an existing web page by using hi slider
 
Evaluation
EvaluationEvaluation
Evaluation
 
Amit Singh-CV
Amit Singh-CVAmit Singh-CV
Amit Singh-CV
 
Pert 1 (bium kon)
Pert 1 (bium kon)Pert 1 (bium kon)
Pert 1 (bium kon)
 
Media updated evaluation
Media updated evaluationMedia updated evaluation
Media updated evaluation
 
Ռեհան
ՌեհանՌեհան
Ռեհան
 

Similar to Wirelessconnect

basic mikrotikbasic mikrotikbasic mikrotik.pdf
basic mikrotikbasic mikrotikbasic mikrotik.pdfbasic mikrotikbasic mikrotikbasic mikrotik.pdf
basic mikrotikbasic mikrotikbasic mikrotik.pdf
Arif293146
 
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHow to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
HiveMQ
 

Similar to Wirelessconnect (20)

See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...See what happened with real time kvm when building real time cloud pezhang@re...
See what happened with real time kvm when building real time cloud pezhang@re...
 
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
CIF16: Building the Superfluid Cloud with Unikernels (Simon Kuenzer, NEC Europe)
 
5. IO virtualization
5. IO virtualization5. IO virtualization
5. IO virtualization
 
2014/09/02 Cisco UCS HPC @ ANL
2014/09/02 Cisco UCS HPC @ ANL2014/09/02 Cisco UCS HPC @ ANL
2014/09/02 Cisco UCS HPC @ ANL
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & docker
 
Implementing SR-IOv failover for Windows guests during live migration
Implementing SR-IOv failover for Windows guests during live migrationImplementing SR-IOv failover for Windows guests during live migration
Implementing SR-IOv failover for Windows guests during live migration
 
Cohesive Networks Support Docs: VNS3 Configuration for IBM Softlayer
Cohesive Networks Support Docs: VNS3 Configuration for IBM SoftlayerCohesive Networks Support Docs: VNS3 Configuration for IBM Softlayer
Cohesive Networks Support Docs: VNS3 Configuration for IBM Softlayer
 
Usenix Invited Talk
Usenix Invited TalkUsenix Invited Talk
Usenix Invited Talk
 
QNAP for IoT
QNAP for IoTQNAP for IoT
QNAP for IoT
 
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ SwarmRevolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
Revolutionizing IoT Testing - A Sneak Peek of HiveMQ Swarm
 
basic mikrotikbasic mikrotikbasic mikrotik.pdf
basic mikrotikbasic mikrotikbasic mikrotik.pdfbasic mikrotikbasic mikrotikbasic mikrotik.pdf
basic mikrotikbasic mikrotikbasic mikrotik.pdf
 
DPDK Summit 2015 - RIFT.io - Tim Mortsolf
DPDK Summit 2015 - RIFT.io - Tim MortsolfDPDK Summit 2015 - RIFT.io - Tim Mortsolf
DPDK Summit 2015 - RIFT.io - Tim Mortsolf
 
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs ServiceHow to Stream IoT MQTT Messages Into the Azure Event Hubs Service
How to Stream IoT MQTT Messages Into the Azure Event Hubs Service
 
Edge Computing: A Unified Infrastructure for all the Different Pieces
Edge Computing: A Unified Infrastructure for all the Different PiecesEdge Computing: A Unified Infrastructure for all the Different Pieces
Edge Computing: A Unified Infrastructure for all the Different Pieces
 
Openstack Networking Internals - first part
Openstack Networking Internals - first partOpenstack Networking Internals - first part
Openstack Networking Internals - first part
 
"One network to rule them all" - OpenStack Summit Austin 2016
"One network to rule them all" - OpenStack Summit Austin 2016"One network to rule them all" - OpenStack Summit Austin 2016
"One network to rule them all" - OpenStack Summit Austin 2016
 
PLNOG 5: Piotr Szołkowski - Data Center i nie tylko...
PLNOG 5: Piotr Szołkowski - Data Center i nie tylko...PLNOG 5: Piotr Szołkowski - Data Center i nie tylko...
PLNOG 5: Piotr Szołkowski - Data Center i nie tylko...
 
Applications of Virtual Machine Monitors for Scalable, Reliable, and Interact...
Applications of Virtual Machine Monitors for Scalable, Reliable, and Interact...Applications of Virtual Machine Monitors for Scalable, Reliable, and Interact...
Applications of Virtual Machine Monitors for Scalable, Reliable, and Interact...
 
Server Virtualization using Hyper-V
Server Virtualization using Hyper-VServer Virtualization using Hyper-V
Server Virtualization using Hyper-V
 
Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)Libvirt/KVM Driver Update (Kilo)
Libvirt/KVM Driver Update (Kilo)
 

More from Firman Indrianto

Managed cloud-transition-service-brief
Managed cloud-transition-service-briefManaged cloud-transition-service-brief
Managed cloud-transition-service-brief
Firman Indrianto
 
Cloud stack3.0.0 3.0.2quickinstallguide
Cloud stack3.0.0 3.0.2quickinstallguideCloud stack3.0.0 3.0.2quickinstallguide
Cloud stack3.0.0 3.0.2quickinstallguide
Firman Indrianto
 
Membangun bisnis hosting ipi90530
Membangun bisnis hosting   ipi90530Membangun bisnis hosting   ipi90530
Membangun bisnis hosting ipi90530
Firman Indrianto
 
V mware v-sphere-replication-overview
V mware v-sphere-replication-overviewV mware v-sphere-replication-overview
V mware v-sphere-replication-overview
Firman Indrianto
 
The rfid tagging_challenge
The rfid tagging_challengeThe rfid tagging_challenge
The rfid tagging_challenge
Firman Indrianto
 
Materi workshop-instalasi mikrotik pc router with speedy
Materi workshop-instalasi mikrotik pc router with speedyMateri workshop-instalasi mikrotik pc router with speedy
Materi workshop-instalasi mikrotik pc router with speedy
Firman Indrianto
 
E book-bermain-dengan-infrastruktur-virtual-v mware-v-sphere-tulisan-kesepuluh
E book-bermain-dengan-infrastruktur-virtual-v mware-v-sphere-tulisan-kesepuluhE book-bermain-dengan-infrastruktur-virtual-v mware-v-sphere-tulisan-kesepuluh
E book-bermain-dengan-infrastruktur-virtual-v mware-v-sphere-tulisan-kesepuluh
Firman Indrianto
 
Thinapp47 packageini reference
Thinapp47 packageini referenceThinapp47 packageini reference
Thinapp47 packageini reference
Firman Indrianto
 

More from Firman Indrianto (12)

Tutorial c panel
Tutorial c panelTutorial c panel
Tutorial c panel
 
Managed cloud-transition-service-brief
Managed cloud-transition-service-briefManaged cloud-transition-service-brief
Managed cloud-transition-service-brief
 
Cloud stack3.0.0 3.0.2quickinstallguide
Cloud stack3.0.0 3.0.2quickinstallguideCloud stack3.0.0 3.0.2quickinstallguide
Cloud stack3.0.0 3.0.2quickinstallguide
 
Manual cms ( central management system ) / Video Viewer for AVTECH DVR
 Manual cms ( central management system ) / Video Viewer for AVTECH DVR Manual cms ( central management system ) / Video Viewer for AVTECH DVR
Manual cms ( central management system ) / Video Viewer for AVTECH DVR
 
V mware v center converter standalone user's guide
V mware v center converter standalone user's guideV mware v center converter standalone user's guide
V mware v center converter standalone user's guide
 
Membangun bisnis hosting ipi90530
Membangun bisnis hosting   ipi90530Membangun bisnis hosting   ipi90530
Membangun bisnis hosting ipi90530
 
V mware v-sphere-replication-overview
V mware v-sphere-replication-overviewV mware v-sphere-replication-overview
V mware v-sphere-replication-overview
 
Uhf regulations
Uhf regulationsUhf regulations
Uhf regulations
 
The rfid tagging_challenge
The rfid tagging_challengeThe rfid tagging_challenge
The rfid tagging_challenge
 
Materi workshop-instalasi mikrotik pc router with speedy
Materi workshop-instalasi mikrotik pc router with speedyMateri workshop-instalasi mikrotik pc router with speedy
Materi workshop-instalasi mikrotik pc router with speedy
 
E book-bermain-dengan-infrastruktur-virtual-v mware-v-sphere-tulisan-kesepuluh
E book-bermain-dengan-infrastruktur-virtual-v mware-v-sphere-tulisan-kesepuluhE book-bermain-dengan-infrastruktur-virtual-v mware-v-sphere-tulisan-kesepuluh
E book-bermain-dengan-infrastruktur-virtual-v mware-v-sphere-tulisan-kesepuluh
 
Thinapp47 packageini reference
Thinapp47 packageini referenceThinapp47 packageini reference
Thinapp47 packageini reference
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Wirelessconnect

  • 1. Virtualised MikroTik MikroTik in a Virtualised Hardware Environment Speaker: Event: Tom Smyth CTO Wireless Connect Ltd. MUM Krackow Feb 2008 http://wirelessconnect.eu/ Copyright 2008 1
  • 2. Objectives ● ● ● Understand What is Virtualisation Receive a high-level overview of Vmware Server Understand how to configure a virtual machine for use with Router OS 2.9 & Router OS 3 ● Understand how to configure a virtual machine ● Identify where Virtualisation can help ● Identify where Virtualisation can not help http://wirelessconnect.eu/ Copyright 2008 2
  • 3. Virtualisation in a nut shell ● ● ● ● Computers running inside computers Software system abstracts hardware Virtual machine data stored in files Virtual machines are isolated and secured from each other. ● Vmware on Windows ● Vmware on Linux ● Vmware on Chassis (ESX) http://wirelessconnect.eu/ Copyright 2008 3
  • 5. Virtualisation? ● Abstraction of physical hardware – – ● The same virtual hardware is presented to the guest operating system despite the underlying hardware of the server (X86 & x86-64 CPU + Extensions available on host) Logical division of physical hardware – single powerful host server can be divided into many discrete separate virtual servers. – Each of these servers can run different operating systems. – Each System can be interconnected via Multiple http://wirelessconnect.eu/ Copyright 2008 Virtual Networks 5
  • 6. Vmware Server ● ● ● ● Vmware server installs and runs as a service on top of a host Windows or Linux operating system. A thin virtualisation layer partitions the physical server so that multiple virtual machines can be run simultaneously on a single server. Vmware Server isolates each virtual machine from its host and other virtual machines. Data does not leak across virtual machines and applications can only communicate over configured network connections http://wirelessconnect.eu/ Copyright 2008 6
  • 7. Virtual Machines ● A virtual machine is like a server, but instead of an electronic mother board it uses a software mother board & BIOS. ● Execution is native ● All configuration and data are stored as files. ● ● ● All VMs are hardware independent and run on Vmware server on any x86 physical server. Can access physical host hardware resources through emulated hardware with native execution Completely isolated and secure. http://wirelessconnect.eu/ Copyright 2008 7
  • 8. Virtual Firewall for Virtual Host ● ● ● Mikro Tik Virtual Router can act as a firewall to protect other virtual machines running on the host Each Virtual Network acts as a Switch Virtual Networks can be bridged to Physical Network via host physical Ethernet adapters http://wirelessconnect.eu/ Copyright 2008 8
  • 9. High Availability ● 2 x MikroTik VRRP Enabled Virtual Routers can increase availability ● Quick Fail Over :) ● Router Upgrades ● ● Router Configuration Maintenance Virtual Networks can be bridged to Physical Network via host physical Ethernet adapters http://wirelessconnect.eu/ Copyright 2008 9
  • 10. Security & Flexibility With Single Purpose MikroTik Appliances ● ● Services are modularised ● Simplified support Minimal possibility of conflicts in services ● Maximises ability to secure hosts ● ● 1 purpose per host Simplifies migration and upgrade of software versions(shut-down services individually when each service is least required) ● http://wirelessconnect.eu/ Copyright 2008 10
  • 11. Virtual Test Network ● Virtual Test Labs ● Try out new ideas ● ● ● Windows based vmware 10 virtual networks Linux based vmware 100 virtual Networks!!! You can run many machines concurrently http://wirelessconnect.eu/ Copyright 2008 11
  • 12. Laptop /PC with a MikroTik Virtual Router Firewall ● ● ● ● ● ● ● Disable TCPIP on physical interface Bridge (Layer 2) to untrusted virtual network Create a Mikrotik Virtual Router with 2 virtual NIC Create Private Trusted Virtual Network Create Virtual NIC on Host (with TCPIP Enabed) Place firewall +NAT Configuration on Mikrotik Router Test with NMAP!!!!!! http://wirelessconnect.eu/ Copyright 2008 12
  • 14. Uses ● Run MikroTik on previously incompatible hardware – – ● Custom Network hardware – ● SCSI/ SAS /μSATA Disks/ SAN Attached Storage – ● Raid Controllers, – ● High End Servers Encrypted Harddisks Flexibility for proactive Disaster recovery in the event of hardware failure Increased hardware usage through more comprehensive driver support (DMA) in the underlying operating system Break up individual router tasks into separate virtual Machines. (Scalability and Security) Remote Reconfiguration Risk Reduction http://wirelessconnect.eu/ Copyright 2008 14
  • 15. Increased Flexibility ● ● ● Responsive DR functionality, full systems can be easily moved from one physical server to another, even while in operation. (Snap Shots) Can be built and distributed as plug-and-play virtual appliances (help sales and expose product to new markets and new customers) New Infrastructure services can be introduced remotely without compromising stability of existing services (function isolation) http://wirelessconnect.eu/ Copyright 2008 15
  • 16. Application ● Core of Networks – Using VRRP for increased availability – Linux Clusters for maximum availability – Provide an end to end MikroTik Solutions – Provide high performance multigigabit throughput** ● – ● Provide Multi purpose logically separate services Laptops (fire walling & Security) – – ● VPN Secure Remote Assistance Test labs – Testing Dynamic Routing Protocol Configuration – Testing QOS policies http://wirelessconnect.eu/ Copyright 2008 16
  • 17. Virtualisation Not Always an option :( ● Virtualisation is not practical in all cases – ROI ? – Do you need to have scalability ? – Do you need to add complexity ? – RB1000 better applied in Distribution Networks – Cluster 2x RB 1000s for high availability http://wirelessconnect.eu/ Copyright 2008 17
  • 18. Hardware Requirements ● Virtualisation requires good hardware to function ● Xeon / Opteron Processors ● Hardware Virtualisation Support If possible (Not Essential) ● Multiple PCI/X buses ● Multiple PCIExpress lanes (1x 2.5Gb/s... 8x 20Gb/s) ● Memory Capacity on the host server must be adequate ● Memory bandwidth determines Virtual Network bandwidth http://wirelessconnect.eu/ Copyright 2008 18
  • 19. Virtual Machine Core Specifications ● Virtual Processor – – Intel EMT64VT (experimental support) – Single and multiprocessor per virtual machine on symmetric multiprocessor (SMP) systems. – ● Intel Pentium II or later, or AMD Athlon or later, depending on host processor; Virtual Machine Load is not dedicated to one processor or core, virtual machines are executed across all available CPUs which can be very helpful in maintaining high performance under high loads Virtual Chipset – ● Intel 440BX based motherboard with NS338 SIO chip and 82093AA IOAPIC Virtual BIOS – PhoenixBIOS 4.0 Release 6 with VESA BIOS – http://wirelessconnect.eu/ Copyright 2008 DMI/SMBIOS compliant for system management agent support 19
  • 20. Virtual Machine Storage Specifications ● Virtual Memory – ● Up to 3600MB of memory per virtual machine, depending on the host system's configuration and the amount of memory on the physical host Virtual IDE Drives – Up to four devices: IDE HDDs, CDROM or DVD – Hard disks can be virtual disks or physical disks.IDE virtual disks up to 950GB – CDROM can be a physical device or an ISO image file http://wirelessconnect.eu/ Copyright 2008 20
  • 21. Virtual Machine Network Specifications ● Virtual Ethernet Card – – AMD Pcnet PCI II compatible (100Mb/s)** – ● Up to four virtual Ethernet cards PXE ROM version 2.0 (you can use net install) Virtual Networking – 10 Virtual Ethernet switches (virtual Networks / Vmnets) windows OS Host – 100 Virtual Ethernet switches (virtual Networks / Vmnets) Linux Based Host http://wirelessconnect.eu/ Copyright 2008 21
  • 22. Virtual Machine Remote Management ● Vmware Remote Console connects to server on TCP port 902 (Linux and Windows) (secure) – – ● Most Powerful VM Management tool Allows you local console access to routers. Vmware Server MUI secure website listens on TCP port 8333 ( requires optional pack for Linux and IIS on Windows) ● RDP (local Console access ) (windows) ● SSH (linux) ● You can configure Out of Band Management. http://wirelessconnect.eu/ Copyright 2008 22
  • 23. Vmware Server Preparation ● Setup of Physical and virtual NICs – If Firewall remove IP address / Disable TCP/IP from all physical interfaces on the host OS (Layer 2) – Minimise Virtual Adapters on the host – Setup additional Vmware Vmnets (virtual networks) ● ● Minimise vmnets for performance (Production boxes) Maximise vmnets for testing flexibility (test/training boxes) ● Disable Vmware Server Nat Service ● Disable Vmware DHCP Config Service ● Use MikroTik Virtual Routers for virtual Internetworking http://wirelessconnect.eu/ Copyright 2008 23
  • 24. Virtual Machine for MikroTik ROS 2.9.XX ● ● ● ● ● Note that MT ROS 2.9.XX is based on the 2.4 Linux kernel series. Note that MT ROS2.9.XX supports 1 CPU Note that MT ROS2.9.XX requires a min 32MB (X86) of RAM up to a max 1GB of RAM Note that MT ROS2.9.XX requires IDE Storage All virtual disks should be preallocated fixed size files (better performance/ no Disk Fragmentation) http://wirelessconnect.eu/ Copyright 2008 24
  • 25. Virtual Machine for MikroTik ROS 3.x ● ● ● ● ● Note that MT ROS 3 is based on the 2.6 Linux kernel series. Note that MT ROS 3 supports 1 CPU – Multi Core/ Multi CPU (SMP Support) Note that MT ROS3.XX requires a min 32MB (X86) of RAM up to a max 2GB of RAM Note that MT ROS 3 supports IDE & SATA Storage All virtual disks should be preallocated fixed size files (better performance/ no Disk Fragmentation) http://wirelessconnect.eu/ Copyright 2008 25