SlideShare une entreprise Scribd logo
1  sur  46
SOLVING QOS
MULTICAST ROUTING
PROBLEM USING ACO
ALGORITHM
Presented by : Abdulaziz Tagawy
In IP multicasting messages are sent from the
source node to all destination nodes. In
order to meet QoS requirements an
optimizing algorithm is needed. We propose
an Ant Colony Optimization algorithm to do
so. Ants release a chemical called
pheromone while searching for food. They
are capable of finding shortest path to their
target. This can give an effective optimal
solution to our Multicast Routing Problem.
Abstract
INTRODUCTION
INTRODUCTION
 sending a packet from a source to the
members of a multicast group is referred to as
multicasting.
 Unlike IP multicasting, IP unicasting sends a
separate datagram to each recipient host.
 IP broadcasting sends a single datagram to
all hosts on a single network segment (also
known as subnet), even to those not interested
in receiving it.
DEFINITION :
INTRODUCTION
DEFINITION :
INTRODUCTION
 Multicasting has a number of practical applications. For
example : -
1) Multimedia: A number of users “tune in” to a video or
audio transmission from a multimedia source station .
2) Teleconferencing: A group of workstations form a
multicast group such that a transmission from any member
is received by all other group members.
3) Database: All copies of a replicated file or database are
updated at the same time.
4) Distributed computation: Intermediate results are sent to
all participants.
5) Real-time workgroup: Files, graphics, and messages are
exchanged among active group members in real time.
`
DEFINITION :
INTRODUCTION
 IPv4 and IPv6 each assign a block of
addresses for this purpose.
 In IPv4, Class D addresses are reserved for
Multicasting . These are 32-bit addresses with
1110 as their high-order 4 bits, followed by a
28-bit group identifier.
DEFINITION : Function
Requirements
INTRODUCTION
 In IPv6, a 128-bit multicast address consists of
an 8-bit prefix of all ones, a 4-bit flags field, a
4-bit scope field, and a 112-bit group identifier .
DEFINITION : Function
Requirements
INTRODUCTION
 A router must translate between an IP multicast
address and a network multicast address in order
to deliver a multicast IP datagram on the
destination network .
 in IEEE 802 networks, a MAC-level address is 48
bits long; if the highest-order bit is 1, then it is a
multicast address. Thus, for multicast delivery, a
router attached to an IEEE 802 network must
translate a 32-bit IPv4 or a 128-bit IPv6 multicast
address into a 48-bit IEEE 802 MAC-level
DEFINITION : Function
Requirements
INTRODUCTION
DEFINITION : Function
Requirements
INTRODUCTION
DEFINITION : Function
Requirements
 Each router must determine multicast routing
paths on the basis of both source and
destination addresses.
INTRODUCTION
 A network must be enabled for multicasting,
as follows:
1) Hosts must be configured to send and
receive multicast data
2) Routers must support the Internet Group
Membership Protocol (IGMP), multicast
forwarding, and multicast routing protocols
DEFINITION :
INTRODUCTION
 Internet Group Management Protocol (IGMP)
is used by hosts and routers to exchange
multicast group membership information over a
LAN .
 IGMP supports two principal operations:
1) Hosts send messages to routers to subscribe
to and unsubscribe from a multicast group
defined by a given multicast address.
2) Routers periodically check which multicast
groups are of interest to which hosts.
IGMP :
INTRODUCTION
 All IGMP messages are transmitted in IP
datagrams. The current version (IGMPv3)
defines two message types: Membership
Query and Membership Report.
IGMP : Message Format
INTRODUCTION
 Membership Query message is sent by a multicast router.
There are three subtypes :-
1) General query, used to learn which groups have
members on an attached network.
2) Group-specific query, used to learn if a particular
group has any members on an attached network.
3) Group-and-source-specific query, used to learn if any
attached device desires reception of packets sent to a
specified multicast address, from any of a specified list
of sources.
 Membership Report message is sent by a host as a
response to a query message.
IGMP : Message Format
INTRODUCTION
 To support multicasting in an internetwork, the
hosts and routers must be multicast-enabled.
 In an IP multicast-enabled intranet, any host
can send IP multicast datagrams, and any
host can receive IP multicast datagrams,
including sending and receiving across the
Internet.
WORKING :
INTRODUCTION
 The source host sends multicast datagrams
to a single Class D IP address, known as the
group address.
 Any host that is interested in receiving the
datagrams contacts a local router to join the
multicast group and then receives all
subsequent datagrams sent to that address.
WORKING :
INTRODUCTION
 Routers use a multicast routing protocol to
determine which subnets include at least one
interested multicast group member and to
forward multicast datagrams only to those
subnets that have group members or a router
that has downstream group members.
WORKING :
INTRODUCTION
ARCHITECTURE :
INTRODUCTION
ARCHITECTURE :
Component Description
Host (source or receiver)
A host is any client or server on the
network. A multicast-enabled host is
configured to send and receive (or
only send) multicast data.
Router A multicast router is capable of
handling host requests to join or
leave a group and of forwarding
multicast data to subnets that
contain group members.
INTRODUCTION
ARCHITECTURE :
Component Description
Multicast address A Class D IP address used for
sending IP multicast data. An IP
multicast source sends the data to a
single multicast address, as
described later in this section. A
specific IP multicast address is also
known as group address.
Multicast group A multicast group is the set of hosts
that listen for a specific IP multicast
address. A multicast group is also
known as a host group.
MBone The Internet multicast backbone, or
the portion of the Internet that
RELATED WORK
RELATED WORK
 Anycast is a communication technique
between a single sender and nearest of
several receivers of group. It exists in the
contradistinction to multicast, communication
between a single sender and multiple
receivers, and unicast, communication
between a single sender and a single
receiver in a network.
ANYCAST :
RELATED WORK
 An anycast packet is delivered to one of
these nodes with the same anycast address.
Like a multicast address, a single anycast
address is assigned to multiple nodes (called
anycast membership), but unlike
multicasting, only one member of the
assigned anycast address communicates
with the originator at a time.
ANYCAST :
RELATED WORK
 was unknown until IPv6 made it a standard
connection type. Anycast is not standardized
in IPv4 but can be emulated.
ANYCAST :
RELATED WORK
 It was unknown until IPv6 made it a standard connection
type. Anycast is not standardized in IPv4 but can be
emulated.
 The basic idea of Anycast is very simple:
 multiple servers, which share the same IP address, host
the same service.
 The routing infrastructure sends IP packets to the
nearest server (according to the metric of the routing
protocol used).
 The major benefits of employing Anycast in IPv4 are
improved latency times, server load balancing, and
improved security.
ANYCAST :
RELATED WORK
 Anycast packets can be dropped like any other kind of
traffic.
 Packets are not specifically marked or tagged.
 Preferably only anycast server receives a packet, but there
is no guarantee.
 It is possible that the sequential packets from a client to
anycast address are delivered to different servers.
 If servers are not synchronized incorrect data maybe sent
back.
 The server that receives a specific packet is solely
determined by the unicast routing protocol used in the
domain.
ANYCAST :
RELATED WORK
 Clients, servers, and routers require no
special software/firmware.
 The only special configuration is needed on
servers and routing infrastructure.
ANYCAST :
RELATED WORK
 Unicast is the term used to describe
communication where one piece of
information is sent from one point to another
having just one sender and one receiver.
 It defined as a point-to-point flow of packets
between a source (client) and destination
host (server).
UNICAST :
RELATED WORK
 Certain network applications which are mass-
distributed are too costly to be conducted
with unicast transmission since each network
connection consumes computing resources
on the sending host and requires its own
separate network bandwidth for transmission.
 Such applications include streaming media of
many forms. Internet radio stations using
unicast connections may have high
bandwidth costs.
UNICAST :
RELATED WORK
 Broadcasting refers to a method of
transferring a message to all recipients
simultaneously.
 can be performed in following ways:
1) As a high level operation in a program, for
example broadcasting Message Passing
Interface .
2) It may be a low level networking
operation, for example broadcasting on
BROADCAST :
RELATED WORK
 Not all network technologies support
broadcast addressing. For example, neither
X.25 nor frame relay have broadcast
capability, nor is there any form of Internet-
wide broadcast.
 Broadcasting is largely confined to local are
network (LAN) technologies.
 most notably Ethernet and token ring, where
the performance impact of broadcasting is
not as large as it would be in a wide area
BROADCAST :
ANT COLONY OPTIMIZATION
ALGORITHM
ANT COLONY OPTIMIZATION
ALGORITHM
 Swarm intelligence is a relatively new
approach to problem solving that takes
inspiration from social behaviors to solve
optimization problem.
 Ant colony optimization is a heuristic algorithm
which has been proven a successful technique
and applied to a number of combinational
optimization problem and taken as one of the
high performance computing methods.
ANT Colony Optimization :
ANT COLONY OPTIMIZATION
ALGORITHM
 It has wide range of applications with very
good search capabilities for optimization
problems but it still remains a bottleneck due to
high cost and time conversion.
 ACO inspired by the forging behavior of real
ants to find food from their nest.
ANT Colony Optimization :
ANT COLONY OPTIMIZATION
ALGORITHM
 The algorithm is basically used to find shortest
path from nest to food source and the path is
then used by other ants this is all due to
chemical name pheromone deposited by ants
on ground while searching for food .
ANT Colony Optimization :
ANT COLONY OPTIMIZATION
ALGORITHM
ANT Colony Optimization :
ANT COLONY OPTIMIZATION
ALGORITHM
ANT Colony Optimization :
 Ant Colony Optimization technique has
emerged recently novel meta-heuristic for a
hard combinational optimization problems.
 It is designed to stimulate the ability of ant
colonies to determine the shortest paths to
food.
 Although individual ant posses few capabilities,
their operation as a colony is capable of
complex behavior.
ANT COLONY OPTIMIZATION
ALGORITHM
ANT Colony Optimization :
 Real ants can indirectly can communicate
though pheromone information without visual
cues and capable of finding shortest path
between food and their nests.
 The ants follow pheromone on trail while
walking and the other ants follow the trail with
some probability dependent on the density of
pheromone deposited by the ants.
ANT COLONY OPTIMIZATION
ALGORITHM
ANT Colony Optimization :
 more the pheromone deposited the more ants
will follow that trail.
 Through this mechanism ants ultimately find
the shortest path.
ANT COLONY OPTIMIZATION
ALGORITHM
ANT Colony Optimization :
ANT COLONY OPTIMIZATION
ALGORITHM
ANT Colony Optimization :
 A search algorithm with such concept is
called Ant Colony Optimization Algorithm.
ACO inspired by the forging behavior of real
ants to find food from their nest.
ANT COLONY OPTIMIZATION
ALGORITHM
ALGORITHM :
 Assuming S is source code and U= {U1, U2……...Um} donated a set of
destination nodes.
 1. Initialize network nodes.
 2. Set LC=0 where LC is loop count.
 3. Let 𝐿 𝑘 be the shortest path for the destination node Ui.
 4. The initial value of 𝜏 𝑘=0 as no ant has traversed any path so ant can
chose any path as probability of any path=0.
 5. Ant chooses the path according to the probability of path.
 6. Compute the pheromone update of the path and each edge selected by
the ant using
 𝜏 𝑘 =
𝑅
𝐿 𝑘
 Where
 R is any constant value.
 Lk is total path traversed by the ant.
ANT COLONY OPTIMIZATION
ALGORITHM
ALGORITHM :
 Update the local pheromone 𝜏 𝑘
 𝜏 𝑘= (1-ρ) 𝜏 𝑘
+ 𝜏 𝑘
 Where ρ = (0 to 1) pheromone decay .
ANT COLONY OPTIMIZATION
ALGORITHM
ALGORITHM :
 Compute the probability 𝑃𝑘 of each edge.
𝑃𝑘 =
[𝜏] 𝛼
∗ [𝑛]
𝛽
𝑗∈𝑛[𝜏] 𝛼
∗ [𝑛]
𝛽
𝑛 𝑘= 1
𝑒 𝑘
Where k ϵ N
α,β are meta values.
𝑛 𝑘 heuristic value.
𝑒 𝑘 edge value.
9. Set LC=LC+1.
ANT COLONY OPTIMIZATION
ALGORITHM
ALGORITHM :
 Repeat from step 5 update the
value of 𝜏 𝑘 and probability of
paths.
 11. Collect best paths to get the
multicast tree.

Contenu connexe

Tendances (20)

Ipmulticasting
IpmulticastingIpmulticasting
Ipmulticasting
 
Multicasting and multicast routing protocols
Multicasting and multicast routing protocolsMulticasting and multicast routing protocols
Multicasting and multicast routing protocols
 
Internet standard routing protocols
Internet standard routing protocolsInternet standard routing protocols
Internet standard routing protocols
 
IPv6 - Neighbour Discovery
IPv6 - Neighbour DiscoveryIPv6 - Neighbour Discovery
IPv6 - Neighbour Discovery
 
L2 tp
L2 tpL2 tp
L2 tp
 
Ipv6up
Ipv6upIpv6up
Ipv6up
 
Doc6 mpls vpn-ppt
Doc6 mpls vpn-pptDoc6 mpls vpn-ppt
Doc6 mpls vpn-ppt
 
IPV6
IPV6 IPV6
IPV6
 
IPv6 The Big Move
IPv6 The Big MoveIPv6 The Big Move
IPv6 The Big Move
 
MPLS Presentation
MPLS PresentationMPLS Presentation
MPLS Presentation
 
internet protocols
internet protocolsinternet protocols
internet protocols
 
Introduction to IPv6-UoN
Introduction to IPv6-UoNIntroduction to IPv6-UoN
Introduction to IPv6-UoN
 
Introduction to IPv6
Introduction to IPv6Introduction to IPv6
Introduction to IPv6
 
Npppd: easy vpn with OpenBSD
Npppd: easy vpn with OpenBSDNpppd: easy vpn with OpenBSD
Npppd: easy vpn with OpenBSD
 
IPv6
IPv6IPv6
IPv6
 
IT8602 - Mobile Communication Unit IV
IT8602 - Mobile Communication   Unit IV IT8602 - Mobile Communication   Unit IV
IT8602 - Mobile Communication Unit IV
 
i pv6
i pv6i pv6
i pv6
 
How Secure are IPsec and SSL VPN encryptions
How Secure are IPsec and SSL VPN encryptionsHow Secure are IPsec and SSL VPN encryptions
How Secure are IPsec and SSL VPN encryptions
 
IPv6 .pdf
IPv6 .pdfIPv6 .pdf
IPv6 .pdf
 
Mpls
MplsMpls
Mpls
 

En vedette

QoS AND ROUTING IN REGULAR WIRELESS MESH TOPOLOGY
QoS AND ROUTING IN REGULAR WIRELESS MESH TOPOLOGYQoS AND ROUTING IN REGULAR WIRELESS MESH TOPOLOGY
QoS AND ROUTING IN REGULAR WIRELESS MESH TOPOLOGYSyed Nizamudeen
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimizationMeenakshi Devi
 
Mesh topology
Mesh topologyMesh topology
Mesh topologycoolsdq
 
Network topologies
Network topologiesNetwork topologies
Network topologiesOnline
 
Network topology
Network topologyNetwork topology
Network topologylekshmik
 
Network topologies
Network topologiesNetwork topologies
Network topologiesNorah Saad
 
Topology presentation
Topology  presentationTopology  presentation
Topology presentationJobaida Nahar
 

En vedette (14)

QoS AND ROUTING IN REGULAR WIRELESS MESH TOPOLOGY
QoS AND ROUTING IN REGULAR WIRELESS MESH TOPOLOGYQoS AND ROUTING IN REGULAR WIRELESS MESH TOPOLOGY
QoS AND ROUTING IN REGULAR WIRELESS MESH TOPOLOGY
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Modified Genetic Algorithm for Solving n-Queens Problem
Modified Genetic Algorithm for Solving n-Queens ProblemModified Genetic Algorithm for Solving n-Queens Problem
Modified Genetic Algorithm for Solving n-Queens Problem
 
802.15.5 mesh topology
802.15.5  mesh topology802.15.5  mesh topology
802.15.5 mesh topology
 
Ant colony optimization
Ant colony optimizationAnt colony optimization
Ant colony optimization
 
Mesh topology
Mesh topologyMesh topology
Mesh topology
 
Network topologies
Network topologiesNetwork topologies
Network topologies
 
Network Topology
Network TopologyNetwork Topology
Network Topology
 
Network topologies
Network topologiesNetwork topologies
Network topologies
 
Wifi technology
Wifi technologyWifi technology
Wifi technology
 
Network topology
Network topologyNetwork topology
Network topology
 
Network topologies
Network topologiesNetwork topologies
Network topologies
 
Topology presentation
Topology  presentationTopology  presentation
Topology presentation
 
Network topology.ppt
Network topology.pptNetwork topology.ppt
Network topology.ppt
 

Similaire à Solving QoS multicast routing problem using aco algorithm

Session 2 Tp 2
Session 2 Tp 2Session 2 Tp 2
Session 2 Tp 2githe26200
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)Jeff Green
 
Dotnet network prog_chap07
Dotnet network prog_chap07Dotnet network prog_chap07
Dotnet network prog_chap07Truong NGUYEN
 
MC0087 Internal Assignment (SMU)
MC0087 Internal Assignment (SMU)MC0087 Internal Assignment (SMU)
MC0087 Internal Assignment (SMU)Krishan Pareek
 
AusNOG 2014 - Network Virtualisation: The Killer App for IPv6?
AusNOG 2014 - Network Virtualisation: The Killer App for IPv6?AusNOG 2014 - Network Virtualisation: The Killer App for IPv6?
AusNOG 2014 - Network Virtualisation: The Killer App for IPv6?Mark Smith
 
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
 
IPv6 - The Next next generation protocol
IPv6 - The Next next generation protocolIPv6 - The Next next generation protocol
IPv6 - The Next next generation protocolMohit Sharma
 
Some important networking questions
Some important networking questionsSome important networking questions
Some important networking questionsSrikanth
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slidesadam_merritt
 
Routing of netwok protocls and how .pptx
Routing of netwok protocls and how .pptxRouting of netwok protocls and how .pptx
Routing of netwok protocls and how .pptxsayidkhalif
 
Understanding i pv6 2
Understanding i pv6 2Understanding i pv6 2
Understanding i pv6 2srmanjuskp
 
Multicast Basics
Multicast BasicsMulticast Basics
Multicast BasicsVideoguy
 
MulticastingIt is the communication between a single sender and m.pdf
MulticastingIt is the communication between a single sender and m.pdfMulticastingIt is the communication between a single sender and m.pdf
MulticastingIt is the communication between a single sender and m.pdfsinghanubhav1234
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addressesAmandeep Kaur
 
Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002suvobgd
 
UNIT-IV.pptx
UNIT-IV.pptxUNIT-IV.pptx
UNIT-IV.pptxpbrinda
 
SIMPLE INDUSTRIAL PRESESNTATION ON CCNA..
SIMPLE INDUSTRIAL PRESESNTATION ON CCNA..SIMPLE INDUSTRIAL PRESESNTATION ON CCNA..
SIMPLE INDUSTRIAL PRESESNTATION ON CCNA..Pooja Rawat
 

Similaire à Solving QoS multicast routing problem using aco algorithm (20)

Session 2 Tp 2
Session 2 Tp 2Session 2 Tp 2
Session 2 Tp 2
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
 
Dotnet network prog_chap07
Dotnet network prog_chap07Dotnet network prog_chap07
Dotnet network prog_chap07
 
MC0087 Internal Assignment (SMU)
MC0087 Internal Assignment (SMU)MC0087 Internal Assignment (SMU)
MC0087 Internal Assignment (SMU)
 
AusNOG 2014 - Network Virtualisation: The Killer App for IPv6?
AusNOG 2014 - Network Virtualisation: The Killer App for IPv6?AusNOG 2014 - Network Virtualisation: The Killer App for IPv6?
AusNOG 2014 - Network Virtualisation: The Killer App for IPv6?
 
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...
 
IPv6 - The Next next generation protocol
IPv6 - The Next next generation protocolIPv6 - The Next next generation protocol
IPv6 - The Next next generation protocol
 
Some important networking questions
Some important networking questionsSome important networking questions
Some important networking questions
 
Training Day Slides
Training Day SlidesTraining Day Slides
Training Day Slides
 
Routing of netwok protocls and how .pptx
Routing of netwok protocls and how .pptxRouting of netwok protocls and how .pptx
Routing of netwok protocls and how .pptx
 
Understanding i pv6 2
Understanding i pv6 2Understanding i pv6 2
Understanding i pv6 2
 
Multicast Basics
Multicast BasicsMulticast Basics
Multicast Basics
 
Internetworking
InternetworkingInternetworking
Internetworking
 
MulticastingIt is the communication between a single sender and m.pdf
MulticastingIt is the communication between a single sender and m.pdfMulticastingIt is the communication between a single sender and m.pdf
MulticastingIt is the communication between a single sender and m.pdf
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addresses
 
Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002Internet Protocol Version 6 By Suvo 2002
Internet Protocol Version 6 By Suvo 2002
 
CCNP Route
CCNP Route CCNP Route
CCNP Route
 
UNIT-IV.pptx
UNIT-IV.pptxUNIT-IV.pptx
UNIT-IV.pptx
 
SIMPLE INDUSTRIAL PRESESNTATION ON CCNA..
SIMPLE INDUSTRIAL PRESESNTATION ON CCNA..SIMPLE INDUSTRIAL PRESESNTATION ON CCNA..
SIMPLE INDUSTRIAL PRESESNTATION ON CCNA..
 

Plus de Abdullaziz Tagawy

Service performance and analysis in cloud computing extened 2
Service performance and analysis in cloud computing   extened 2Service performance and analysis in cloud computing   extened 2
Service performance and analysis in cloud computing extened 2Abdullaziz Tagawy
 
Solar Cells versus Photodiode
Solar Cells versus PhotodiodeSolar Cells versus Photodiode
Solar Cells versus PhotodiodeAbdullaziz Tagawy
 
Managing enterprise networks with cisco prime infrastructure_ 1 of 2
Managing enterprise networks with cisco prime infrastructure_ 1 of 2Managing enterprise networks with cisco prime infrastructure_ 1 of 2
Managing enterprise networks with cisco prime infrastructure_ 1 of 2Abdullaziz Tagawy
 
EMP_Assessment Report ABDELAZEZ TAGAWY
EMP_Assessment Report ABDELAZEZ TAGAWYEMP_Assessment Report ABDELAZEZ TAGAWY
EMP_Assessment Report ABDELAZEZ TAGAWYAbdullaziz Tagawy
 
OFDM Orthogonal Frequency Division Multiplexing
OFDM Orthogonal Frequency Division MultiplexingOFDM Orthogonal Frequency Division Multiplexing
OFDM Orthogonal Frequency Division MultiplexingAbdullaziz Tagawy
 
Solving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithmSolving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithmAbdullaziz Tagawy
 
SNAPDRAGON SoC Family and ARM Architecture
SNAPDRAGON SoC Family and ARM Architecture SNAPDRAGON SoC Family and ARM Architecture
SNAPDRAGON SoC Family and ARM Architecture Abdullaziz Tagawy
 
Error Detection and Correction - Data link Layer
Error Detection and Correction - Data link LayerError Detection and Correction - Data link Layer
Error Detection and Correction - Data link LayerAbdullaziz Tagawy
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link LayerAbdullaziz Tagawy
 

Plus de Abdullaziz Tagawy (13)

Service performance and analysis in cloud computing extened 2
Service performance and analysis in cloud computing   extened 2Service performance and analysis in cloud computing   extened 2
Service performance and analysis in cloud computing extened 2
 
Solar Cells versus Photodiode
Solar Cells versus PhotodiodeSolar Cells versus Photodiode
Solar Cells versus Photodiode
 
Managing enterprise networks with cisco prime infrastructure_ 1 of 2
Managing enterprise networks with cisco prime infrastructure_ 1 of 2Managing enterprise networks with cisco prime infrastructure_ 1 of 2
Managing enterprise networks with cisco prime infrastructure_ 1 of 2
 
EMP_Assessment Report ABDELAZEZ TAGAWY
EMP_Assessment Report ABDELAZEZ TAGAWYEMP_Assessment Report ABDELAZEZ TAGAWY
EMP_Assessment Report ABDELAZEZ TAGAWY
 
IPSec and VPN
IPSec and VPNIPSec and VPN
IPSec and VPN
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
OFDM Orthogonal Frequency Division Multiplexing
OFDM Orthogonal Frequency Division MultiplexingOFDM Orthogonal Frequency Division Multiplexing
OFDM Orthogonal Frequency Division Multiplexing
 
Solving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithmSolving QoS multicast routing problem using ACO algorithm
Solving QoS multicast routing problem using ACO algorithm
 
SNAPDRAGON SoC Family and ARM Architecture
SNAPDRAGON SoC Family and ARM Architecture SNAPDRAGON SoC Family and ARM Architecture
SNAPDRAGON SoC Family and ARM Architecture
 
Error Detection and Correction - Data link Layer
Error Detection and Correction - Data link LayerError Detection and Correction - Data link Layer
Error Detection and Correction - Data link Layer
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
 
Comp net 2
Comp net 2Comp net 2
Comp net 2
 
Comp net 1
Comp net 1Comp net 1
Comp net 1
 

Dernier

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Dernier (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 

Solving QoS multicast routing problem using aco algorithm

  • 1. SOLVING QOS MULTICAST ROUTING PROBLEM USING ACO ALGORITHM Presented by : Abdulaziz Tagawy
  • 2. In IP multicasting messages are sent from the source node to all destination nodes. In order to meet QoS requirements an optimizing algorithm is needed. We propose an Ant Colony Optimization algorithm to do so. Ants release a chemical called pheromone while searching for food. They are capable of finding shortest path to their target. This can give an effective optimal solution to our Multicast Routing Problem. Abstract
  • 4. INTRODUCTION  sending a packet from a source to the members of a multicast group is referred to as multicasting.  Unlike IP multicasting, IP unicasting sends a separate datagram to each recipient host.  IP broadcasting sends a single datagram to all hosts on a single network segment (also known as subnet), even to those not interested in receiving it. DEFINITION :
  • 6. INTRODUCTION  Multicasting has a number of practical applications. For example : - 1) Multimedia: A number of users “tune in” to a video or audio transmission from a multimedia source station . 2) Teleconferencing: A group of workstations form a multicast group such that a transmission from any member is received by all other group members. 3) Database: All copies of a replicated file or database are updated at the same time. 4) Distributed computation: Intermediate results are sent to all participants. 5) Real-time workgroup: Files, graphics, and messages are exchanged among active group members in real time. ` DEFINITION :
  • 7. INTRODUCTION  IPv4 and IPv6 each assign a block of addresses for this purpose.  In IPv4, Class D addresses are reserved for Multicasting . These are 32-bit addresses with 1110 as their high-order 4 bits, followed by a 28-bit group identifier. DEFINITION : Function Requirements
  • 8. INTRODUCTION  In IPv6, a 128-bit multicast address consists of an 8-bit prefix of all ones, a 4-bit flags field, a 4-bit scope field, and a 112-bit group identifier . DEFINITION : Function Requirements
  • 9. INTRODUCTION  A router must translate between an IP multicast address and a network multicast address in order to deliver a multicast IP datagram on the destination network .  in IEEE 802 networks, a MAC-level address is 48 bits long; if the highest-order bit is 1, then it is a multicast address. Thus, for multicast delivery, a router attached to an IEEE 802 network must translate a 32-bit IPv4 or a 128-bit IPv6 multicast address into a 48-bit IEEE 802 MAC-level DEFINITION : Function Requirements
  • 11. INTRODUCTION DEFINITION : Function Requirements  Each router must determine multicast routing paths on the basis of both source and destination addresses.
  • 12. INTRODUCTION  A network must be enabled for multicasting, as follows: 1) Hosts must be configured to send and receive multicast data 2) Routers must support the Internet Group Membership Protocol (IGMP), multicast forwarding, and multicast routing protocols DEFINITION :
  • 13. INTRODUCTION  Internet Group Management Protocol (IGMP) is used by hosts and routers to exchange multicast group membership information over a LAN .  IGMP supports two principal operations: 1) Hosts send messages to routers to subscribe to and unsubscribe from a multicast group defined by a given multicast address. 2) Routers periodically check which multicast groups are of interest to which hosts. IGMP :
  • 14. INTRODUCTION  All IGMP messages are transmitted in IP datagrams. The current version (IGMPv3) defines two message types: Membership Query and Membership Report. IGMP : Message Format
  • 15. INTRODUCTION  Membership Query message is sent by a multicast router. There are three subtypes :- 1) General query, used to learn which groups have members on an attached network. 2) Group-specific query, used to learn if a particular group has any members on an attached network. 3) Group-and-source-specific query, used to learn if any attached device desires reception of packets sent to a specified multicast address, from any of a specified list of sources.  Membership Report message is sent by a host as a response to a query message. IGMP : Message Format
  • 16. INTRODUCTION  To support multicasting in an internetwork, the hosts and routers must be multicast-enabled.  In an IP multicast-enabled intranet, any host can send IP multicast datagrams, and any host can receive IP multicast datagrams, including sending and receiving across the Internet. WORKING :
  • 17. INTRODUCTION  The source host sends multicast datagrams to a single Class D IP address, known as the group address.  Any host that is interested in receiving the datagrams contacts a local router to join the multicast group and then receives all subsequent datagrams sent to that address. WORKING :
  • 18. INTRODUCTION  Routers use a multicast routing protocol to determine which subnets include at least one interested multicast group member and to forward multicast datagrams only to those subnets that have group members or a router that has downstream group members. WORKING :
  • 20. INTRODUCTION ARCHITECTURE : Component Description Host (source or receiver) A host is any client or server on the network. A multicast-enabled host is configured to send and receive (or only send) multicast data. Router A multicast router is capable of handling host requests to join or leave a group and of forwarding multicast data to subnets that contain group members.
  • 21. INTRODUCTION ARCHITECTURE : Component Description Multicast address A Class D IP address used for sending IP multicast data. An IP multicast source sends the data to a single multicast address, as described later in this section. A specific IP multicast address is also known as group address. Multicast group A multicast group is the set of hosts that listen for a specific IP multicast address. A multicast group is also known as a host group. MBone The Internet multicast backbone, or the portion of the Internet that
  • 23. RELATED WORK  Anycast is a communication technique between a single sender and nearest of several receivers of group. It exists in the contradistinction to multicast, communication between a single sender and multiple receivers, and unicast, communication between a single sender and a single receiver in a network. ANYCAST :
  • 24. RELATED WORK  An anycast packet is delivered to one of these nodes with the same anycast address. Like a multicast address, a single anycast address is assigned to multiple nodes (called anycast membership), but unlike multicasting, only one member of the assigned anycast address communicates with the originator at a time. ANYCAST :
  • 25. RELATED WORK  was unknown until IPv6 made it a standard connection type. Anycast is not standardized in IPv4 but can be emulated. ANYCAST :
  • 26. RELATED WORK  It was unknown until IPv6 made it a standard connection type. Anycast is not standardized in IPv4 but can be emulated.  The basic idea of Anycast is very simple:  multiple servers, which share the same IP address, host the same service.  The routing infrastructure sends IP packets to the nearest server (according to the metric of the routing protocol used).  The major benefits of employing Anycast in IPv4 are improved latency times, server load balancing, and improved security. ANYCAST :
  • 27. RELATED WORK  Anycast packets can be dropped like any other kind of traffic.  Packets are not specifically marked or tagged.  Preferably only anycast server receives a packet, but there is no guarantee.  It is possible that the sequential packets from a client to anycast address are delivered to different servers.  If servers are not synchronized incorrect data maybe sent back.  The server that receives a specific packet is solely determined by the unicast routing protocol used in the domain. ANYCAST :
  • 28. RELATED WORK  Clients, servers, and routers require no special software/firmware.  The only special configuration is needed on servers and routing infrastructure. ANYCAST :
  • 29. RELATED WORK  Unicast is the term used to describe communication where one piece of information is sent from one point to another having just one sender and one receiver.  It defined as a point-to-point flow of packets between a source (client) and destination host (server). UNICAST :
  • 30. RELATED WORK  Certain network applications which are mass- distributed are too costly to be conducted with unicast transmission since each network connection consumes computing resources on the sending host and requires its own separate network bandwidth for transmission.  Such applications include streaming media of many forms. Internet radio stations using unicast connections may have high bandwidth costs. UNICAST :
  • 31. RELATED WORK  Broadcasting refers to a method of transferring a message to all recipients simultaneously.  can be performed in following ways: 1) As a high level operation in a program, for example broadcasting Message Passing Interface . 2) It may be a low level networking operation, for example broadcasting on BROADCAST :
  • 32. RELATED WORK  Not all network technologies support broadcast addressing. For example, neither X.25 nor frame relay have broadcast capability, nor is there any form of Internet- wide broadcast.  Broadcasting is largely confined to local are network (LAN) technologies.  most notably Ethernet and token ring, where the performance impact of broadcasting is not as large as it would be in a wide area BROADCAST :
  • 34. ANT COLONY OPTIMIZATION ALGORITHM  Swarm intelligence is a relatively new approach to problem solving that takes inspiration from social behaviors to solve optimization problem.  Ant colony optimization is a heuristic algorithm which has been proven a successful technique and applied to a number of combinational optimization problem and taken as one of the high performance computing methods. ANT Colony Optimization :
  • 35. ANT COLONY OPTIMIZATION ALGORITHM  It has wide range of applications with very good search capabilities for optimization problems but it still remains a bottleneck due to high cost and time conversion.  ACO inspired by the forging behavior of real ants to find food from their nest. ANT Colony Optimization :
  • 36. ANT COLONY OPTIMIZATION ALGORITHM  The algorithm is basically used to find shortest path from nest to food source and the path is then used by other ants this is all due to chemical name pheromone deposited by ants on ground while searching for food . ANT Colony Optimization :
  • 37. ANT COLONY OPTIMIZATION ALGORITHM ANT Colony Optimization :
  • 38. ANT COLONY OPTIMIZATION ALGORITHM ANT Colony Optimization :  Ant Colony Optimization technique has emerged recently novel meta-heuristic for a hard combinational optimization problems.  It is designed to stimulate the ability of ant colonies to determine the shortest paths to food.  Although individual ant posses few capabilities, their operation as a colony is capable of complex behavior.
  • 39. ANT COLONY OPTIMIZATION ALGORITHM ANT Colony Optimization :  Real ants can indirectly can communicate though pheromone information without visual cues and capable of finding shortest path between food and their nests.  The ants follow pheromone on trail while walking and the other ants follow the trail with some probability dependent on the density of pheromone deposited by the ants.
  • 40. ANT COLONY OPTIMIZATION ALGORITHM ANT Colony Optimization :  more the pheromone deposited the more ants will follow that trail.  Through this mechanism ants ultimately find the shortest path.
  • 41. ANT COLONY OPTIMIZATION ALGORITHM ANT Colony Optimization :
  • 42. ANT COLONY OPTIMIZATION ALGORITHM ANT Colony Optimization :  A search algorithm with such concept is called Ant Colony Optimization Algorithm. ACO inspired by the forging behavior of real ants to find food from their nest.
  • 43. ANT COLONY OPTIMIZATION ALGORITHM ALGORITHM :  Assuming S is source code and U= {U1, U2……...Um} donated a set of destination nodes.  1. Initialize network nodes.  2. Set LC=0 where LC is loop count.  3. Let 𝐿 𝑘 be the shortest path for the destination node Ui.  4. The initial value of 𝜏 𝑘=0 as no ant has traversed any path so ant can chose any path as probability of any path=0.  5. Ant chooses the path according to the probability of path.  6. Compute the pheromone update of the path and each edge selected by the ant using  𝜏 𝑘 = 𝑅 𝐿 𝑘  Where  R is any constant value.  Lk is total path traversed by the ant.
  • 44. ANT COLONY OPTIMIZATION ALGORITHM ALGORITHM :  Update the local pheromone 𝜏 𝑘  𝜏 𝑘= (1-ρ) 𝜏 𝑘 + 𝜏 𝑘  Where ρ = (0 to 1) pheromone decay .
  • 45. ANT COLONY OPTIMIZATION ALGORITHM ALGORITHM :  Compute the probability 𝑃𝑘 of each edge. 𝑃𝑘 = [𝜏] 𝛼 ∗ [𝑛] 𝛽 𝑗∈𝑛[𝜏] 𝛼 ∗ [𝑛] 𝛽 𝑛 𝑘= 1 𝑒 𝑘 Where k ϵ N α,β are meta values. 𝑛 𝑘 heuristic value. 𝑒 𝑘 edge value. 9. Set LC=LC+1.
  • 46. ANT COLONY OPTIMIZATION ALGORITHM ALGORITHM :  Repeat from step 5 update the value of 𝜏 𝑘 and probability of paths.  11. Collect best paths to get the multicast tree.