Download Welcome to the Cloud - Joseph H. Schuessler, PhD

Document related concepts

Asynchronous Transfer Mode wikipedia , lookup

Distributed firewall wikipedia , lookup

Peering wikipedia , lookup

Net neutrality law wikipedia , lookup

Airborne Networking wikipedia , lookup

Network tap wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Computer network wikipedia , lookup

IEEE 1355 wikipedia , lookup

Wake-on-LAN wikipedia , lookup

Internet protocol suite wikipedia , lookup

Net bias wikipedia , lookup

List of wireless community networks by region wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

Deep packet inspection wikipedia , lookup

Piggybacking (Internet access) wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

Transcript
o and Panko
ness Data Networks and Security, 9th Edition
earson
Chapter 1



Today, we are surrounded by networks.
This book will help you learn the skills you
will need to participate in this networking
revolution.
This chapter introduces basic network
concepts and issues you will use
throughout the book.
© 2013 Pearson
2
Difficult Material
Central Concept (CEPT)
Take it slowly, step by
step.
This will require some
extra work.
This is a central concept
(CEPT) you need to
understand really well.
© 2013 Pearson
3
Into the Cloud
Basic Network Concepts
Packet Switching
Internetworking
Layers
Internet Standards
A Small Home Network
© 2013 Pearson
4


