SlideShare a Scribd company logo
1 of 25
Download to read offline
MikroTik IPv4 Multicast Routing
for
Video Streaming Application
Training for Trainers – Venice 2014
Faisal Reza. 2014 | reza@astainformatics.com
Update : Video Demo
- multicast routing 1 router
https://www.youtube.com/watch?v=nqUlUIB93Mg
- video multicast routing 2 router over wireless
https://www.youtube.com/watch?v=eYEocGYsGZ4
- VLC as multicast stream server
https://www.youtube.com/watch?v=Z1lthcBSSrM
- VLC as multicast player
https://www.youtube.com/watch?v=s2uTs8NRQpY
About me :
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
Introduction
Faisal Reza. 2014 | reza@astainformatics.com
Objectives
• Introduction
• Multicast Concept
• Configuration Example
• Lab Task
• Conclusion
Faisal Reza. 2014 | reza@astainformatics.com
Company A is an ISP that want to expand their
services to deliver Video Broadcast in existing
MikroTik IP Networks.
To conserve bandwidth that flow on the
network, you as a consultant recommended
them to choose Multicast as tehcnique to
deliver the traffic.
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
Situation
Faisal Reza. 2014 | reza@astainformatics.com
IP Multicast is a technology that allows one-to-many and many-
to-many distribution of data on the Internet.
Senders send their data to a multicast IP destination address,
and receives express an interest in receiving traffic destined for
such an address. The network then figures out how to get the
data from senders to receivers.
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
Why Multicast?
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
MULTICAST VS UNICAST
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
PROTOCOL INDEPENDENT MULTICAST
Protocol-Independent Multicast (PIM) is a family of multicast routing
protocols for Internet Protocol (IP) networks that provide one-to-many and many-to-
many distribution of data over a LAN, WAN or the Internet. It is termed protocol-
independent because PIM does not include its own topology discovery mechanism,
but instead uses routing information supplied by other routing protocols.
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
There are four variants of PIM:
• PIM Sparse Mode (PIM-SM) explicitly builds unidirectional shared trees rooted at
a rendezvous point (RP) per group, and optionally creates shortest-path trees per source.
PIM-SM generally scales fairly well for wide-area usage.
• PIM Dense Mode (PIM-DM) uses dense multicast routing. It implicitly builds shortest-path
trees by flooding multicast traffic domain wide, and then pruning back branches of the tree
where no receivers are present. PIM-DM is straightforward to implement but generally has
poor scaling properties. The first multicast routing protocol, DVMRP used dense-mode
multicast routing.
• Bidirectional PIM explicitly builds shared bi-directional trees. It never builds a shortest path
tree, so may have longer end-to-end delays than PIM-SM, but scales well because it needs no
source-specific state
• PIM Source-Specific Multicast (PIM-SSM) builds trees that are rooted in just one source,
offering a more secure and scalable model for a limited amount of applications (mostly
broadcasting of content).
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
Multicast Addressing
For IPv4, 224.0.0.0 to 239.255.255.255.
Addresses within 232.0.0.0/8 are reserved for SSM usage.
Addresses in 239.0.0.0/8 are ASM (Any-source Multicast) addresses defined for varying sizes of limited scope.
Addresses within 224.0.0.0/24 are considered link-local and are forwarded between subnets.
IANA addressing for multicast :
• 224.0.0.1 - All systems on the subnet
• 224.0.0.2 - All routers on the subnet
• 224.0.0.9 - For RIPv2
• 224.0.0.14 - For VRRP
• 224.0.1.1 - Network time protocol (NTP)
• The internet assigned numbers authority (IANA) allocates ethernet addresses from 01:00:5E:00:00:00
through 01:00:5E:7F:FF:FF for multicasting, therefore leaving only 23 bits available for the multicast group
ID.
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
IGMP Proxy
Internet Group Management Protocol (IGMP) proxy can be used to implement multicast routing. It is
forwarding IGMP frames and commonly is used when there is no need for more advanced protocol like PIM.
IGMP proxy features:
• The simplest way how to do multicast routing;
• Can be used in topologies where PIM-SM is not suitable for some reason;
• Takes slightly less resources than PIM-SM;
• Ease of configuration.
• On the other hand, IGMP proxy is not well suited for complicated multicast routing setups. Compared to
PIM based solutions, IGMP proxy does not support more than one upstream interface and routing loops
are not detected or avoided.
• MikroTik RouterOS IGMP proxy supports IGMP version 2 (RFC 2236).
Faisal Reza. 2014 | reza@astainformatics.com
#1: Enable Multicast on RouterOS
Multicast package is not installed by
default
Step to install multicast :
1. Go to
www.mikrotik.com/download
2. Choose your RouterOS
architecture
3. Download the All Packages (zip
file)
4. Extract it and copy multicast.npk to
RouterOS File
Use only multicast packages with same
version with your existing routeros
Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 1| Conclusion
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 1 | Conclusion
#2 : Copy multicast package to File List
Use multicast package with the same version check
using /system resources. Then reboot your router to
finished packages installation
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 1| Conclusion
#3: Multicast Installed
IGMP Proxy and PIM wil appear in Routing Menu
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
Multicast single router
R1 :
/routing pim interface
add interface=ether3
add interface=ether4
STATIC ROUTE on Multicast Sender :
>route add 224.3.2.1 mask 255.255.255.255 192.168.3.254
>route add 239.3.2.1 mask 255.255.255.255 192.168.3.254
VLC Open Network Stream :
rtp://@224.3.2.1:5005
rtp://@239.3.2.1:5004
Faisal Reza. 2014 | reza@astainformatics.com
R1
/ip address add address=192.168.3.254 interface=ether3
/ip address add address=192.168.4.254 interface=ether4
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
[admin@R1-T4T-FREZA] > routing pim interface print
Flags: X - disabled, I - inactive, D - dynamic, R - designated-router , v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3
# INTERFACE PROTOCOLS
0 Rv2 ether3 pim igmp
1 Rv2 ether4 pim igmp
2 DR register pim
[admin@R1-T4T-FREZA] > routing pim igmp-group print
Flags: v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3,
I - include, E - exclude, F - forward, D - don't forward
INTERFACE GROUP SOURCE TIMEOUT
v2E ether3 224.0.0.2 0.0.0.0 2m30s
v2E ether3 224.0.0.13 0.0.0.0 2m31s
v2E ether3 224.0.0.22 0.0.0.0 2m30s
v2E ether3 239.255.255.250 0.0.0.0 2m24s
v2E ether4 224.0.0.2 0.0.0.0 2m36s
v2E ether4 224.0.0.13 0.0.0.0 2m36s
v2E ether4 224.0.0.22 0.0.0.0 2m35s
v2E ether4 224.3.2.1 0.0.0.0 2m33s
v2E ether4 239.3.2.1 0.0.0.0 2m30s
v2E ether4 239.255.255.250 0.0.0.0 2m37s
PIM Status
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
PIM Status
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
Rendevous Point
Rendezvous point (RP) is a distribution point for multicast group, source provides its data to it, and if there are
any subscribers, then RP will provide data to client. Note, that RP will always receive data stream if that exists.
MRIB routes are used for reverse path forwarding check. In a way, they perform opposite function that FIB
(Forwarding Information Base) routes: FIB is used to find the right By default, MRIB is populated by FIB routes.
Use "multicast" routing filter chain to control that or set specific parameters for imported FIB routes (e.g. you
can change the distance of the route). In addition, you can specify static MRIB routes.
This is useful only if you are using multihoming and multicast packet flow will be different from unicast packet
flow.
Active MRIB entries that are imported from FIB are shown with "dynamic" flag.
MRIB
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion
Multicast Routing across Router (Wifi)
R1
/routing pim interface add
/routing pim rp
add address=192.168.6.254
STATIC route on Multicast sender :
route add 192.168.6.0/24 mask 255.255.255.0 192.168.1.254
route add 192.168.2.0/24 mask 255.255.255.0 192.168.1.254
route add 224.3.1.1 mask 255.255.255.255 192.168.1.254
route add 239.3.2.1 mask 255.255.255.255 192.168.1.254
R2
/routing pim interfaceadd
/routing pim rp
add address=192.168.6.254
VLC Stream Config :
:sout=#rtp{dst=224.3.2.1,port=5005,mux=ts} :sout-all :sout-keep
:sout=#rtp{dst=239.3.2.1,port=5004,mux=ts} :sout-all :sout-keep
VLC Open Network Stream :
rtp://@224.3.2.1:5005
rtp://@239.3.2.1:5004
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion
Wifi AP Configuration
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk eap-methods="" man
allowed mode=dynamic-keys name=profile1 supplicant-ident
wpa-pre-shared-key=mikrotik1234 wpa2-pre-shared-key=mikrotik
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n comment="RENDEVOUS POINT”
country=indonesia disabled=no frequency=2452 frequency-m
regulatory-domain ht-rxchains=0 ht-txchains=0 l2mtu=2290
multicast-helper=full name=wlan1-rp radio-name=951G-FREZ
security-profile=profile1 ssid=FREZA-T4T wireless-protoc
wmm-support=enabled
/interface wireless manual-tx-power-table
set wlan1-rp comment="RENDEVOUS POINT"
/interface wireless nstreme
set wlan1-rp comment="RENDEVOUS POINT"
IMPORTANT!
enable multicast helper = full
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion
R1 PIM STATUS
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion
R1 PIM STATUS (2)
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion
R1 PIM STATUS (3)
Faisal Reza. 2014 | reza@astainformatics.com
http://wiki.mikrotik.com/wiki/Manual:Routing/Multicast#Rendezvous_point
http://wiki.mikrotik.com/wiki/Manual:Multicast_detailed_example
http://forum.mikrotik.com/viewtopic.php?f=14&t=34851
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
Further Readings
Faisal Reza. 2014 | reza@astainformatics.com
Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion
Thank You
Faisal Reza. 2014. MikroTik Training for Trainers, Venice – Italy.
Faisal Reza. 2014 | reza@astainformatics.com

