SlideShare a Scribd company logo
1 of 26
www.bournemouth.ac.uk
Online Content Distribution
Lecture: Networking for Content
Delivery
Andres Ibarra Lobo
www.bournemouth.ac.uk 2
Objectives
This lecture aims to help you:
1. Understand network topologies.
2. Understand network communication basics.
3. Understand packet switching mechanism.
4. Understand addressing/routing methodologies.
5. Understand communication protocols for streaming.
www.bournemouth.ac.uk 3
Computing Network Topology
Definition:
• The way in which the connections within a computing network are
made (e.g., the shape or the layout).
Types:
• Physical refers to the physical design of a network. That is, how
different systems of a network are actually connected with cables
and wires.
• Logical refers to the data communication over the physical network.
That is, how systems communicate across the physical topologies.
www.bournemouth.ac.uk 4
Physical Topologies
Bus
• Each of the systems in the network connects to a “line” (backbone).
Ring
• Each of the systems in the network is connected to its two respective
neighbours forming a ring.
Star
• Each of the systems in the network connects to a “central device” (hub).
Mesh
• Each of the systems in the network has a dedicated point-to-point link to
every other system.
Tree
• Like its name implies, it is a mix use of other types topologies with the
concept of hierarchy (root, nodes, branches, children etc.).
www.bournemouth.ac.uk 5
Bus Topology
Advantages:
• Inexpensive, very low cost
• Easy installation/implementation
(adding/removing)
• Ideal for small networks (netcafe, studios)
Disadvantages:
• Speed/distance limitations.
• Highly depends on the
availability/robustness of the “line”
• Security issues
• Difficulty in troubleshooting
• Unmanageable for large networks
www.bournemouth.ac.uk 6
Ring Topology
Advantages:
• Relatively low cost
• Easy installation
• Token-ring is secure
• Support to form larger network (e.g., small
enterprise intranet)
Disadvantages:
• Speed/distance limitations.
• Difficulties in change (moving, adding,
removing systems) and maintenance.
• One system would fail the entire network!
• Low efficiency
www.bournemouth.ac.uk 7
Star Topology
Advantages:
• Easy installation/upgrading support
• Easy troubleshooting and maintenance
• Simplicities of operation
• Good security
• Ideal for larger networks
Disadvantages:
• Expensive (for long distance)
• Hub dependency – central hub is everything!
• Sometimes not efficient
www.bournemouth.ac.uk 8
Mesh Topology
Advantages:
• Good connection possibility so no traffic
problem
• Security
• Robust
• Fault tolerant
Disadvantages:
• Difficult cabling
• Complex installation
• Connection redundancy
• Cost
www.bournemouth.ac.uk 9
Tree Topology
Advantages:
• Best possible solution for large network
(WAN)
• Point-to-point communication is possible.
• Best topology for branched out networks.
• Each of systems get access to larger
networks in the hierarchy.
Disadvantages:
• Not suitable for smaller networks as it
wastes resources
• Highly depends on the root “backbone”.
• Difficult to configure after a certain point.
Root
Mesh Mesh Mesh
Mesh Star Bus Star Mesh
Star
Bus
Ring
Ring
Ring
www.bournemouth.ac.uk 10
Logical Topology
Shared media (current Ethernet topology)
• Each of systems has the ability to access the physical layout whenever they need it
(unrestricted access).
• However, it could easily cause collisions when two or more systems send information
at the same time. A solution is to add a traffic detection mechanism to monitoring
current traffic.
• It is typically deployed in a bus, star, or hybrid physical topology.
Token based (old-fashioned technology from IBM)
• Use of a token to provide access to the physical media.
• The biggest problem of token is latency as systems have to wait until they get an
available token.
• It is typically deployed in a ring physical topology.
www.bournemouth.ac.uk 11
Network Communication
Network communication
• Communication happens
between different nodes.
• Communication has to be
initialised by a node.
• The node knows which other
nodes it wants to
communicate.
• The node has to let other
nodes aware if they want to
communicate to them (e.g.,
make a link).
Human communication
• Communication happens
between different people.
• Communication has to be
initialised by someone.
• The person knows whom they
want to communicate.
• The person has to let other
people aware if they want to
talk to them (e.g., call their
names).
www.bournemouth.ac.uk 12
Network Communication (cont.)
Network communication
• There are some controls to
make sure only the intended
receiver(s) will receive the
message.
• There are also some
mechanism to ensure the
smooth communication.
• Any of the two sides can end
the communication.
• A communication can not be
forced.
Human communication
• There are some controls to
make sure only the intended
person(s) will receive the
message.
• There are also some
mechanism to ensure the
smooth communication.
• Any of the people can end the
communication.
• A communication cannot be
forced.
www.bournemouth.ac.uk 13
Network Communication (cont.)
Have you realised something important?
• Sender and receiver: important indeed.
• Make connections: switching.
• Know where to go: addressing/routing.
• Smooth communication: protocols.
www.bournemouth.ac.uk 14
Switching
• Switching is the way to create communicational
channel to allow network nodes communicate with
each other in a network.
• In a traditional telephony network, switch
boards/exchanges are used to establish a direct &
physical dedicated connection between two nodes. This
process is normally called circuit switching.
• In a modern digital network (Ethernet or Internet), data
sending from one node are divided into a number of
blocks (packets) which are then transmitted individually
to another node through the network. This process is
normally called packet switching.
www.bournemouth.ac.uk 15
Addressing & Routing
• Routing is a process of selecting paths to send
network traffic.
• Routing is the act of moving information across a
network from a source to a destination.
• The main activities of routing is to 1) determine optimal
(best possible) routing paths and 2) forward packages.
• Routing paths are pre-configured in static routing.
• Routing paths are selected by routing algorithms in non-
static (adaptive or dynamic) routing.
www.bournemouth.ac.uk 16
Addressing/Routing Semantics
Unicast:
• Deliver a message to a single specified node in the network (one to one).
Broadcast:
• Deliver a message to all nodes in the network (one to many).
Multicast:
• Deliver a message to a group of nodes which are receivers (one to many).
Anycast:
• Deliver a message to the topologically nearest node in a group of potential
receivers (one to one of many).
www.bournemouth.ac.uk 17
Unicast
sender router
dest
www.bournemouth.ac.uk 18
Multicast
sender router
dest
dest
www.bournemouth.ac.uk 19
Broadcast
sender router
dest
dest
dest
dest
dest
www.bournemouth.ac.uk 20
Anycast
sender router
dest
dest
www.bournemouth.ac.uk 21
Network Switches, Hubs & Routers
Switches vs. hubs vs. routers:
• Switches and hubs create a network.
Routers join networks.
• Switches are more intelligent and they
have higher performance than hubs.
www.bournemouth.ac.uk 22
Protocols
What is a communication protocol:
• It is a set of rules for exchanging messages in or
between systems.
• A protocol describes the syntax, semantics, and
synchronisation of communication.
• Protocols can be implemented in hardware or software.
• A data transmission in or between systems normally
requires a set of protocols (for example, Internet Protocol
Suite).
www.bournemouth.ac.uk 23
Common Protocols
TCP (Transmission Control Protocol)
• A reliable but complex data exchange protocol used
for major Internet applications (e.g., emails).
• TCP operation is divided into three handshake
phases, connection establishment, data
transmission & connection termination.
UDP (User Datagram Protocol)
• An unreliable but simple data exchange protocol
commonly used for most contemporary Internet
applications (e.g., online games, streaming etc.).
www.bournemouth.ac.uk 24
TCP
TCP header structure
Source port Destination port
Sequence number
Acknowledge number
Data offset Reserved Flags Window Size
Checksum Urgent pointer
Options
Data
www.bournemouth.ac.uk 25
UDP
UDP header structure
Source port Destination port
Length Checksum
Data
www.bournemouth.ac.uk 26
Research Tasks
• Give real-life examples of network topologies.
• What will be the best Ethernet topology for a small studio
with 20 staff & draw the diagram?
• Give real-life examples of different routing semantics.
• Draw the diagram of how multicast and unicast protocols
are used for video on demand.
• Compare TCP and UDP in terms of streaming.

