Download Ch. 2 Review Of Underlying Network Technologies

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Distributed firewall wikipedia , lookup

Multiprotocol Label Switching wikipedia , lookup

Peering wikipedia , lookup

Asynchronous Transfer Mode wikipedia , lookup

Deep packet inspection wikipedia , lookup

Piggybacking (Internet access) wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

Airborne Networking wikipedia , lookup

List of wireless community networks by region wikipedia , lookup

Power over Ethernet wikipedia , lookup

AppleTalk wikipedia , lookup

Network tap wikipedia , lookup

IEEE 802.1aq wikipedia , lookup

Computer network wikipedia , lookup

Point-to-Point Protocol over Ethernet wikipedia , lookup

Virtual LAN wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

Zero-configuration networking wikipedia , lookup

Wake-on-LAN wikipedia , lookup

Transcript
CSC521 – Communication Protocols
網路通訊協定
Part I: INTRODUCTION
Ch.2 Review Of Underlying Network
Technologies
吳俊興
國立高雄大學 資訊工程學系
Chapter 2 Review of Underlying
Network Technologies
1.
2.
3.
4.
5.
6.
7.
Introduction
Two Approaches to Network Communication
Wide Area and Local Area Networks
Ethernet Technology
Switched Ethernet
Asynchronous Transfer Mode
Summary
2
2.1 Introduction
The TCP/IP Concept
• Use existing network hardware
– Network hardware plays only a minor role in the overall
design
• Interconnect networks
– Wide varieties of physical networks
– Accommodate all possible network hardware
• Question: what kinds of hardware exist?
• Add abstractions to hide heterogeneity
We will
– Review basic network concepts
– Examine example physical network technologies
– Introduce physical (hardware) addressing
3
2.2 Two Approaches to
Network Communication
1. Circuit-switched (connection-oriented)
• Operate by forming a dedicated connection or circuit
between two points
• Traditional telephone systems
2. Packet-switched (connectionless)
• Data to be transferred across a network is divided into
small pieces called packets that are multiplexed onto high
capacity inter-machine connections
4
2.3 Wide Area and Local Area Networks
Two categories of packet-switched data networks
• Wide Area Networks (WANs)
– Engineered for long distances
– Indirect interconnection via special-purpose hardware
– Usually higher cost and lower capacity
– i.e. TANet, HiNet, ARPANET, NSFNET
• Local Area Networks (LANs)
– Engineered for low cost and high capacity
– Direct connection among computers
– Limited distance
– i.e. Ethernet, Wi-Fi
Categories are informal and qualitative
5
2.4 Ethernet Technology
• Invented at Xerox PARC in early 1970s
– Xerox, Intel and DEC standardized Ethernet in 1978
• Compatible version of IEEE 802.3 standards
– CSMA/CD (Ethernet) based LANs
– Extremely popular, can run over copper (twisted pair -T) and
optical fiber (-X)
– Three generations
• 10Base-T operates at 10 Mbps
• 100Base-T (fast Ethernet) operates at 100 Mbps
• 1000Base-T (gigabit Ethernet) operates at 1 Gbps
• Power Over Ethernet (PoE)
– Send a small amount of electrical power over the same
copper cable used for Ethernet
– insufficient for a computer, but important for small devices (i.e.
IP phone)
6
Ethernet Frame Format
Preamble
8 octets
Destination
Address
6 octets
Source
Address
6 octets
Frame
Type
2 octets
Frame Data
46 – 1500 octets
CRC
4 octets
• Header format fixed (Destination, Source, Type fields)
• Frame data size can vary from packet to packet
– Maximum 1500 octets
– Minimum 46 octets
• Preamble and CRC removed by framer hardware
(Network Interface Card, NIC) before frame stored in
computer’s memory
7
Example Ethernet Frame In Memory
02
07
01
00
27
ba
08
00
2b
0d
44
a7
08
00
45
00
00
54
82
68
00
00
ff
01
35
21
80
0a
02
03
80
0a
02
08
08
00
73
0b
d4
6d
00
00
04
3b
8c
28
28
20
0d
00
08
09
0a
0b
0c
0d
0e
0f
10
11
12
13
14
15
16
17
18
19
1a
1b
1c
1d
1e
1f
20
21
22
23
24
25
26
27
28
29
2a
2b
2c
2d
2e
2f
30
31
32
33
34
35
36
37
• Octets shown in hexadecimal
• Destination is 02.07.01.00.27.ba
• Source is 08.00.2b.0d.44.a7
• Frame type is 08.00 (IP)
8
Hardware Address
• Unique number assigned to each machine on a network
– Used to identify destination for a packet
– Also known as
• media access address (MAC address), hardware address, physical address,
layer 2 address
• Use Of hardware address
– Sender supplies
• Destination’s address
• Source address (in most technologies)
– Network hardware
• Uses destination address to forward packet
• Delivers packet to proper machine
• Each technology defines its own addressing scheme
9
Example: Ethernet Hardware Address
• Static MAC addressing: 48-bit Ethernet address
– Unicast address assigned when device manufactured
– All 1s address reserved for broadcast
– One-half address space reserved for multicast (restricted
form of broadcast)
10
Bridge
• Hardware device that connects multiple LANs and
makes them appear to be a single LAN
– Repeats all packets from one LAN to the other and vice versa
– Introduces delay of 1 packet-time
– Does not forward collisions or noise
– Called Layer 2 Interconnect or Layer 2 forwarder
• Makes multiple LANs appear to be a single, large LAN
– Often embedded in other equipment (e.g., DSL modem)
– Watches packets to learn which computers are on which side
of the bridge
– Uses hardware addresses to filter
– Discussion: Hub, cyclic bridging
11
2.5 Switched Ethernet
• Ethernet switch: a device extends the concept of
bridging
– frame forwarding like a bridge
– viewed as a multi-port bridge: provides multiple connections,
called ports
12