More Related Content

What's hot

VPN site-to-site.pdf
VPN site-to-site.pdfVPN site-to-site.pdf
VPN site-to-site.pdfgorguindiaye
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesFebrian ‎
 
CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6Nil Menon
 
Using MikroTik routers for BGP transit and IX points
Using MikroTik routers for BGP transit and IX points  Using MikroTik routers for BGP transit and IX points
Using MikroTik routers for BGP transit and IX points Pavel Odintsov
 
Vxlan control plane and routing
Vxlan control plane and routingVxlan control plane and routing
Vxlan control plane and routingWilfredzeng
 
Segment Routing: A Tutorial
Segment Routing: A TutorialSegment Routing: A Tutorial
Segment Routing: A TutorialAPNIC
 
BGP Services IP Transit vs IP Peering
BGP Services  IP Transit vs IP PeeringBGP Services  IP Transit vs IP Peering
BGP Services IP Transit vs IP PeeringGLC Networks
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)NetProtocol Xpert
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bullsSwapnil Kapate
 
101 CCNA Labs with Solutions.pdf
101 CCNA Labs with Solutions.pdf101 CCNA Labs with Solutions.pdf
101 CCNA Labs with Solutions.pdfBiVnHu1
 
Cisco CCNA IP SLA with tracking configuration
Cisco CCNA IP SLA  with tracking  configurationCisco CCNA IP SLA  with tracking  configuration
Cisco CCNA IP SLA with tracking configurationHamed Moghaddam
 
CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5Irsandi Hasan
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN DeploymentAPNIC
 

What's hot (20)

Mikrotik advanced
Mikrotik advancedMikrotik advanced
Mikrotik advanced
 
Asa packet-flow-00
Asa packet-flow-00Asa packet-flow-00
Asa packet-flow-00
 
VPN site-to-site.pdf
VPN site-to-site.pdfVPN site-to-site.pdf
VPN site-to-site.pdf
 
BGP Advance Technique by Steven & James
BGP Advance Technique by Steven & JamesBGP Advance Technique by Steven & James
BGP Advance Technique by Steven & James
 
CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA 2 Routing and Switching v5.0 Chapter 6
 
Using MikroTik routers for BGP transit and IX points
Using MikroTik routers for BGP transit and IX points  Using MikroTik routers for BGP transit and IX points
Using MikroTik routers for BGP transit and IX points
 
Vxlan control plane and routing
Vxlan control plane and routingVxlan control plane and routing
Vxlan control plane and routing
 
Segment Routing: A Tutorial
Segment Routing: A TutorialSegment Routing: A Tutorial
Segment Routing: A Tutorial
 
Eigrp.ppt
Eigrp.pptEigrp.ppt
Eigrp.ppt
 
BGP Services IP Transit vs IP Peering
BGP Services  IP Transit vs IP PeeringBGP Services  IP Transit vs IP Peering
BGP Services IP Transit vs IP Peering
 
EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)EIGRP (Enhanced Interior Gateway Routing Protocol)
EIGRP (Enhanced Interior Gateway Routing Protocol)
 
Ccnp workbook network bulls
Ccnp workbook network bullsCcnp workbook network bulls
Ccnp workbook network bulls
 
CCNA ppt
CCNA pptCCNA ppt
CCNA ppt
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
 
101 CCNA Labs with Solutions.pdf
101 CCNA Labs with Solutions.pdf101 CCNA Labs with Solutions.pdf
101 CCNA Labs with Solutions.pdf
 
MPLS
MPLSMPLS
MPLS
 
Cisco CCNA IP SLA with tracking configuration
Cisco CCNA IP SLA  with tracking  configurationCisco CCNA IP SLA  with tracking  configuration
Cisco CCNA IP SLA with tracking configuration
 
CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5CCNA Exploration 2 - Chapter 5
CCNA Exploration 2 - Chapter 5
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN Deployment
 
BGP filter with mikrotik
BGP filter with mikrotikBGP filter with mikrotik
BGP filter with mikrotik
 

Viewers also liked

Mikrotik Network Simulator (MUM Presentation Material 2013)
Mikrotik Network Simulator (MUM Presentation Material 2013)Mikrotik Network Simulator (MUM Presentation Material 2013)
Mikrotik Network Simulator (MUM Presentation Material 2013)Rofiq Fauzi
 
MikroTik MTCNA
MikroTik MTCNAMikroTik MTCNA
MikroTik MTCNAAli Layth
 
Choosing MikroTik for Your Network
Choosing MikroTik for Your NetworkChoosing MikroTik for Your Network
Choosing MikroTik for Your NetworkFaisal Reza
 