More Related Content

What's hot

Networking ppt by swapi
Networking ppt by swapi Networking ppt by swapi
Networking ppt by swapi
Swapi Pawar
 

What's hot (20)

Mmc unit i summary
Mmc unit i summaryMmc unit i summary
Mmc unit i summary
 
Networking HMT-1
Networking HMT-1Networking HMT-1
Networking HMT-1
 
Introduction to Networking
Introduction to NetworkingIntroduction to Networking
Introduction to Networking
 
Web applications and security. By: Partha Jee Chauhan, MSc Computer Science
Web applications and security. By: Partha Jee Chauhan, MSc Computer ScienceWeb applications and security. By: Partha Jee Chauhan, MSc Computer Science
Web applications and security. By: Partha Jee Chauhan, MSc Computer Science
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
Star topology
Star topologyStar topology
Star topology
 
Mmc unit i final (1)
Mmc unit i final (1)Mmc unit i final (1)
Mmc unit i final (1)
 
Cct203 lesson 10
Cct203 lesson 10Cct203 lesson 10
Cct203 lesson 10
 
computer networking and its application ppt
computer networking and its application pptcomputer networking and its application ppt
computer networking and its application ppt
 
Dc lec-01 (intro to data com)
Dc lec-01 (intro to data com)Dc lec-01 (intro to data com)
Dc lec-01 (intro to data com)
 
