Network Components Parts of a Network app router link host - - PowerPoint PPT Presentation

network components parts of a network
SMART_READER_LITE
LIVE PREVIEW

Network Components Parts of a Network app router link host - - PowerPoint PPT Presentation

Network Components Parts of a Network app router link host Computer Networks 2 Parts of a Network app router link host Computer Networks 3 Component Names Component Function Example Application, or app, user Generates Zoom,


slide-1
SLIDE 1

Network Components

slide-2
SLIDE 2

Parts of a Network

Computer Networks 2

host app link router

slide-3
SLIDE 3

Parts of a Network

Computer Networks 3

host app link router

slide-4
SLIDE 4

Component Names

Computer Networks 4

Component Function Example Application, or app, user Generates messages Zoom, iTunes, Browser Host, or end-system, edge device, node, source, sink Runs the app Laptop, mobile, desktop Router, or switch, node, hub Relays messages across links Access point, cable/DSL modem Link, or channel Carries messages Wires, wireless

slide-5
SLIDE 5

Parts of a Network

Computer Networks 5

host app link router

slide-6
SLIDE 6

Parts of a Network

Computer Networks 6

host app link host?

slide-7
SLIDE 7

Types of Links

  • Full-duplex
  • Bidirectional
  • Half-duplex
  • Bidirectional
  • Simplex
  • unidirectional

Computer Networks 7

slide-8
SLIDE 8

Wireless Links

  • Message is broadcast
  • Received by all nodes in range
  • Not a good fit with our model

Computer Networks 8

slide-9
SLIDE 9

Wireless Links (2)

  • Often show logical links
  • Not all possible connectivity

Computer Networks 9

slide-10
SLIDE 10

A Small Network

  • Connect a couple of computers
  • Next, a large network …

Computer Networks 10

slide-11
SLIDE 11

Source: Internet2

slide-12
SLIDE 12

Example Computer Networks?

slide-13
SLIDE 13

Example Computer Networks

  • WiFi (802.11)
  • Enterprise / Ethernet
  • ISP (Internet Service Provider)
  • Cable / DSL
  • Mobile phone / cellular (2G, 3G, 4G, 5G)
  • Bluetooth
  • Telephone
  • Satellite ...

Computer Networks 13

slide-14
SLIDE 14

Computer network names by scale

Computer Networks 14

Scale Type Example Vicinity PAN (Personal Area Network) Bluetooth (e.g., headset) Building LAN (Local Area Network) DCN (Data Center Network) WiFi, Ethernet Ethernet City MAN (Metropolitan Area Network) Cable, DSL Country WAN (Wide Area Network) Large ISP Planet The Internet (network of all networks) The Internet!

slide-15
SLIDE 15

Internetworks

  • An internetwork, or internet, is what you get when

you join networks together

  • Just another network
  • The Internet (capital “I”) is the internet we all use

Computer Networks 15

slide-16
SLIDE 16

Network Boundaries

  • What part is the “network”?

Computer Networks 16

host app link router

slide-17
SLIDE 17

Network Boundaries (2)

  • What part represents an “ISP”?

Computer Networks 17

host app link router

slide-18
SLIDE 18

Network Boundaries (3)

  • Cloud as a generic network

Computer Networks 18

host app link router

slide-19
SLIDE 19

Key Interfaces

  • Between (1) apps and network, and (2) network

components

Computer Networks 19

host app router

slide-20
SLIDE 20

What should networks do for apps?

slide-21
SLIDE 21

What should networks do for apps?

  • Make and break connections
  • Find a path through the network
  • Transfers information reliably
  • Transfers arbitrary length information
  • Send as fast as the network allows
  • Shares bandwidth among users
  • Secures information in transit
  • Lets many new hosts be added

Computer Networks 21

slide-22
SLIDE 22

What should networks do for apps?

  • Make and break connections
  • Find a path through the network
  • Transfers information reliably
  • Transfers arbitrary length information
  • Send as fast as the network allows
  • Shares bandwidth among users
  • Secures information in transit
  • Lets many new hosts be added

Computer Networks 22

We need modularity to help manage complexity and support reuse

slide-23
SLIDE 23

Protocols and Layers

  • Protocols and layering is the main structuring

method used to divide up network functionality

  • Divide functionality in layers organized vertically
  • Each protocol implements the functionality of that layer
  • Each protocol instance talks virtually to its peer instances

using the protocol

  • Each protocol instances uses only the services of the

lower layer

Computer Networks 23

slide-24
SLIDE 24

Protocols and Layers (2)

  • Protocols are horizontal, layers are vertical

Computer Networks 24

X Y Y X

Instance of protocol X Peer instance Node 1 Node 2 Lower layer instance (of protocol Y) Protocol X Service provided by Protocol Y

slide-25
SLIDE 25

Protocols and Layers (3)

  • Set of protocols in use is called a protocol stack

Computer Networks 25

slide-26
SLIDE 26

Computer Networks 26

Protocols and Layers (4)

  • Protocols you’ve probably heard of:
  • TCP, IP, 802.11, Ethernet, HTTP, SSL, DNS,

