1 of 38

Jaringan Komputer�(MIK1624401)

Departemen Informatika

Universitas Diponegoro

​

Introduction: 1-1

2 of 38

Chapter 1: roadmap

  • What is the Internet?
  • What is a protocol?
  • Network edge: hosts, access network, physical media
  • Network core: packet/circuit switching, internet structure
  • Performance: loss, delay, throughput
  • Security
  • Protocol layers, service models
  • History

​

Introduction: 1-2

3 of 38

A closer look at Internet structure

Network edge:

  • hosts: clients and servers
  • servers often in data centers

​

​

Introduction: 1-3

mobile network

home network

enterprise

network

national or global ISP

local or regional ISP

datacenter

network

content

provider

network

4 of 38

A closer look at Internet structure

Network edge:

  • hosts: clients and servers
  • servers often in data centers

Access networks, physical media:

  • wired, wireless communication links

​

​

Introduction: 1-4

mobile network

home network

enterprise

network

national or global ISP

local or regional ISP

datacenter

network

content

provider

network

5 of 38

A closer look at Internet structure

Network edge:

  • hosts: clients and servers
  • servers often in data centers

Access networks, physical media:

  • wired, wireless communication links

Network core:

    • interconnected routers
    • network of networks

​

​

Introduction: 1-5

mobile network

home network

enterprise

network

national or global ISP

local or regional ISP

datacenter

network

content

provider

network

6 of 38

Access networks and physical media

Q: How to connect end systems to edge router?

  • residential access nets
  • institutional access networks (school, company)
  • mobile access networks (WiFi, 4G/5G)

​

​

Introduction: 1-6

mobile network

home network

enterprise

network

national or global ISP

local or regional ISP

datacenter

network

content

provider

network

7 of 38

Access networks: cable-based access

Introduction: 1-7

cable

modem

splitter

…

cable headend

Channels

V

I

D

E

O

V

I

D

E

O

V

I

D

E

O

V

I

D

E

O

V

I

D

E

O

V

I

D

E

O

​

D

A

T

A

​

D

A

T

A

​

C

O

N

T

R

O

L

1

2

3

4

5

6

7

8

9

frequency division multiplexing (FDM): different channels transmitted in different frequency bands

8 of 38

Access networks: cable-based access

Introduction: 1-8

cable

modem

splitter

…

cable headend

data, TV transmitted at different

frequencies over shared cable

distribution network

  • HFC: hybrid fiber coax
    • asymmetric: up to 40 Mbps – 1.2 Gbps downstream transmission rate, 30-100 Mbps upstream transmission rate
  • network of cable, fiber attaches homes to ISP router
    • homes share access network to cable headend

​

cable modem

termination system

CMTS

ISP

9 of 38

Access networks: digital subscriber line (DSL)

Introduction: 1-9

ISP

central office

telephone

network

DSLAM

voice, data transmitted

at different frequencies over

dedicated line to central office

​

    • use existing telephone line to central office DSLAM
      • data over DSL phone line goes to Internet
      • voice over DSL phone line goes to telephone net
    • 24-52 Mbps dedicated downstream transmission rate
    • 3.5-16 Mbps dedicated upstream transmission rate

DSL

modem

splitter

DSL access

multiplexer

10 of 38

Access networks: home networks

Introduction: 1-10

to/from headend or central office

cable or DSL modem

router, firewall, NAT

wired Ethernet (1 Gbps)

WiFi wireless access

point (54, 450 Mbps)

Wireless and wired

devices

often combined

in single box

11 of 38

Wireless access networks

Introduction: 1-11

Shared wireless access network connects end system to router

  • via base station aka “access point”

Wireless local area networks (WLANs)

    • typically within or around building (~100 ft)
    • 802.11b/g/n (WiFi): 11, 54, 450 Mbps transmission rate

to Internet

to Internet

​

Wide-area cellular access networks

    • provided by mobile, cellular network operator (10’s km)
    • 10’s Mbps
    • 4G/5G cellular networks

12 of 38

Access networks: enterprise networks

Introduction: 1-12

  • companies, universities, etc.
    • mix of wired, wireless link technologies, connecting a mix of switches and routers (we’ll cover differences shortly)
      • Ethernet: wired access at 100Mbps, 1Gbps, 10Gbps
      • WiFi: wireless access points at 11, 54, 450 Mbps

Ethernet

switch

institutional mail,

web servers

institutional router

Enterprise link to

ISP (Internet)

​

13 of 38

Access networks: data center networks

Introduction: 1-13

  • high-bandwidth links (10s to 100s Gbps) connect hundreds to thousands of servers together, and to Internet

mobile network

home network

enterprise

network

national or global ISP

local or regional ISP

datacenter

network

content

provider

network

Courtesy: Massachusetts Green High Performance Computing Center (mghpcc.org)

14 of 38