Unit2
Unit2Unit2
Unit2
 
Networking ppt by swapi
Networking ppt by swapi Networking ppt by swapi
Networking ppt by swapi
 
Note -02
Note -02Note -02
Note -02
 
Note 01
Note 01Note 01
Note 01
 
Computer network and its topologies
Computer network and its topologiesComputer network and its topologies
Computer network and its topologies
 
B.sc i bio chem u 5 data communication and network
B.sc i bio chem u 5 data communication and networkB.sc i bio chem u 5 data communication and network
B.sc i bio chem u 5 data communication and network
 
3.1.2 classification of network
3.1.2 classification of network3.1.2 classification of network
3.1.2 classification of network
 
NETWORKING
NETWORKINGNETWORKING
NETWORKING
 
Dc lec-02 (networks)
Dc lec-02 (networks)Dc lec-02 (networks)
Dc lec-02 (networks)
 
Computer Networks - PPT
Computer Networks - PPTComputer Networks - PPT
Computer Networks - PPT
 

Similar to Ocd lec networks_10-11 (1)

Networkprotocolstructurescope 130719081246-phpapp01
Networkprotocolstructurescope 130719081246-phpapp01Networkprotocolstructurescope 130719081246-phpapp01
Networkprotocolstructurescope 130719081246-phpapp01
Gaurav Goyal
 

Similar to Ocd lec networks_10-11 (1) (20)

ch01.ppt
ch01.pptch01.ppt
ch01.ppt
 
Networkprotocolstructurescope 130719081246-phpapp01
Networkprotocolstructurescope 130719081246-phpapp01Networkprotocolstructurescope 130719081246-phpapp01
Networkprotocolstructurescope 130719081246-phpapp01
 
Network protocol structure scope
Network protocol structure scopeNetwork protocol structure scope
Network protocol structure scope
 
Network protocol
Network protocolNetwork protocol
Network protocol
 
Chapter 1 Introduction to computer networks ppt by DMB
Chapter 1 Introduction to computer networks ppt by DMBChapter 1 Introduction to computer networks ppt by DMB
Chapter 1 Introduction to computer networks ppt by DMB
 
Chapter 1 ppt by dmb
Chapter 1 ppt by dmbChapter 1 ppt by dmb
Chapter 1 ppt by dmb
 
Chapter06 -- topologies and access methods
Chapter06  -- topologies and access methodsChapter06  -- topologies and access methods
Chapter06 -- topologies and access methods
 
Network fundamental
Network fundamentalNetwork fundamental
Network fundamental
 
Introduction to data communications
Introduction to data communicationsIntroduction to data communications
Introduction to data communications
 
Computer network notes with company specific questions
Computer network notes with company specific questionsComputer network notes with company specific questions
Computer network notes with company specific questions
 
NFPhysical Layer.pptx
NFPhysical Layer.pptxNFPhysical Layer.pptx
NFPhysical Layer.pptx
 
ITP-22 -COMPUTER NETWORK.pptx
ITP-22 -COMPUTER NETWORK.pptxITP-22 -COMPUTER NETWORK.pptx
ITP-22 -COMPUTER NETWORK.pptx
 
Computer Network
Computer NetworkComputer Network
Computer Network
 
Topology,Switching and Routing
Topology,Switching and RoutingTopology,Switching and Routing
Topology,Switching and Routing
 
