Chapter 6
Chapter 6
9-2
Communications
COMMUNICATIONS AND
NETWORKS
1 2
9-3 9-4
Communication Systems
• 4 basic elements
• Sending and receiving devices
• Communication channel
• Connection devices
• Data transmission specifications
Page 249
3 4
1
3/2/20
9-5 9-6
Communication Channels
• Channels carry data from one computer to another
• 2 categories of communication channels
• Physical connection
• Wireless connection
Page 250
5 6
9-8 9-10
Satellite
GPS
Page 252 Page 253
8 10
2
3/2/20
9-11 9-12
Transfer Speeds
Page 253
11 12
9-14 9-17
Protocols Networks
• Set of communication rules for exchanging data between • A computer network is a communication system
computers
• Connects two or more computers
• Standard for Internet: TCP/IP (Transmission control
protocol/Internet protocol) • Allows information exchange and share resources
14 17
3
3/2/20
9-18 9-19
18 19
9-20 9-21
20 21
4
3/2/20
9-22
What is an IP address
Ø AnIP (Internet Protocol) address is an identifier for a
particular machine on a particular network; it is part of a
scheme to identify computers on the Internet.
IP ADDRESS
Ø A way to identify machines on a network
Ø A unique identifier
Ø Used to connect to another computer
Ø Allows transfers of files and e-mail
22 23
9-25
IPv4 structure
Ø IP addresses consist of four bytes sections (32 bits)
24 25
5
3/2/20
IP structure IP structure
Ø These4 sections represent the machine itself and the 3 Classes of IP address A B C
network it is on
Ø Class A reserved for governments
Ø The network portion is assigned.
Ø Class B reserved for medium companies
Ø The host section is determined by the network administrator
Ø Class C reserved for small companies
Network Host Local address
3 classes A B C
26 27
29
IP structure
Network portion
28 29
6
3/2/20
9-33 9-34
Class A Class B
Support the need of moderate to large-sized networks
Support extremely large networks (more than 16 million host
addresses available) The first TWO bits of the 1st octet is 10
The lowest number that can be represented is 10000000 = (128) 10
1st
The first bit of the octet is 0 The highest number is 101111111 = (191)10
The lowest number that can be represented is 00000000 = (0) 10
Any address that starts with a value in the range of 128 to 191 in the 1st
The highest number is 011111111 = (127)10
octet is a class B address
Any address that starts with a value in the range of 0 to 127 in the
1st octet is a class A address
33 34
9-35 36
Class C Exercise
Change the following IP addresses from binary notation to
It is used to support small networks with a max of 254 hosts.
dotted-decimal notation.
The first THREE bits of the 1st octet is 110
The lowest number that can be represented is 11000000 = (192) 10
The highest number is 110111111 = (223)10 1. 01111111 11110000 01100111 01111101
Any address that starts with a value in the range of 192 to 223 in the 1st 01111111 11110000 01100111 01111101 Class A
octet is a class C address 127 240 103 125
35 36
7
3/2/20
39 40
Find the class of the following ip addresses Find the class of the following IP addresses.
208.34.54.12
A. 11000010.00010101.11111111.10101010 127. 240. 103. 125
First 3 bits are 110 à Class C 200.14.99.15
B. 10011101.11100010.00000101.11111010 177.201.45.6
First 2 bits are 10 à Class B
C. 01011101.11100010.00000101.11111010
First bit is 0 à Class A
39 40
42 9-44
Exercises
• Explain why most address in class A are wasted.
42 44
8
3/2/20
9-45 9-46
45 46
9-47
47