Host: sends packets of data

Introduction: 1-14

host sending function:

  • takes application message
  • breaks into smaller chunks, known as packets, of length L bits
  • transmits packet into access network at transmission rate R
    • link transmission rate, aka link capacity, aka link bandwidth

R: link transmission rate

host

1

2

two packets,

L bits each

packet

transmission

delay

time needed to

transmit L-bit

packet into link

L (bits)

R (bits/sec)

=

=

15 of 38

Links: physical media

Introduction: 1-15

  • bit: propagates between�transmitter/receiver pairs
  • physical link: what lies between transmitter & receiver
  • guided media:
    • signals propagate in solid media: copper, fiber, coax
  • unguided media:
    • signals propagate freely, e.g., radio

Twisted pair (TP)

  • two insulated copper wires
    • Category 5: 100 Mbps, 1 Gbps Ethernet
    • Category 6: 10Gbps Ethernet

16 of 38

Links: physical media

Introduction: 1-16

Coaxial cable:

  • two concentric copper conductors
  • bidirectional
  • broadband:
    • multiple frequency channels on cable
    • 100’s Mbps per channel

Fiber optic cable:

  • glass fiber carrying light pulses, each pulse a bit
  • high-speed operation:
    • high-speed point-to-point transmission (10’s-100’s Gbps)
  • low error rate:
    • repeaters spaced far apart
    • immune to electromagnetic noise

17 of 38

Links: physical media

Introduction: 1-17

Wireless radio

  • signal carried in various “bands” in electromagnetic spectrum
  • no physical “wire”
  • broadcast, “half-duplex” (sender to receiver)
  • propagation environment effects:
    • reflection
    • obstruction by objects
    • Interference/noise

Radio link types:

  • Wireless LAN (WiFi)
    • 10-100’s Mbps; 10’s of meters
  • wide-area (e.g., 4G/5G cellular)
    • 10’s Mbps (4G) over ~10 Km
  • Bluetooth: cable replacement
    • short distances, limited rates
  • terrestrial microwave
    • point-to-point; 45 Mbps channels
  • satellite
    • up to < 100 Mbps (Starlink) downlink
    • 270 msec end-end delay (geostationary)

18 of 38

Chapter 1: roadmap

  • What is the Internet?
  • What is a protocol?
  • Network edge: hosts, access network, physical media
  • Network core: packet/circuit switching, internet structure
  • Performance: loss, delay, throughput
  • Security
  • Protocol layers, service models
  • History

​

Introduction: 1-18

19 of 38

The network core

  • mesh of interconnected routers
  • packet-switching: hosts break application-layer messages into packets
    • network forwards packets from one router to the next, across links on path from source to destination

​

​

Introduction: 1-19

mobile network

home network

enterprise

network

national or global ISP

local or regional ISP

datacenter

network

content

provider

network

20 of 38

Two key network-core functions

Forwarding:

  • aka “switching”
  • local action: move arriving packets from router’s input link to appropriate router output link

​

Introduction: 1-20

1

2

3

0111

destination address in arriving

packet’s header

routing algorithm

header value

output link

0100

0101

0111

1001

3

2

2

1

local forwarding table

local forwarding table

Routing:

  • global action: determine source-destination paths taken by packets
  • routing algorithms

​

routing algorithm

21 of 38

Introduction: 1-21

routing

21

22 of 38

Introduction: 1-22

forwarding

forwarding

22

23 of 38

Packet-switching: store-and-forward

  • packet transmission delay: takes L/R seconds to transmit (push out) L-bit packet into link at R bps
  • store and forward: entire packet must arrive at router before it can be transmitted on next link

​

​

​

Introduction: 1-23

source

R bps

destination

1

2

3

L bits

per packet

R bps

One-hop numerical example:

  • L = 10 Kbits
  • R = 100 Mbps
  • one-hop transmission delay = 0.1 msec

24 of 38

Packet-switching: queueing

Introduction: 1-24

A

B

C

R = 100 Mb/s

R = 1.5 Mb/s

D

E

queue of packets

waiting for transmission over output link

Queueing occurs when work arrives faster than it can be serviced:

25 of 38

Packet-switching: queueing

Packet queuing and loss: if arrival rate (in bps) to link exceeds transmission rate (bps) of link for some period of time:

  • packets will queue, waiting to be transmitted on output link
  • packets can be dropped (lost) if memory (buffer) in router fills up

​

Introduction: 1-25

A

B

C

R = 100 Mb/s

R = 1.5 Mb/s

D

E

queue of packets

waiting for transmission over output link

26 of 38

Alternative to packet switching: circuit switching

end-end resources allocated to, reserved for “call” between source and destination

  • in diagram, each link has four circuits.
    • call gets 2nd circuit in top link and 1st circuit in right link.
  • dedicated resources: no sharing
    • circuit-like (guaranteed) performance
  • circuit segment idle if not used by call (no sharing)