computer networks_fundamentals.pptx
computer networks_fundamentals.pptxcomputer networks_fundamentals.pptx
computer networks_fundamentals.pptx
 
Computer application-chapter four lecture note. pptx
Computer application-chapter four lecture note. pptxComputer application-chapter four lecture note. pptx
Computer application-chapter four lecture note. pptx
 
presentation_internet.pptx
presentation_internet.pptxpresentation_internet.pptx
presentation_internet.pptx
 
Network topology
Network topologyNetwork topology
Network topology
 
Module 1 Introduction to Computer Networks.pptx
Module 1 Introduction to Computer Networks.pptxModule 1 Introduction to Computer Networks.pptx
Module 1 Introduction to Computer Networks.pptx
 
Computer Network, Internet, Computer Security and Cyber Ethics
Computer Network, Internet, Computer Security and Cyber EthicsComputer Network, Internet, Computer Security and Cyber Ethics
Computer Network, Internet, Computer Security and Cyber Ethics
 

Recently uploaded

Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

Ocd lec networks_10-11 (1)

  • 1. www.bournemouth.ac.uk Online Content Distribution Lecture: Networking for Content Delivery Andres Ibarra Lobo
  • 2. www.bournemouth.ac.uk 2 Objectives This lecture aims to help you: 1. Understand network topologies. 2. Understand network communication basics. 3. Understand packet switching mechanism. 4. Understand addressing/routing methodologies. 5. Understand communication protocols for streaming.
  • 3. www.bournemouth.ac.uk 3 Computing Network Topology Definition: • The way in which the connections within a computing network are made (e.g., the shape or the layout). Types: • Physical refers to the physical design of a network. That is, how different systems of a network are actually connected with cables and wires. • Logical refers to the data communication over the physical network. That is, how systems communicate across the physical topologies.
  • 4. www.bournemouth.ac.uk 4 Physical Topologies Bus • Each of the systems in the network connects to a “line” (backbone). Ring • Each of the systems in the network is connected to its two respective neighbours forming a ring. Star • Each of the systems in the network connects to a “central device” (hub). Mesh • Each of the systems in the network has a dedicated point-to-point link to every other system. Tree • Like its name implies, it is a mix use of other types topologies with the concept of hierarchy (root, nodes, branches, children etc.).
  • 5. www.bournemouth.ac.uk 5 Bus Topology Advantages: • Inexpensive, very low cost • Easy installation/implementation (adding/removing) • Ideal for small networks (netcafe, studios) Disadvantages: • Speed/distance limitations. • Highly depends on the availability/robustness of the “line” • Security issues • Difficulty in troubleshooting • Unmanageable for large networks
  • 6. www.bournemouth.ac.uk 6 Ring Topology Advantages: • Relatively low cost • Easy installation • Token-ring is secure • Support to form larger network (e.g., small enterprise intranet) Disadvantages: • Speed/distance limitations. • Difficulties in change (moving, adding, removing systems) and maintenance. • One system would fail the entire network! • Low efficiency
  • 7. www.bournemouth.ac.uk 7 Star Topology Advantages: • Easy installation/upgrading support • Easy troubleshooting and maintenance • Simplicities of operation • Good security • Ideal for larger networks Disadvantages: • Expensive (for long distance) • Hub dependency – central hub is everything! • Sometimes not efficient
  • 8. www.bournemouth.ac.uk 8 Mesh Topology Advantages: • Good connection possibility so no traffic problem • Security • Robust • Fault tolerant Disadvantages: • Difficult cabling • Complex installation • Connection redundancy • Cost
  • 9. www.bournemouth.ac.uk 9 Tree Topology Advantages: • Best possible solution for large network (WAN) • Point-to-point communication is possible. • Best topology for branched out networks. • Each of systems get access to larger networks in the hierarchy. Disadvantages: • Not suitable for smaller networks as it wastes resources • Highly depends on the root “backbone”. • Difficult to configure after a certain point. Root Mesh Mesh Mesh Mesh Star Bus Star Mesh Star Bus Ring Ring Ring
  • 10. www.bournemouth.ac.uk 10 Logical Topology Shared media (current Ethernet topology) • Each of systems has the ability to access the physical layout whenever they need it (unrestricted access). • However, it could easily cause collisions when two or more systems send information at the same time. A solution is to add a traffic detection mechanism to monitoring current traffic. • It is typically deployed in a bus, star, or hybrid physical topology. Token based (old-fashioned technology from IBM) • Use of a token to provide access to the physical media. • The biggest problem of token is latency as systems have to wait until they get an available token. • It is typically deployed in a ring physical topology.
  • 11. www.bournemouth.ac.uk 11 Network Communication Network communication • Communication happens between different nodes. • Communication has to be initialised by a node. • The node knows which other nodes it wants to communicate. • The node has to let other nodes aware if they want to communicate to them (e.g., make a link). Human communication • Communication happens between different people. • Communication has to be initialised by someone. • The person knows whom they want to communicate. • The person has to let other people aware if they want to talk to them (e.g., call their names).
  • 12. www.bournemouth.ac.uk 12 Network Communication (cont.) Network communication • There are some controls to make sure only the intended receiver(s) will receive the message. • There are also some mechanism to ensure the smooth communication. • Any of the two sides can end the communication. • A communication can not be forced. Human communication • There are some controls to make sure only the intended person(s) will receive the message. • There are also some mechanism to ensure the smooth communication. • Any of the people can end the communication. • A communication cannot be forced.
  • 13. www.bournemouth.ac.uk 13 Network Communication (cont.) Have you realised something important? • Sender and receiver: important indeed. • Make connections: switching. • Know where to go: addressing/routing. • Smooth communication: protocols.
  • 14. www.bournemouth.ac.uk 14 Switching • Switching is the way to create communicational channel to allow network nodes communicate with each other in a network. • In a traditional telephony network, switch boards/exchanges are used to establish a direct & physical dedicated connection between two nodes. This process is normally called circuit switching. • In a modern digital network (Ethernet or Internet), data sending from one node are divided into a number of blocks (packets) which are then transmitted individually to another node through the network. This process is normally called packet switching.
  • 15. www.bournemouth.ac.uk 15 Addressing & Routing • Routing is a process of selecting paths to send network traffic. • Routing is the act of moving information across a network from a source to a destination. • The main activities of routing is to 1) determine optimal (best possible) routing paths and 2) forward packages. • Routing paths are pre-configured in static routing. • Routing paths are selected by routing algorithms in non- static (adaptive or dynamic) routing.
  • 16. www.bournemouth.ac.uk 16 Addressing/Routing Semantics Unicast: • Deliver a message to a single specified node in the network (one to one). Broadcast: • Deliver a message to all nodes in the network (one to many). Multicast: • Deliver a message to a group of nodes which are receivers (one to many). Anycast: • Deliver a message to the topologically nearest node in a group of potential receivers (one to one of many).
  • 21. www.bournemouth.ac.uk 21 Network Switches, Hubs & Routers Switches vs. hubs vs. routers: • Switches and hubs create a network. Routers join networks. • Switches are more intelligent and they have higher performance than hubs.
  • 22. www.bournemouth.ac.uk 22 Protocols What is a communication protocol: • It is a set of rules for exchanging messages in or between systems. • A protocol describes the syntax, semantics, and synchronisation of communication. • Protocols can be implemented in hardware or software. • A data transmission in or between systems normally requires a set of protocols (for example, Internet Protocol Suite).
  • 23. www.bournemouth.ac.uk 23 Common Protocols TCP (Transmission Control Protocol) • A reliable but complex data exchange protocol used for major Internet applications (e.g., emails). • TCP operation is divided into three handshake phases, connection establishment, data transmission & connection termination. UDP (User Datagram Protocol) • An unreliable but simple data exchange protocol commonly used for most contemporary Internet applications (e.g., online games, streaming etc.).
  • 24. www.bournemouth.ac.uk 24 TCP TCP header structure Source port Destination port Sequence number Acknowledge number Data offset Reserved Flags Window Size Checksum Urgent pointer Options Data
  • 25. www.bournemouth.ac.uk 25 UDP UDP header structure Source port Destination port Length Checksum Data
  • 26. www.bournemouth.ac.uk 26 Research Tasks • Give real-life examples of network topologies. • What will be the best Ethernet topology for a small studio with 20 staff & draw the diagram? • Give real-life examples of different routing semantics. • Draw the diagram of how multicast and unicast protocols are used for video on demand. • Compare TCP and UDP in terms of streaming.