Kebutuhan dan Kualifikasi Lulusan Teknik
Kebutuhan dan Kualifikasi Lulusan TeknikKebutuhan dan Kualifikasi Lulusan Teknik
Kebutuhan dan Kualifikasi Lulusan TeknikFaisal Reza
 
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 mikrotikAldi Nor Fahrudin
 
(Mikrotik)MTCNA presentation Material-IDN
(Mikrotik)MTCNA presentation Material-IDN(Mikrotik)MTCNA presentation Material-IDN
(Mikrotik)MTCNA presentation Material-IDNAndry Ansah
 
MikroTik Security
MikroTik SecurityMikroTik Security
MikroTik SecurityRofiq Fauzi
 
Detecting network virus using mikrotik
Detecting network virus using mikrotikDetecting network virus using mikrotik
Detecting network virus using mikrotikAchmad Mardiansyah
 
Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step  anung muhandanu Tutorial mikrotik step by step  anung muhandanu
Tutorial mikrotik step by step anung muhandanu theviper0308
 
White spaces above 3 g hz and an application
White spaces above 3 g hz and an applicationWhite spaces above 3 g hz and an application
White spaces above 3 g hz and an applicationBrough Turner
 
Network Simulation using Mikrotik Router OS CHR (MUM Presentation)
Network Simulation using Mikrotik Router OS CHR (MUM Presentation)Network Simulation using Mikrotik Router OS CHR (MUM Presentation)
Network Simulation using Mikrotik Router OS CHR (MUM Presentation)Arif Hossen
 
Mikrotik router os qos best practice
Mikrotik router os qos best practiceMikrotik router os qos best practice
Mikrotik router os qos best practiceBassel Kablawi
 
Developing rich multimedia applications with Kurento: a tutorial for JavaScri...
Developing rich multimedia applications with Kurento: a tutorial for JavaScri...Developing rich multimedia applications with Kurento: a tutorial for JavaScri...
Developing rich multimedia applications with Kurento: a tutorial for JavaScri...Luis Lopez
 

Viewers also liked (20)

Mikrotik load balansing
Mikrotik load balansingMikrotik load balansing
Mikrotik load balansing
 
Mikrotik Network Simulator (MUM Presentation Material 2013)
Mikrotik Network Simulator (MUM Presentation Material 2013)Mikrotik Network Simulator (MUM Presentation Material 2013)
Mikrotik Network Simulator (MUM Presentation Material 2013)
 
MikroTik Firewall : Securing your Router with Port Knocking
MikroTik Firewall : Securing your Router with Port KnockingMikroTik Firewall : Securing your Router with Port Knocking
MikroTik Firewall : Securing your Router with Port Knocking
 
MikroTik MTCNA
MikroTik MTCNAMikroTik MTCNA
MikroTik MTCNA
 
Choosing MikroTik for Your Network
Choosing MikroTik for Your NetworkChoosing MikroTik for Your Network
Choosing MikroTik for Your Network
 
Kebutuhan dan Kualifikasi Lulusan Teknik
Kebutuhan dan Kualifikasi Lulusan TeknikKebutuhan dan Kualifikasi Lulusan Teknik
Kebutuhan dan Kualifikasi Lulusan Teknik
 
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
 
(Mikrotik)MTCNA presentation Material-IDN
(Mikrotik)MTCNA presentation Material-IDN(Mikrotik)MTCNA presentation Material-IDN
(Mikrotik)MTCNA presentation Material-IDN
 
IPv6 on Mikrotik
IPv6 on MikrotikIPv6 on Mikrotik
IPv6 on Mikrotik
 
VPN on Mikrotik
VPN on MikrotikVPN on Mikrotik
VPN on Mikrotik
 
MikroTik Security
MikroTik SecurityMikroTik Security
MikroTik Security
 
Using mikrotik with radius
Using mikrotik with radiusUsing mikrotik with radius
Using mikrotik with radius
 
Detecting network virus using mikrotik
Detecting network virus using mikrotikDetecting network virus using mikrotik
Detecting network virus using mikrotik
 
VLAN on mikrotik
VLAN on mikrotikVLAN on mikrotik
VLAN on mikrotik
 
MTCNA
MTCNAMTCNA
MTCNA
 
Tutorial mikrotik step by step anung muhandanu
Tutorial mikrotik step by step  anung muhandanu Tutorial mikrotik step by step  anung muhandanu
Tutorial mikrotik step by step anung muhandanu
 
White spaces above 3 g hz and an application
White spaces above 3 g hz and an applicationWhite spaces above 3 g hz and an application
White spaces above 3 g hz and an application
 
Network Simulation using Mikrotik Router OS CHR (MUM Presentation)
Network Simulation using Mikrotik Router OS CHR (MUM Presentation)Network Simulation using Mikrotik Router OS CHR (MUM Presentation)
Network Simulation using Mikrotik Router OS CHR (MUM Presentation)
 
Mikrotik router os qos best practice
Mikrotik router os qos best practiceMikrotik router os qos best practice
Mikrotik router os qos best practice
 
