Networks
Networks
What is a network?
Interconnection of two or more computers to share resources, such as printers, software or data.
A network can be wired or wireless.
The internet is the largest network.
What do networks do or what are they used for?
Networks allow; file sharing, printer sharing, data sharing and other resources.
Advantages of using networked computers
Fewer printers are needed
Work can be accessed from any computer
Software can be shared or updated more easily
All computers can access the internet through one connection
Disadvantages of using networked computers
Greater risk of hackers
Greater risk of viruses
Costly to implement due to network equipment
Slow printing if the print queues are long
Network interface card (NIC)
It allows a device (computer) to connect to a network by turning binary (1 and 0s) into an electrical
signal.
A NIC is usually integrated into the motherboard on most computers.
Each NIC has a unique cod called media access control (MAC) address.
Media access control (MAC) address or physical address.
The MAC address is a 48 bits number which uniquely identifies a device connected on a network.
The MAC address constitute the manufacturers code and device serial number.
Very useful when trouble shooting a network as they do not change.
Example of MAC address
MM-MM-MM –DD-DD-DD
Manufacturer’s code device serial number
1|Page
Networks
A unique address assigned to a device by an internet service provider (ISP) each time the device
connects to the internet.
Internet protocols define the rules for communicating through a network by its users.
The IP address identifies the location of every users device on a network.
The IP address changes whenever a device changes its location or connects from a different
location.
Two IP versions are currently being used; IPV4 (32 bits) and IPV6 (132 bits)
IPV4 address 254.25.28.77 IPV6 -132 bits A8F8:FFF0:0FFF:3021:2085:66F8:F0FA
Data packets
Data sent from a sender to a receiver is usually split up and transmitted in the form of packets.
Each data packet is transmitted separately from sender to receiver.
A data packet has a header which contains the following:
o The senders IP address,
o The receivers IP address,
o The sequence/packet number,
o The packet size,
o Number of packets that make up the message.
This sent data hops through the router and is moved to the receivers IP address.
Hubs and Switches
A hub is a hardware device that allow other devices to connect together to form a LAN.
A hub transmits a received data packet to all devices on a network which often lead to network
traffic.
Hubs are not very secure, since data packets are sent to all devices on the network
Hubs create unnecessary traffic leading to reduce bandwidth.
A hub cannot communicate beyond the LAN
If PC1 want to message to PC3, the hub will send it to all other computers instead of just to PC3
A switch is a smart version of hub, it stores the MAC addresses of all devices connected to its ports on a
look-up table.
A switch matches the MAC address of an incoming data packet to the destination device using a loo-
up table and sends it to the desired destination MAC address.
Switches are more secure than hubs, and do not waste bandwidth as in hubs.
Switches cannot communicate beyond the LAN
A switch allows PC1 to send data packets to just PC3, by making use of the MAC address of destination
PC
2|Page
Networks
Bridges
Bridges are network devices used to connect two LANS together that use the same communication
protocols (rules).
They are also used to connect different parts of a LAN for them to function as a single LAN
Routers
3|Page
Networks
4|Page
Networks
5|Page
Networks
No cables involved, wireless data transfer No cables involved, wireless data transfer
Data transfer is affected by obstacles like walls Data transfer is affected by obstacles like walls
Faster data transfer rate, up to 31 Slow data transfer rates just up to 3
Mbytes/second Mbytes/second
Longer transfer range, up to 100 metres Range is only about 30 metres
Allows multiple devices to connect depending on Only a maximum of 8 devices can connect in
router used. most cases.
Differences
Wi-Fi has faster data transfer rate than Bluetooth
Wi-Fi has a greater range of transmissions compared to Bluetooth
Wi-Fi can be broadcasted
Bluetooth has more communication channels
Wi-Fi connects more devices
6|Page