​

​

Introduction: 1-26

* Check out the online interactive exercises for more examples: http://gaia.cs.umass.edu/kurose_ross/interactive

  • commonly used in traditional telephone networks

​

​

27 of 38

Circuit switching: FDM and TDM

Frequency Division Multiplexing (FDM)

  • optical, electromagnetic frequencies divided into (narrow) frequency bands

​

Introduction: 1-27

frequency

time

frequency

time

4 users

Time Division Multiplexing (TDM)

  • time divided into slots
  • each call allocated its own band, can transmit at max rate of that narrow band

​

  • each call allocated periodic slot(s), can transmit at maximum rate of (wider) frequency band (only) during its time slot(s)

28 of 38

Packet switching versus circuit switching

Introduction: 1-28

example:

  • 1 Gb/s link
  • each user:
    • 100 Mb/s when “active”
    • active 10% of time

​

​

Q: how many users can use this network under circuit-switching and packet switching?

* Check out the online interactive exercises for more examples: http://gaia.cs.umass.edu/kurose_ross/interactive

N

users

1 Gbps link

…..

​

  • circuit-switching: 10 users

​

Q: how did we get value 0.0004?

A: HW problem (for those with course in probability only)

​

  • packet switching: with 35 users, probability > 10 active at same time is less than .0004 *

​

29 of 38

Packet switching versus circuit switching

Introduction: 1-29

  • great for “bursty” data – sometimes has data to send, but at other times not
    • resource sharing
    • simpler, no call setup
  • excessive congestion possible: packet delay and loss due to buffer overflow
    • protocols needed for reliable data transfer, congestion control
  • Q: How to provide circuit-like behavior with packet-switching?
    • “It’s complicated.” We’ll study various techniques that try to make packet switching as “circuit-like” as possible.

Is packet switching a “slam dunk winner”?

Q: human analogies of reserved resources (circuit switching) versus on-demand allocation (packet switching)?

30 of 38

Internet structure: a “network of networks”

  • hosts connect to Internet via access Internet Service Providers (ISPs)
  • access ISPs in turn must be interconnected
      • so that any two hosts (anywhere!) can send packets to each other
  • resulting network of networks is very complex
      • evolution driven by economics, national policies

​

Let’s take a stepwise approach to describe current Internet structure

​

mobile network

home network

enterprise

network

national or global ISP

local or regional ISP

datacenter

network

content

provider

network

31 of 38

Internet structure: a “network of networks”

Introduction: 1-31

Question: given millions of access ISPs, how to connect them together?

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

…

…

…

…

…

…

32 of 38

Internet structure: a “network of networks”

Introduction: 1-32

…

…

…

…

…

Question: given millions of access ISPs, how to connect them together?

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

…

…

…

…

…

…

connecting each access ISP to each other directly doesn’t scale: O(N2) connections.

33 of 38

Internet structure: a “network of networks”

Introduction: 1-33

Option: connect each access ISP to one global transit ISP?

Customer and provider ISPs have economic agreement.

global�ISP

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

…

…

…

…

…

…

34 of 38

Internet structure: a “network of networks”

Introduction: 1-34

ISP A

ISP C

ISP B

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

…

…

…

…

…

…

But if one global ISP is viable business, there will be competitors ….

35 of 38

Internet structure: a “network of networks”

Introduction: 1-35

ISP A

ISP C

ISP B

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

…

…

…

…

…

…

But if one global ISP is viable business, there will be competitors …. who will want to be connected

IXP

peering link

Internet exchange point

IXP

36 of 38

Internet structure: a “network of networks”

Introduction: 1-36

ISP A

ISP C

ISP B

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

…

…

…

…

…

…

… and regional networks may arise to connect access nets to ISPs

IXP

IXP

access

net

access

net

regional ISP

access

net

access

net

access

net

37 of 38

Internet structure: a “network of networks”

Introduction: 1-37

ISP A

ISP C

ISP B

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

access

net

…

…

…

…

…

…

… and content provider networks (e.g., Google, Microsoft, Akamai) may run their own network, to bring services, content close to end users

IXP

IXP

access

net

access

net

access

net

access

net

access

net

Content provider network

regional ISP

38 of 38

Internet structure: a “network of networks”

Introduction: 1-38

access

ISP

access

ISP

access

ISP

access

ISP

access

ISP

access

ISP

access

ISP

access

ISP

At “center”: small # of well-connected large networks

    • “tier-1” commercial ISPs (e.g., Level 3, Sprint, AT&T, NTT), national & international coverage
    • content provider networks (e.g., Google, Facebook): private network that connects its data centers to Internet, often bypassing tier-1, regional ISPs

​

Regional ISP

Regional ISP

Tier 1 ISP

Tier 1 ISP

IXP

Google

IXP

IXP