Developing rich multimedia applications with Kurento: a tutorial for JavaScri...
Developing rich multimedia applications with Kurento: a tutorial for JavaScri...Developing rich multimedia applications with Kurento: a tutorial for JavaScri...
Developing rich multimedia applications with Kurento: a tutorial for JavaScri...
 

Similar to MikroTik Multicast Routing [www.imxpert.co]

Implementing multicast communication system making use of an existing data ne...
Implementing multicast communication system making use of an existing data ne...Implementing multicast communication system making use of an existing data ne...
Implementing multicast communication system making use of an existing data ne...iosrjce
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceBertrand Duvivier
 
DEVNET-1191 BGP Enabled Application Development
DEVNET-1191	BGP Enabled Application DevelopmentDEVNET-1191	BGP Enabled Application Development
DEVNET-1191 BGP Enabled Application DevelopmentCisco DevNet
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet MulticastingNP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicastinghamsa nandhini
 
IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?Olivier Bonaventure
 
Implementing a scalable ospf based solution
Implementing a scalable ospf based solutionImplementing a scalable ospf based solution
Implementing a scalable ospf based solutionArnold Derrick Kinney
 
IPv6 and IP Multicast… better together?
IPv6 and IP Multicast… better together?IPv6 and IP Multicast… better together?
IPv6 and IP Multicast… better together?Steve Simlo
 
PLNOG14: Evolved Programmable Network, architektura dla sieci operatorskich -...
PLNOG14: Evolved Programmable Network, architektura dla sieci operatorskich -...PLNOG14: Evolved Programmable Network, architektura dla sieci operatorskich -...
PLNOG14: Evolved Programmable Network, architektura dla sieci operatorskich -...PROIDEA
 
Configurasi ospf
Configurasi ospfConfigurasi ospf
Configurasi ospfamri am
 
Basics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksBasics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksReliance Comm
 
Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Sasank Chaitanya
 
Demystifying Networking Webinar Series- Routing on the Host
Demystifying Networking Webinar Series- Routing on the HostDemystifying Networking Webinar Series- Routing on the Host
Demystifying Networking Webinar Series- Routing on the HostCumulus Networks
 
Presentation on MPLS (Multi Protocol Label Switching)
Presentation on MPLS (Multi Protocol Label Switching)Presentation on MPLS (Multi Protocol Label Switching)
Presentation on MPLS (Multi Protocol Label Switching)BalaMurugan948
 

Similar to MikroTik Multicast Routing [www.imxpert.co] (20)

J017246677
J017246677J017246677
J017246677
 
Implementing multicast communication system making use of an existing data ne...
Implementing multicast communication system making use of an existing data ne...Implementing multicast communication system making use of an existing data ne...
Implementing multicast communication system making use of an existing data ne...
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
 
IP Multicasting
IP MulticastingIP Multicasting
IP Multicasting
 
DEVNET-1191 BGP Enabled Application Development
DEVNET-1191	BGP Enabled Application DevelopmentDEVNET-1191	BGP Enabled Application Development
DEVNET-1191 BGP Enabled Application Development
 
Advanced Topics in IP Multicast Deployment
Advanced Topics in IP Multicast DeploymentAdvanced Topics in IP Multicast Deployment
Advanced Topics in IP Multicast Deployment
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet MulticastingNP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
NP - Unit 4 - Routing - RIP, OSPF and Internet Multicasting
 
Ipv6 routing
Ipv6 routingIpv6 routing
Ipv6 routing
 
IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?IPv6 Segment Routing : an end-to-end solution ?
IPv6 Segment Routing : an end-to-end solution ?
 
Implementing a scalable ospf based solution
Implementing a scalable ospf based solutionImplementing a scalable ospf based solution
Implementing a scalable ospf based solution
 
IPv6 and IP Multicast… better together?
IPv6 and IP Multicast… better together?IPv6 and IP Multicast… better together?
IPv6 and IP Multicast… better together?
 
Tale of a New Bangladeshi NIX
Tale of a New Bangladeshi NIXTale of a New Bangladeshi NIX
Tale of a New Bangladeshi NIX
 
PLNOG14: Evolved Programmable Network, architektura dla sieci operatorskich -...
PLNOG14: Evolved Programmable Network, architektura dla sieci operatorskich -...PLNOG14: Evolved Programmable Network, architektura dla sieci operatorskich -...
PLNOG14: Evolved Programmable Network, architektura dla sieci operatorskich -...
 
Configurasi ospf
Configurasi ospfConfigurasi ospf
Configurasi ospf
 
CCCNP ROUTE v6_ch05
CCCNP ROUTE  v6_ch05CCCNP ROUTE  v6_ch05
CCCNP ROUTE v6_ch05
 
Basics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networksBasics of multicasting and its implementation on ethernet networks
Basics of multicasting and its implementation on ethernet networks
 
Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks Basicsofmulticastinganditsimplementationonethernetnetworks
Basicsofmulticastinganditsimplementationonethernetnetworks
 
