Computer Networks: Topic 1: Introduction
Computer Networks: Topic 1: Introduction
Topic 1: Introduction
DATA COMMUNICATION AND
NETWORKING OVERVIEW
COMMUNICATIONS MODEL
COMMUNICATIONS MODEL
• Source
• generates data to be transmitted
• Transmitter
• Converts data into transmittable signals
• Transmission System
• Carries data
• Receiver
• Converts received signal into data
• Destination
• Takes incoming data
COMMUNICATIONS MODEL
TERMINOLOGY
Transmission system utilization
- Efficient use of shared transmission facilities
Interface
- Connection to the transmission system in order to communicate
Signal Generation
- Manipulation of signal properties such that they are transmittable,
and interpretable by the receiver
Synchronization
- Establishment of common timing between sender and receiver
TERMINOLOGY
Exchange Management
- Conventions used to address communication requirements
Error Detection + Correction
- Correction and detection of distorted signals
Flow Control
- Technique to assure that the source does not overwhelm the receiver
with data
Addressing
- Method of identifying a communication device
TERMINOLOGY
Routing
- Determination of a path from source to destination
Recovery
- To resume activity or restore initial device states after the occurrence of
an error
Message Formatting
- Form of data to be transmitted
Security
- Assurance that data is uncorrupted has undergone controlled access
TERMINOLOGY
Network Management
- systems or actions that help maintain, characterize, or
troubleshoot a network
NETWORKING
• Point to point communication not usually practical
• Devices are too far apart
• Large set of devices would need impractical number of connections
• Solution is a communications network
• Wide Area Network (WAN)
• Local Area Network (LAN)
LOCAL AREA NETWORKS
• Operate within limited geographical area
• Allow multi-access to high-bandwidth media
• Local administration control of the network
• Full-time connectivity to local services
• Connect physically adjacent devices
• Usually broadcast systems
• Technologies:
• Ethernet
• Token Ring
• FDDI
WIDE AREA NETWORKS
• Operate over a wide geographical area
• Allow access over serial interfaces operating at lower speeds
• Full-time or part-time connectivity
• Rely in part on common carrier circuits
• Connect devices separated over wide, global areas
• Technologies:
• Frame Relay
• DSL
• ATM
CIRCUIT SWITCHING
• Dedicated communications path established for the duration of the conversation
• e.g. telephone network
PACKET SWITCHING
• Data sent out of sequence
• Small chunks (packets) of data at a time
• Packets passed from node to node between source and destination
• Used for terminal to computer and computer to computer communications
METROPOLITAN AREA NETWORKS
• Middle ground between LAN and WAN
• Private or public network
• High speed
• Large area
• Usually consists of two or more LANs in a common geographic area
BANDWIDTH
• Amount of information that can flow through a network connection in a given period of time
• Finite
• Important factor used to analyze network performance
• Affecting factors:
• Technology used
• Media type
PIPE ANALOGY
THROUGHPUT
• Actual measured bandwidth, at a specific time of day, using specific
Internet routes, and while a specific set of data is transmitted on the
network
• Realistically, throughput < bandwidth
• Affecting factors:
• Internetworking devices
• Type of data being transferred
• Network topology
• Number of users on the network
• User computer
• Server computer
• Power conditions
UNIT OF MEASUREMENT
• bps – bits per second
• Important!
Would it take less time to send the contents of a floppy disk full of
data (1.44 MB) over an ISDN line (128 kbps), or to send the
contents of a 10 GB hard drive full of data over an OC-48 line
(2.288 Gbps)?
10 GB Hard Drive: T= 10 GB
2.288 Gbps
= 80 Gb (10 x 8)
2.288 Gbps
T = 34.97 seconds
Network Host
Network Host
1 1
2
3
2 1
3 1
INTERNET ADDRESSES
IP ADDRESS CLASSES
• Class A
• Large networks > 65545 hosts
• 1st octet 1-126 Subnet mask 255.0.0.0
Class B
• Medium networks > 254 hosts
• 1st octet 128-191 Subnet mask 255.255.0.0
IP ADDRESS CLASSES
• Class C
• Small networks < 255 hosts
• 1st octet 192-223 Subnet mask 255.255.255.0
Class D
Multicast addresses
directed to predefined groups of addresses
1st octet 224-239
IP ADDRESS CLASSES
• Class E
• Reserved for IETF research
• Not for use in the Internet
• 1st octet 240-255
IP ADDRESS CLASSES
Class Range of octet 1
A 1 -126 00000001 – 01111110
B 128-191 10000000 – 10111111
C 192-223 11000000 – 11011111
D 224-239 11100000 – 11101111
E 240-255 11110000 – 11111111
Note:
127.x.x.x is reserved for loopback testing (packet sent
back to source)
RESERVED ADDRESSES
• Network Address
• Identifies a network
• Host bits are all 0s
• Ex. IP Address 172.16.0.0 255.255.0.0
• Broadcast Address
• Used to send a packet to all hosts in a network
• Host bits are all 1s
• Ex. IP Address 172.16.255.255 255.255.0.0
SUBNETTING
• Method of dividing full network address classes into smaller pieces
• Prevents IP address exhaustion
• Borrow bits from the host portion of an IP address and designate as subnet address
SUBNETTING
• 2 Types
• Classful
• Subnets have the same size and subnet masks
• Considers network class
Subnet 0 - 10101100.00010000.00011111.11111111
172.16.31.255
Subnet 1 - 10101100.00010000.00111111.11111111
172.16.63.255
Subnet 2 - 10101100.00010000.01011111.11111111
172.16.95.255
Subnet 3 - 10101100.00010000.01111111.11111111
172.16.127.255 …etc….
SOLUTION
• Step 6 – Host range of each subnet is subnet address + 1 to
broadcast address -1
Etc…
SOLUTION
• Step 7 – Maximum number of hosts per usable subnet is the
decimal equivalent (not dotted decimal) of the remaining host bits
all set to 1 - 1