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
 
Unit 1 Information Technology for student👩‍🎓.pdf
Unit 1 Information Technology for student👩‍🎓.pdfUnit 1 Information Technology for student👩‍🎓.pdf
Unit 1 Information Technology for student👩‍🎓.pdf
 
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
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
httgc7rh9c
 

Recently uploaded (20)

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Economic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food AdditivesEconomic Importance Of Fungi In Food Additives
Economic Importance Of Fungi In Food Additives
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 

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.