Computer Networks and Communication
Computer Networks and Communication
Outcome
COMPUTER NETWORKS • Understand what is Computer Network
AND COMMUNICATION • Identify end devices and intermediary devices
• Understand the basic characteristics of computer network
(CSC421) • Understand data communication
• Understand the difference between serial and parallel
communication.
• Understand the importance of protocols in computer network
• Know the elements of protocol
5 6
Basic characteristics of computer network
QoS is ability to:
There are four qualities every computer network should posses 1. Set priorities
• Fault tolerance 2. Manage data traffic to reduce data loss, delay etc
• Scalability
• Quality of Service Example is setting priority between e-mail data and VoIP. Delay
• Security is not a problem in e-mail communication.
7 8
Data Communication
Data communications are exchange of data between two nodes via
some form of link (transmission medium).
Since communication involves exchange of data between two nodes,
there will be the need for data flow.
9 10
13 14
Message Size
Just as humans break long messages into smaller parts or
sentences, long messages too must be broken into smaller
pieces to travel across a network.
If the capacity of a link is small and data to be transmitted is big
(big data), the system breaks the data into smaller units called
packets that the transmission can handle.
15 16
17 18
Illustration of the elements of a protocol Classification of Computer Networks
Outcome
- Understand LAN, MAN and WAN
- Know various devices involved in LAN, MAN and WAN
- Know the new trends in Computer Networks
- Understand other types of network
19 20
21 22
- Virtual Private Network (VPN):- Let its users send and receive
data as if their devices were connected to a private network.
25 26
27 28
29 30
Ring topology
Advantages of Bus topology
Is a bus topology in a closed loop. A form of peer—to-peer LAN
- Only one wire. So, it is less expensive topology.
- Suited for temporary network - Two connections: one to each of its nearest neigbours.
- Node failure does not affect others. - Unidirectional
- Sending and receiving data takes place with the help of a
Disadvantages of Bus topology TOKEN
- Not fault tolerant network
- Limited cable length – message must pass through a common
and single cable to other nodes
- No security
31 32
33 34
Disadvantages
- Single point of failure affect the whole network
- Bottleneck due to overloaded switch/hub
- Increased cost due to switch/hub
35 36
Mesh topology
Advantages of Mesh topology
• Each node is directly connected to every other nodes in the
- Fault tolerant
network.
- Reliable
• Fault tolerant and reliable.
Disadvantages
- Issues with broadcasting messages
- Expensive and impractical for large networks
37 38
No. of No. of No. of ports connecting Total No. of ports in the network
nodes (N) cables (CN) each device (NOP) (TNOP) = N x NOP
2 2 2 4
3 3 2 6
4 4 2 8
N N 2 2xN
39 40
Question
- Traffic problem can be minimized using what topology?
Basics of IP addressing
- How many ports and cable links are needed for the star
topology below? Outcome:
- Understand the basics of IP addressing
- Know how to see the IP address in real device
- Identify valid and invalid IP addresses
41 42
IP Address
IP stands for Internet Protocol
There are two variations of IP address – IPV4 and IPV6
IPV4 address
- Every node in the computer network is identified with the help Nigeria
of IP address. Ghana
- They are logical address – can change based on the location
of the network device.
- Can be assigned manually or dynamically
- Represented in decimal and it has 4 octets (x.x.x.x)
- Ranges from 0.0.0.0 to 255.255.255.255 (32bits)
43 44
45 46
MAC address
MAC stands for Media Access Control IP addresses are router friendly
address while MAC addresses
- Every node in LAN is identified with the help of MAC address are switch friendly address.
- Physical address or hardware address
- Unique
- Cannot be changed
- Assigned by the manufacturer
- Represented in hexadecimal (e.g. 70-20-84-00-ed-fc - 48bits)
- Separator are hyphen(-), period(.) or colon(:)
By way of illustration
- IP address = location of a person
- MAC address = name of the person
47 48
Basics of Port addressing
IPV4 address MAC address
Needed for communication Needed for communication Outcome:
32bits 48bits - Understand the basics of Port addressing (port number)
Represented in decimal Represented in hexadecimal - Know three key points to ponder
- See port number in real devices
Router needs IP address to forward Switch needs MAC address to
data forward data
Example: 10.12.23.45 Example: 34-20-84-00-ED-FV
49 50
Port addressing
51