Demystifying Networking Webinar Series- Routing on the Host
Demystifying Networking Webinar Series- Routing on the HostDemystifying Networking Webinar Series- Routing on the Host
Demystifying Networking Webinar Series- Routing on the Host
 
Presentation on MPLS (Multi Protocol Label Switching)
Presentation on MPLS (Multi Protocol Label Switching)Presentation on MPLS (Multi Protocol Label Switching)
Presentation on MPLS (Multi Protocol Label Switching)
 

More from Faisal Reza

VXLAN and FRRouting
VXLAN and FRRoutingVXLAN and FRRouting
VXLAN and FRRoutingFaisal Reza
 
Gtech 2019 Living in Connected World
Gtech 2019 Living in Connected WorldGtech 2019 Living in Connected World
Gtech 2019 Living in Connected WorldFaisal Reza
 
MikroTik Real World Implementation
MikroTik Real World ImplementationMikroTik Real World Implementation
MikroTik Real World ImplementationFaisal Reza
 
Workshop IPv6 APJII Jawa Barat
Workshop IPv6 APJII Jawa Barat Workshop IPv6 APJII Jawa Barat
Workshop IPv6 APJII Jawa Barat Faisal Reza
 
Pengenalan Datacenter
Pengenalan DatacenterPengenalan Datacenter
Pengenalan DatacenterFaisal Reza
 
MUM Laos 2017 - Choosing Mikrotik for Your Network
MUM Laos 2017 - Choosing Mikrotik for Your NetworkMUM Laos 2017 - Choosing Mikrotik for Your Network
MUM Laos 2017 - Choosing Mikrotik for Your NetworkFaisal Reza
 
Virtualisasi & Cloud Computing
Virtualisasi & Cloud ComputingVirtualisasi & Cloud Computing
Virtualisasi & Cloud ComputingFaisal Reza
 
Low Sost Secure VPN SSTP - MUM ID 2012
Low Sost Secure VPN SSTP - MUM ID 2012Low Sost Secure VPN SSTP - MUM ID 2012
Low Sost Secure VPN SSTP - MUM ID 2012Faisal Reza
 

More from Faisal Reza (8)

VXLAN and FRRouting
VXLAN and FRRoutingVXLAN and FRRouting
VXLAN and FRRouting
 
Gtech 2019 Living in Connected World
Gtech 2019 Living in Connected WorldGtech 2019 Living in Connected World
Gtech 2019 Living in Connected World
 
MikroTik Real World Implementation
MikroTik Real World ImplementationMikroTik Real World Implementation
MikroTik Real World Implementation
 
Workshop IPv6 APJII Jawa Barat
Workshop IPv6 APJII Jawa Barat Workshop IPv6 APJII Jawa Barat
Workshop IPv6 APJII Jawa Barat
 
Pengenalan Datacenter
Pengenalan DatacenterPengenalan Datacenter
Pengenalan Datacenter
 
MUM Laos 2017 - Choosing Mikrotik for Your Network
MUM Laos 2017 - Choosing Mikrotik for Your NetworkMUM Laos 2017 - Choosing Mikrotik for Your Network
MUM Laos 2017 - Choosing Mikrotik for Your Network
 
Virtualisasi & Cloud Computing
Virtualisasi & Cloud ComputingVirtualisasi & Cloud Computing
Virtualisasi & Cloud Computing
 
Low Sost Secure VPN SSTP - MUM ID 2012
Low Sost Secure VPN SSTP - MUM ID 2012Low Sost Secure VPN SSTP - MUM ID 2012
Low Sost Secure VPN SSTP - MUM ID 2012
 

Recently uploaded

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Recently uploaded (20)

"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