Works at the First Bank of Paradise (FBP) in
Hawai`i
Develops new media marketing campaigns
using Facebook, YouTube, e-mail lists, and
the bank’s website
© 2013 Pearson
5

Current project is the AlohaSmart credit
card smartcard
◦ Smartcards have chips as well as mag stripes
© 2013 Pearson
6




In the morning, opens his tablet to check
e-mail containing remarks about his
PowerPoint marketing plan
Turns on his desktop computer and reworks
the PowerPoint presentation
Automatically uploaded “to the cloud” with
BlueSynch
Later available to his work notebook and to
meeting participants
© 2013 Pearson
7
The cloud imagery indicates that the user does not have to
understand how systems “inside the cloud” operate.
© 2013 Pearson
8


PowerPoint is installed on his desktop
computer at home.
For his work notebook computer and on his
tablet, PowerPoint is stored in the cloud.
◦ He downloads it when he needs it.
◦ Pays for it by the month, as a service.
◦ It is called software as a service (SaaS).
© 2013 Pearson
9
© 2013 Pearson
10




On the FBP networking staff
Manages the headquarters building wireless
LANs
Walks around doing readings with her
sniffer program
Learns information about access points,
their signal power, and their security
© 2013 Pearson
11
© 2013 Pearson
12
SSID
FBP
A1-B2-C3D4-E5-F6
FBP
FBP
BB-D5-33-D4- 19-FF-AE-D46B-DD
EC-63
Signal
-85 dBm
-60 dBm
-60 dBm
Mode
802.11g
802.11n
802.11n
Channel
11
48
44
Encryption
AES-CCMP
AES-CCMP
AES-CCMP
Authentication
WPA2/PEAP
WPA2/PEAP
WPA2/PEAP
Vendor
Cisco
Cisco
Cisco
BSSID
© 2013 Pearson
13

Currently, must walk around at least daily.
◦ Even then, cannot find intermittent problems.

FBP is installing a centralized wireless
management system.
◦ Will be able to manage all access points centrally.
◦ She can constantly monitor the network for
problems.
◦ The network will alert her to problems.
◦ The system can even make adjustments
automatically.
© 2013 Pearson
14

In charge of wireless security at FBP

BYOD (Bring Your Own Device) Problem
◦ Number of smartphones and tablets is exploding
◦ Owned by the employees but used partially for
business purposes
◦ Great diversity in smartphone and tablet
operating systems
◦ Device security is improving but limited
© 2013 Pearsonl
15




Claire Lorek found a rogue access point in
one of her walkarounds.
She and John Lee visited Albert Gomes who
installed the unauthorized access point.
Albert thought that the access point was
secure in stealth mode.
However, Claire’s and hackers’ software
could find it.
© 2013 Pearson
16




Rather than punish Albert Gomes, they
worked to help him.
His department did need more capacity.
Claire would install another access point,
one with strong security.
John and Claire had developed an ally.
© 2013 Pearson
17
Into the Cloud
Basic Network Concepts
Packet Switching
Internetworking
Layers
Internet Standards
A Small Home Network
© 2013 Pearson
18
Working Definition
© 2013 Pearson
19
© 2013 Pearson
20
© 2013 Pearson
21
© 2013 Pearson
22
The client and the server share processing work.
© 2013 Pearson
23
P2P Processing can be done without a
network (as shown) or with a network.
No servers are needed.
© 2013 Pearson
24
Transmission Speed Measurements
Bits per second (bps)
Usually not bytes per second (Bps)
Metric Suffixes
Kilobits per
second
kbps (lowercase k)
1,000 bits per second
(not 1,024)
Megabits per
second
Mbps
1,000 kbps
Gigabits per
second
Gbps
1,000 Mbps
Terabits per
second
Tbps
1,000 Gbps
© 2013 Pearson
25
File Downloads
100
1
kbps Mbps
E-mail message
(250 words)
.15 s
Photograph (5
MB)
1 Hr HTDV Video
(10 Mbps)
Backup Synch
(10 GB)
© 2013 Pearson
5
Mbps
10
Mbps
100 1 Gbps
Mbps
0s
0s
0s
0s
0s
8m
1m
10 s
5s
1s
0.1 s
4d
10 h
2h
1h
6m
36 s
12 d
28 h
6h
3h
17 m
2m
26
Live or
Streaming
Media
MP3 Song (10
kbps)
Standard Quality
TV (2 Mbps)
HDTV (10 Mbps)
Three HDTV
Channels
© 2013 Pearson
100
1
kbps Mbps
OK
OK
5
Mbps
10
Mbps
100 1 Gbps
Mbps
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
27
Into the Cloud
Basic Network Concepts
Packet Switching
Internetworking
Layers
Internet Standards
A Small Home Network
© 2013 Pearson
28
© 2013 Pearson
29
© 2013 Pearson
30
© 2013 Pearson
31
© 2013 Pearson
32
© 2013 Pearson
33
© 2013 Pearson
34
© 2013 Pearson
35
© 2013 Pearson
36



Each switch along the way forwards the
packet out a port to another switch (or to
the destination host).
Individual packet switches have no
knowledge of the entire path taken by the
packet.
We will see how this works in detail in later
chapters.
© 2013 Pearson
37
© 2013 Pearson
38
© 2013 Pearson
39

Forerunner of the Internet

Funded by Larry Roberts at the Advanced
Research Projects Agency (ARPA)
◦ Now the Defense Advanced Research Projects Agency
(DARPA)

To explore packet switching

To give researchers access to ARPA-funded
software on host computers in distant cities

First four nodes began operation in 1969
© 2013 Pearson
40
© 2013 Pearson
41
© 2013 Pearson
42
Into the Cloud
Basic Network Concepts
Packet Switching
Internetworking
Layers
Internet Standards
A Small Home Network
© 2013 Pearson
43



Bob Kahn at DARPA needed a way for researchers
on one network to use resources on another
network.
Packets would have to travel across multiple
networks.
Kahn and Vint Cerf came up with the idea of
connecting multiple networks by devices called
routers.
◦ The original name was gateways.

Generically, networks of networks are internets.

Kahn created the global Internet (Capital I).
© 2013 Pearson
44
© 2013 Pearson
45

Capitalization of “internet”
◦ With an uppercase “I,” Internet means the global
Internet we use every day.
◦ With a lowercase “i”, internet means any internet
or the internet layer.
© 2013 Pearson
46




Basically, Kahn and Cerf created a second layer
of networking on top of single networks.
This required the creation of a parallel set of
concepts for single networks and internets.
Single networks and internets use similar
concepts but give these concepts different
names.
It is important for you to get this clear in your
head.
© 2013 Pearson
47
Component
Generic
Terminology
Addresses
Single
Networks
Internets
Vary by
network
technology
32-bit IPv4
Addresses
and 128-bit
IPv6
Addresses
Packets are called
Packets
Frames
Packets
Packet switches are
called
Switches
Switches
Routers
Data links
Routes
End-to-end routes
are called
© 2013 Pearson
48
Component
Generic
Terminology
Addresses
Single
Networks
Internets
Vary by
network
technology
32-bit IPv4
Addresses
and 128-bit
IPv6
Addresses
Packets are called
Packets
Frames
Packets
Packet switches are
called
Switches
Switches
Routers
Data links
Routes
End-to-end routes
are called
© 2013 Pearson
49
© 2013 Pearson
50
© 2013 Pearson
51
© 2013 Pearson
52
Into the Cloud
Basic Network Concepts
Packet Switching
Internetworking
Layers
Internet Standards
A Small Home Network
© 2013 Pearson
53


Networks can be described at several layers
of detail.
Each layer provides services to the layer
above it.
◦ The road provides service to the car tires.
◦ The car tires provide service to the car.
◦ The car provides service to the driver.
◦ A commercial driver provides service to the goods
being delivered.
© 2013 Pearson
54
2.
The data link is the packet’s
path through the network
In this case: X-A-B-D-F-Y
1.
Physical links are
connections between
adjacent pairs of devices
© 2013 Pearson
55
How many data links does the
packet pass through?
How many physical links does
the packet pass through?
Name them.
© 2013 Pearson
56

Formed by graduate students to create
standards for the ARPANET.

Called their standards Requests for Comment
(RFCs).
◦ Did not feel that they had the authority to create
standards, so they used the weaker term RFC.


The NWG evolved into today’s standards body
for the Internet, the Internet Engineering Task
Force (IETF).
Internet standards today are still called RFCs.
© 2013 Pearson
57




Basically, Kahn and Cerf created a second layer
of networking on top of single networks.
This required the creation of a parallel set of
concepts for single networks and internets.
Single networks and internets use similar
concepts but give these concepts different
names.
It is important for you to get this clear in your
head.
© 2013 Pearson
58
Dashed line shows
the path of a packet
© 2013 Pearson
59
Physical links connect
adjacent devices,
as noted earlier.
How many
physical links are there
between the two hosts?
© 2013 Pearson
60
A data link is the path of a
frame through a single
network, as noted earlier.
There is one data link per network.
How many data links are in the figure?
© 2013 Pearson
61
A route is a packet’s path
through an internet.
Added for internets.
How many routes are there in the figure?
© 2013 Pearson
62

Host P transmits a packet to Host Q.

There are seven networks between the hosts.

1. How many packets will there be along the way?

2. How many frames will there be along the way?

3. How many routes will there be along the way?

4. How many data links will there be along the way?
© 2013 Pearson
63
© 2013 Pearson
64
© 2013 Pearson
65
Layer Name
Broad Purpose Specific Purpose
5
Application
4
3
2
1
© 2013 Pearson
Transport
Internet
Data Link
Physical
Singlenetwork
transmission
(switched or
wireless)
Connection across a
single network, Frame
formats and switch
operation
Physical connections
between adjacent
devices
66
Layer Name
Broad Purpose Specific Purpose
5
Application
4
Transport
3
Internet
2
1
Data Link
Physical
© 2013 Pearson
Internet
Transmission
Application message
fragmentation, error
correction, congestion
reduction, etc.
Transmission of
packet across an
internet, Packet
formats, router
operation
67
Number Name
Broad Purpose
Specific Purpose
5
Application Communication Same
between
applications
4
Transport
3
Internet
2
Data Link
1
Physical
© 2013 Pearson
68
Into the Cloud
Basic Network Concepts
Packet Switching
Internetworking
Layers
Internet Standards
A Small Home Network
© 2013 Pearson
69

IP
◦ Internet layer protocol
◦ Unreliable best-effort internet layer operation
© 2013 Pearson
70

TCP
◦ Transport layer protocol
◦ TCP messages are called segments
◦ Provides transport layer functionality to fix
problems
◦ Error correction, and so on

UDP
◦ The other transport layer protocol
◦ Messages are called datagrams
◦ Unreliable, so used when reliability is not desired
© 2013 Pearson
71
Layer
Transport Layer
Internet Layer
Standard(s)
Transmission
User Datagram
Control Protocol
Protocol (UDP)
(TCP)
No Fragmentation
Fragmentation
No Error Correction
Error Correction
No Congestion
Congestion control
Control
Internet Protocol (IP)
IPv4 and IPv6
© 2013 Pearson
72

1977
◦ First experimental connection of three networks
◦ (Two wireless and the ARPANET)

1980s
◦ Internet opened to outside network for e-mail
exchanges
© 2013 Pearson
73

TCP/IP standards evolved in the 1980s
◦ Hosts could run either TCP/IP or NCP standards.

1983
◦ All hosts were required to run TCP/IP.

NSFNET
◦ In the 1980s, the NSFNET funded by NSF was the
core of the Internet.
◦ NSF had an Acceptable Use Policy barring
commercial activity such as e-commerce.
© 2013 Pearson
74

1995
◦ NSFNET replaced by commercial ISPs.
◦ E-commerce was no longer forbidden.
◦ The e-commerce revolution began.
◦ The World Wide Web became popular just before
that.
© 2013 Pearson
75
To use the Internet,
you need an Internet
service provider and
an access line to
your ISP.
Your ISP gives you
access and carries
your packets.
Organizations also
need ISPs.
© 2013 Pearson
76
ISPs collectively comprise the Internet backbone.
They interconnect at Network Access Points (NAPs)
to exchange packets.
© 2013 Pearson
77
Trace the path packets take from the User PC to the Webserver.
© 2013 Pearson
78


IP, TCP, and UDP are standards for delivery
packets.
TCP/IP also has supervisory protocols:
◦ To handle things beyond packet delivery.
◦ Managing IP addresses.
◦ Error handling, and so on.
◦ We will look at two supervisory protocols in this
chapter.
◦ We will look at many more in Chapter 10.
© 2013 Pearson
79
© 2013 Pearson
80
© 2013 Pearson
81
© 2013 Pearson
82
© 2013 Pearson
83
© 2013 Pearson
84
© 2013 Pearson
85
© 2013 Pearson
86
Into the Cloud
Basic Network Concepts
Packet Switching
Internetworking
Layers
Internet Standard
A Small Home Network
© 2013 Pearson
87
© 2013 Pearson
88
© 2013 Pearson
89
© 2013 Pearson
90
The IP gives the home one IP address.
The home network has multiple devices that need IP addresses.
© 2013 Pearson
91
The access router DHCP circuit gives
private IP addresses to other devices.
© 2013 Pearson
92
NAT allows multiple internal hosts to share a single
external IP address.
External sniffers cannot learn internal addresses.
© 2013 Pearson
93
Into the Cloud
Basic Network Concepts
Packet Switching
Internetworking
Layers
Internet Standard
A Small Home Network
© 2013 Pearson
94

This is the first of four introductory
chapters.
◦ The others deal with standards, security, and
network and security management.

Chapter 1 introduces basic network
concepts and issues.
◦ Presented historically because some aspects of
networking only make sense if you understand
the development of internetworking.
◦ Specifically, single-network versus internet
concepts and terminology (two of everything).
© 2013 Pearson
95

Chapter 2 looks at standards in more depth.
◦ It will look at major characteristics of standards,
such as the syntax of messages.
◦ It will focus on the data link, internet, transport,
and application layers, which work by sending
structured messages.
© 2013 Pearson
96
© 2013 Pearson