… and many more

slide-27
SLIDE 27

Computer Networks 27

Protocols and Layers (5)

  • Protocols you’ve probably heard of:
  • TCP, IP, 802.11, Ethernet, HTTP, SSL, DNS,

… and many more

  • An example protocol stack
  • Used by a web browser on a host that is

wirelessly connected to the Internet

HTTP TCP IP 802.11 Browser

slide-28
SLIDE 28

Encapsulation

  • Encapsulation is the mechanism used to effect

protocol layering

  • Lower layer wraps higher layer content, adding its own

information to make a new message for delivery

  • Like sending a letter in an envelope; postal service doesn’t

look inside

Computer Networks 28

slide-29
SLIDE 29

Encapsulation (2)

  • Message “on the wire” begins to look like an onion
  • Lower layers are outermost

Computer Networks 29

HTTP TCP IP 802.11

HTTP TCP HTTP TCP HTTP IP TCP HTTP IP 802.11

slide-30
SLIDE 30

Encapsulation (3)

Computer Networks 30

HTTP TCP IP 802.11

HTTP TCP HTTP TCP HTTP IP TCP HTTP IP

802.11

HTTP TCP IP 802.11

(wire) HTTP TCP HTTP TCP HTTP IP TCP HTTP IP

802.11

TCP HTTP IP

802.11

slide-31
SLIDE 31

Encapsulation (4)

  • Normally draw message like this:
  • Each layer adds its own header
  • More involved in practice
  • Trailers as well as headers, encrypt/compress contents
  • Segmentation (divide long message) and reassembly

Computer Networks 31

802.11 IP TCP HTTP

First bits on the wire Last bits

slide-32
SLIDE 32

Multiple protocols in a layer

Computer Networks 32

UDP TCP ARP IP 802.11 SMTP HTTP DNS Ethernet

slide-33
SLIDE 33

Demultiplexing

  • Pass incoming message to the protocols that it uses

Computer Networks 33

?? UDP TCP ARP IP 802.11 SMTP HTTP DNS Ethernet

slide-34
SLIDE 34

Demultiplexing (2)

  • Done with demultiplexing identifiers in the headers

Computer Networks 34

Ethernet IP TCP HTTP UDP TCP ARP IP Ethernet SMTP HTTP Ethertype value IP protocol field TCP port number

Host Incoming message

DNS

slide-35
SLIDE 35

Advantage of Layering

  • Information hiding and reuse

Computer Networks 35

HTTP Browser HTTP Server HTTP Browser HTTP Server

  • r
slide-36
SLIDE 36

Advantage of Layering (2)

  • Information hiding and reuse

Computer Networks 36

HTTP TCP IP 802.11 Browser HTTP TCP IP 802.11 Server HTTP TCP IP Ethernet Browser HTTP TCP IP Ethernet Server

  • r
slide-37
SLIDE 37

Advantage of Layering (3)

  • Using information hiding to connect different

systems

HTTP Browser HTTP Server

slide-38
SLIDE 38

Advantage of Layering (4)

  • Information hiding to connect different systems

HTTP TCP IP 802.11 Browser IP 802.11 IP Ethernet HTTP TCP IP Ethernet Server

IP TCP HTTP 802.11 IP TCP HTTP Ethernet IP TCP HTTP

slide-39
SLIDE 39

Advantage of Layering (5)

  • Information hiding to connect different systems

HTTP TCP IP 802.11 Browser IP 802.11 IP Ethernet HTTP TCP IP Ethernet Server

IP TCP HTTP 802.11 IP TCP HTTP Ethernet IP TCP HTTP

slide-40
SLIDE 40

Disadvantages of Layering

  • ?
slide-41
SLIDE 41

Disadvantage of Layering

  • Adds overhead
  • More problematic with short messages
  • Hides information
  • App might care about network properties (e.g., latency,

bandwidth, etc)

  • Network may need to know about app priorities (e.g., QoS)

Computer Networks 41

slide-42
SLIDE 42

OSI Layers

slide-43
SLIDE 43

Protocols and Layering

  • The real internet protocol stacks:

Computer Networks 43

4 Application 3 Transport 2 Internet 1 Link Ethernet 802.11 IP TCP UDP HTTP SMTP RTP DNS 3G DSL Cable “Narrow waist”

slide-44
SLIDE 44

Course Reference Model

  • We mostly follow the Internet

Computer Networks 44

5 Application

– Programs that use network service

4 Transport

– Provides end-to-end data delivery

3 Network

– Send packets over multiple networks

2 Link

– Send frames over one or more links

1 Physical

– Send bits using signals

slide-45
SLIDE 45

Lecture Progression

Middle à top à bottom Followed by more detail on cross-cutting elements:

  • Quality of service, Security (VPN, SSL)

Computer Networks 45

  • 3. Application - HTTP, DNS, CDNs
  • 1. Transport - TCP, UDP
  • 2. Network - IP, NAT, BGP
  • 5. Link
  • Ethernet, 802.11
  • 4. Physical
  • wires, fiber, wireless