MikroTik Multicast Routing [www.imxpert.co]

  • 1. MikroTik IPv4 Multicast Routing for Video Streaming Application Training for Trainers – Venice 2014 Faisal Reza. 2014 | reza@astainformatics.com
  • 2. Update : Video Demo - multicast routing 1 router https://www.youtube.com/watch?v=nqUlUIB93Mg - video multicast routing 2 router over wireless https://www.youtube.com/watch?v=eYEocGYsGZ4 - VLC as multicast stream server https://www.youtube.com/watch?v=Z1lthcBSSrM - VLC as multicast player https://www.youtube.com/watch?v=s2uTs8NRQpY
  • 3. About me : Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion Introduction Faisal Reza. 2014 | reza@astainformatics.com
  • 4. Objectives • Introduction • Multicast Concept • Configuration Example • Lab Task • Conclusion Faisal Reza. 2014 | reza@astainformatics.com
  • 5. Company A is an ISP that want to expand their services to deliver Video Broadcast in existing MikroTik IP Networks. To conserve bandwidth that flow on the network, you as a consultant recommended them to choose Multicast as tehcnique to deliver the traffic. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion Situation Faisal Reza. 2014 | reza@astainformatics.com
  • 6. IP Multicast is a technology that allows one-to-many and many- to-many distribution of data on the Internet. Senders send their data to a multicast IP destination address, and receives express an interest in receiving traffic destined for such an address. The network then figures out how to get the data from senders to receivers. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion Why Multicast? Faisal Reza. 2014 | reza@astainformatics.com
  • 7. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion MULTICAST VS UNICAST Faisal Reza. 2014 | reza@astainformatics.com
  • 8. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion PROTOCOL INDEPENDENT MULTICAST Protocol-Independent Multicast (PIM) is a family of multicast routing protocols for Internet Protocol (IP) networks that provide one-to-many and many-to- many distribution of data over a LAN, WAN or the Internet. It is termed protocol- independent because PIM does not include its own topology discovery mechanism, but instead uses routing information supplied by other routing protocols. Faisal Reza. 2014 | reza@astainformatics.com
  • 9. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion There are four variants of PIM: • PIM Sparse Mode (PIM-SM) explicitly builds unidirectional shared trees rooted at a rendezvous point (RP) per group, and optionally creates shortest-path trees per source. PIM-SM generally scales fairly well for wide-area usage. • PIM Dense Mode (PIM-DM) uses dense multicast routing. It implicitly builds shortest-path trees by flooding multicast traffic domain wide, and then pruning back branches of the tree where no receivers are present. PIM-DM is straightforward to implement but generally has poor scaling properties. The first multicast routing protocol, DVMRP used dense-mode multicast routing. • Bidirectional PIM explicitly builds shared bi-directional trees. It never builds a shortest path tree, so may have longer end-to-end delays than PIM-SM, but scales well because it needs no source-specific state • PIM Source-Specific Multicast (PIM-SSM) builds trees that are rooted in just one source, offering a more secure and scalable model for a limited amount of applications (mostly broadcasting of content). Faisal Reza. 2014 | reza@astainformatics.com
  • 10. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion Multicast Addressing For IPv4, 224.0.0.0 to 239.255.255.255. Addresses within 232.0.0.0/8 are reserved for SSM usage. Addresses in 239.0.0.0/8 are ASM (Any-source Multicast) addresses defined for varying sizes of limited scope. Addresses within 224.0.0.0/24 are considered link-local and are forwarded between subnets. IANA addressing for multicast : • 224.0.0.1 - All systems on the subnet • 224.0.0.2 - All routers on the subnet • 224.0.0.9 - For RIPv2 • 224.0.0.14 - For VRRP • 224.0.1.1 - Network time protocol (NTP) • The internet assigned numbers authority (IANA) allocates ethernet addresses from 01:00:5E:00:00:00 through 01:00:5E:7F:FF:FF for multicasting, therefore leaving only 23 bits available for the multicast group ID. Faisal Reza. 2014 | reza@astainformatics.com
  • 11. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion IGMP Proxy Internet Group Management Protocol (IGMP) proxy can be used to implement multicast routing. It is forwarding IGMP frames and commonly is used when there is no need for more advanced protocol like PIM. IGMP proxy features: • The simplest way how to do multicast routing; • Can be used in topologies where PIM-SM is not suitable for some reason; • Takes slightly less resources than PIM-SM; • Ease of configuration. • On the other hand, IGMP proxy is not well suited for complicated multicast routing setups. Compared to PIM based solutions, IGMP proxy does not support more than one upstream interface and routing loops are not detected or avoided. • MikroTik RouterOS IGMP proxy supports IGMP version 2 (RFC 2236). Faisal Reza. 2014 | reza@astainformatics.com
  • 12. #1: Enable Multicast on RouterOS Multicast package is not installed by default Step to install multicast : 1. Go to www.mikrotik.com/download 2. Choose your RouterOS architecture 3. Download the All Packages (zip file) 4. Extract it and copy multicast.npk to RouterOS File Use only multicast packages with same version with your existing routeros Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 1| Conclusion Faisal Reza. 2014 | reza@astainformatics.com
  • 13. Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 1 | Conclusion #2 : Copy multicast package to File List Use multicast package with the same version check using /system resources. Then reboot your router to finished packages installation Faisal Reza. 2014 | reza@astainformatics.com
  • 14. Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 1| Conclusion #3: Multicast Installed IGMP Proxy and PIM wil appear in Routing Menu Faisal Reza. 2014 | reza@astainformatics.com
  • 15. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion Multicast single router R1 : /routing pim interface add interface=ether3 add interface=ether4 STATIC ROUTE on Multicast Sender : >route add 224.3.2.1 mask 255.255.255.255 192.168.3.254 >route add 239.3.2.1 mask 255.255.255.255 192.168.3.254 VLC Open Network Stream : rtp://@224.3.2.1:5005 rtp://@239.3.2.1:5004 Faisal Reza. 2014 | reza@astainformatics.com R1 /ip address add address=192.168.3.254 interface=ether3 /ip address add address=192.168.4.254 interface=ether4
  • 16. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion [admin@R1-T4T-FREZA] > routing pim interface print Flags: X - disabled, I - inactive, D - dynamic, R - designated-router , v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3 # INTERFACE PROTOCOLS 0 Rv2 ether3 pim igmp 1 Rv2 ether4 pim igmp 2 DR register pim [admin@R1-T4T-FREZA] > routing pim igmp-group print Flags: v1 - IGMPv1, v2 - IGMPv2, v3 - IGMPv3, I - include, E - exclude, F - forward, D - don't forward INTERFACE GROUP SOURCE TIMEOUT v2E ether3 224.0.0.2 0.0.0.0 2m30s v2E ether3 224.0.0.13 0.0.0.0 2m31s v2E ether3 224.0.0.22 0.0.0.0 2m30s v2E ether3 239.255.255.250 0.0.0.0 2m24s v2E ether4 224.0.0.2 0.0.0.0 2m36s v2E ether4 224.0.0.13 0.0.0.0 2m36s v2E ether4 224.0.0.22 0.0.0.0 2m35s v2E ether4 224.3.2.1 0.0.0.0 2m33s v2E ether4 239.3.2.1 0.0.0.0 2m30s v2E ether4 239.255.255.250 0.0.0.0 2m37s PIM Status Faisal Reza. 2014 | reza@astainformatics.com
  • 17. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion PIM Status Faisal Reza. 2014 | reza@astainformatics.com
  • 18. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion Rendevous Point Rendezvous point (RP) is a distribution point for multicast group, source provides its data to it, and if there are any subscribers, then RP will provide data to client. Note, that RP will always receive data stream if that exists. MRIB routes are used for reverse path forwarding check. In a way, they perform opposite function that FIB (Forwarding Information Base) routes: FIB is used to find the right By default, MRIB is populated by FIB routes. Use "multicast" routing filter chain to control that or set specific parameters for imported FIB routes (e.g. you can change the distance of the route). In addition, you can specify static MRIB routes. This is useful only if you are using multihoming and multicast packet flow will be different from unicast packet flow. Active MRIB entries that are imported from FIB are shown with "dynamic" flag. MRIB Faisal Reza. 2014 | reza@astainformatics.com
  • 19. Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion Multicast Routing across Router (Wifi) R1 /routing pim interface add /routing pim rp add address=192.168.6.254 STATIC route on Multicast sender : route add 192.168.6.0/24 mask 255.255.255.0 192.168.1.254 route add 192.168.2.0/24 mask 255.255.255.0 192.168.1.254 route add 224.3.1.1 mask 255.255.255.255 192.168.1.254 route add 239.3.2.1 mask 255.255.255.255 192.168.1.254 R2 /routing pim interfaceadd /routing pim rp add address=192.168.6.254 VLC Stream Config : :sout=#rtp{dst=224.3.2.1,port=5005,mux=ts} :sout-all :sout-keep :sout=#rtp{dst=239.3.2.1,port=5004,mux=ts} :sout-all :sout-keep VLC Open Network Stream : rtp://@224.3.2.1:5005 rtp://@239.3.2.1:5004 Faisal Reza. 2014 | reza@astainformatics.com
  • 20. Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion Wifi AP Configuration /interface wireless security-profiles set [ find default=yes ] supplicant-identity=MikroTik add authentication-types=wpa-psk,wpa2-psk eap-methods="" man allowed mode=dynamic-keys name=profile1 supplicant-ident wpa-pre-shared-key=mikrotik1234 wpa2-pre-shared-key=mikrotik /interface wireless set [ find default-name=wlan1 ] band=2ghz-b/g/n comment="RENDEVOUS POINT” country=indonesia disabled=no frequency=2452 frequency-m regulatory-domain ht-rxchains=0 ht-txchains=0 l2mtu=2290 multicast-helper=full name=wlan1-rp radio-name=951G-FREZ security-profile=profile1 ssid=FREZA-T4T wireless-protoc wmm-support=enabled /interface wireless manual-tx-power-table set wlan1-rp comment="RENDEVOUS POINT" /interface wireless nstreme set wlan1-rp comment="RENDEVOUS POINT" IMPORTANT! enable multicast helper = full Faisal Reza. 2014 | reza@astainformatics.com
  • 21. Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion R1 PIM STATUS Faisal Reza. 2014 | reza@astainformatics.com
  • 22. Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion R1 PIM STATUS (2) Faisal Reza. 2014 | reza@astainformatics.com
  • 23. Introduction | Multicast Concept | Configuration Example | Lab Task : Lab 2 | Conclusion R1 PIM STATUS (3) Faisal Reza. 2014 | reza@astainformatics.com
  • 25. Introduction | Multicast Concept | Configuration Example | Lab Task | Conclusion Thank You Faisal Reza. 2014. MikroTik Training for Trainers, Venice – Italy. Faisal Reza. 2014 | reza@astainformatics.com