BASIC COMPUTER NETWORKING
BASIC COMPUTER NETWORKING
iii) It enables distributed processing which allows a user at one computer to use a program on
another computer as a “back end” to process and store the information. The user’s computer
is the “front end,” performing the data entry.
iv) Centralized data administration and support. Data from all the user systems can be stored
on one machine where it can be managed in an easy and more secure way.
v) Users can store more information, because they can now store data on other computers on
the network.
vi) They allow users to use programs that would otherwise be too large for their computer to run
by itself.
DISADVANTAGES
i. The cost of hardware, software and cabling might be quite high
ii. Complexity of many LANs means that it is often necessary to employ someone to look
after the network and solve problems relating to the system.
iii. Security of data may be a problem if adequate procedures are not adopted.
iv. Any failure in the system often means that it becomes impossible for users to work.
TYPES OF NETWORKS
Categorization can be based on the following criteria:
• Based on transmission media: Wired (Guided media) and Wireless (Unguided medium)
For guided media, there is a physical path such as a cable for signal propagation, while in
unguided media; the electromagnetic wave is transmitted through air.
• Based on network size: LAN and WAN (and MAN)
• Based on management method: Peer-to-peer and Client/Server
• Based on topology (layout): Bus, Star, Ring …
Thin coax looks like the copper coaxial cabling that's often used to connect an aerial
antenna to a TV set. The 10baseT/Cat5 cables have connectors that resemble a phone
cord connector, only larger. These are called RJ-45 connectors. Coaxial cables are
connected using BNC connectors.
Fiber Optic Cables– signals are converted to light form and fired by laser or LEDs in bursts
through insulated, thin glass or plastic fiber. Light bounces back and forth along the core. The
pulses of light represent the ‘on’ state in electronic data representation. An optical fiber consists
of a core (denser material) and a cladding (less dense material).
It provides transmission speeds from 100Mbps up to 1Gbps and a maximum distance of several
miles. A small fiber-optic cable can support large amounts of voice conversation at the same
time.
Wireless Technology
i. Microwave Communications
Information is converted to a microwave signal, sent through the air to a receiver, and
recovered. They use line-of-sight devices which must be placed in relatively high
locations. Microwaves are electromagnetic waves which are "small" compared to waves
used in typical radio broadcasting, in that they have shorter wavelengths.
(b) Hub
The central connecting device is called a hub. A hub is a box that is used to gather groups
of PCs together at a central location using cables. A hub simply passes all the information
it receives so that all the devices connected to its ports receive the information. Hubs are
mostly used in a small network (usually less than 30 hosts). Hubs connect LANs of
similar technology or to extend the distance of one LAN. They can be called repeaters or
amplifiers.
Advantages of using Hubs
i. They are inexpensive
ii. Easy to install
iii. Can connect different media
iv. Very little delay
Disadvantages
i. Limited distance between devices
ii. No protocol or rate conversion
iii. No error detection
iv. Does not filter packets
(c) SWITCH
The Switch is a more advanced unit over the basic hub. Unlike a hub, a switch will
forward information/packets to the appropriate machine or port according to the address
information on a particular packet. Switches are used on large networks in order to cut
down the amount of unnecessary traffic being generated. They can use the same or
different types of cable.
Advantages
i. Can convert protocols
ii. They enhance network performance
iii. Can be configured
iv. Enhances security- only destined device receives the packet.
Disadvantages
i. More expensive than hubs
ii. Higher maintenance demands
iii. It does filter packets
iv. Does error detection
(d) Router
Routers are highly intelligent devices that connect multiple network types and
determine the best path for sending data. They can route packets across multiple
networks and use routing tables to store network addresses to determine the best
destination.
They can segment large networks and can filter out noise. However, they are a bit slow
because they are intelligent devices; as such, they analyze every packet, causing
packet-forwarding delays. Because of this intelligence, they are also more expensive.
Routers are normally used to connect one LAN to another. Typically, when a WAN is
set up, there will be at least two routers used.
Routing moves data on a hop-by-hop basis, what is often called 'hot potato' routing. If a
set of routers ends up passing the data around in a circle, without reaching the
destination, it's called a ‘routing loop'. Packets get tossed around the loop until they die
of old age: their 'Time To Live' counter in the IP datagram is decremented as it passes
through each router and eventually it reaches zero and is discarded.
(f) Servers
A sever is a computer system that provides essential services across a network, to private
users inside a large organization or to public users in the internet. They typically are
configured with additional processing, memory and storage capacity to handle the load of
servicing clients.
Servers offer networks the capability of centralizing the control of resources and can thus
reduce administrative difficulties. Servers perform several tasks. For example, servers
that provide files to the users on the network are called file servers. Likewise, servers that
host printing services for users are called print servers.
Servers can be multi-purpose or single-purpose. If they are multi-purpose, they can be,
for example, both a file server and a print server at the same time. If the server is a single-
purpose server, it is a file server only or print server only.
Another distinction we use in categorizing in categorizing servers is whether they are
dedicated or non-dedicated. Dedicated Servers are assigned to provide specific
applications or services for the network, and nothing else. Non-dedicated Servers are
assigned to provide one or more network services and local access.
(h) Gateways: A gateway is a device used to connect networks using different protocols.
Broadly, a gateway is any connection point or node on a network that provides access to
a larger one and therefore a router is a gateway. They translate one network protocol and
data formats to another. They can translate from network-to-network, system-to-network
and system-to-system. Another example of gateway is a bridge.
(i) Workstations or Client Computers
Workstations are the computers that the users on a network do their work on, performing
activities such as word processing, database design, graphic design, e-mail, and other
office or personal tasks. Workstations are basically nothing more than an everyday
computer, except for the fact that they are connected to a network that offers additional
resources. Workstations can range from a diskless computer system to a desktop system.
In network terms, workstations are also known as client computers.
(j)Terminal
This is the hardware, usually made up of a monitor, keyboard, mouse, etc, used to
enter, retrieve and display electronic data from a computer/server through a
network.
(k) Repeaters
These are network devices used to regenerate or replicate a signal distorted by
transmission loss. They allow a cabling system to extend beyond its maximum allowed
length by amplifying the network voltages so they travel farther. Repeaters are amplifiers
and, as such, are inexpensive. Repeaters can only be used to regenerate signals between
similar network segments.
(l) Bridges
A bridge is a hardware device for linking two networks that work with the same protocol.
Unlike a repeater, which works at the physical level, a bridge works at both the physical
and the logical levels (on layer 2 in the OSI model), which means that it can filter frames
so that it only lets past data whose destination address corresponds to a machine located
on the other side of the bridge.
NETWORK TOPOLOGIES
The devices on a network are referred to as nodes. Nodes can be connected using any of the
various types of media, including twisted pair copper wire cable, optical fiber cable, coaxial
cable and radio waves. The nodes in a network can be arranged according to several basic
topologies (i.e., layouts).
A network topology can be physical or logical. Physical Topology is the actual layout of a
network and its connections. Logical Topology is the way in which data accesses the medium
and packets are transmitted/ travel.
Physical Topologies
There are several physical network topologies:
Star Topology
The most commonly used topology in LANs is the star topology. All the nodes in a star topology
are connected to a central device like a hub, a switch or a router with a point-to-point connection.
The hub acts as a signal repeater. The hub or switch manages and controls all functions of the
network. Star topologies can be implemented at home, offices or even in a building.
Advantages
The star topology is considered the easiest topology to design and implement.
The failure of a node or cable in a star network will not take down the entire
network as compared to the Bus topology.
Signals do not get transmitted to all the workstations if a switch is used and
therefore better performance.
It is also easier to monitor due to the centralized management. Centralization
allows inspection of the traffic through the network which makes detection of
suspicious behaviour on the network easy.
It is very easy to add additional nodes.
It is easy to troubleshoot (detect faults) and to remove parts.
Data is safer as the packets only move through three points; originator-central
device-destination.
Disadvantages
The network is highly dependent on the central connecting device. If the central
connecting device such as a hub, a switch or a router fails due to any reason, then
ultimately the whole network can come down or collapse.
As compared to the bus topology, a star network requires more devices & cables
to complete a network.
The performance as well as the number of nodes that can be added in such a
topology depends on the capacity of the central device.
Advantages
Bus topologies are easy to implement
It is easy to extend the network
They are inexpensive to install and do not require much cabling.
Disadvantages
Bus networks work with very limited devices. Performance issues are likely to
occur in the Bus topology if more than 12-15 computers are added in a Bus
Network.
Dependency on the central cable is risky. If the Backbone cable fails then the
whole network becomes useless and communication fails among all the
computers.
It is difficult to detect faults at individual station and addition of new devices can
be difficult
Data can be transmitted only in one direction and is then destroyed when it
reaches the end of the line else it will lead to repetition.
Security is very low because all the computers receive the sent signal.
Because the bus network is just a collection of cable, connectors, and terminators,
there is no amplification of the signal as it travels on the wire. This means that the
size of the network will be limited by the maximum distance the cable type can
actually move the signal that holds the data.
Advantages
The topology is very organized and eliminates chances of collision since only one
token is usually in circulation.
Additional nodes on the network do not affect the performance of the network.
Each computer has equal access to network resources.
It is easy to add devices to the network due to the point-to-point line
configuration.
It is easy to identify and isolate faults due to the point-to-point line configuration.
Disadvantages
Each packet of data must pass through all the computers between source and
destination. It is therefore slower than a star topology.
If one workstation goes down, the entire network gets affected.
Logical Topologies
There are three logical topologies (bus, ring, and switching) which are usually implemented as a
physical star.
Modern Ethernet networks are Star Topologies (physically) but logically they are bus topologies.
The Hub is at the centre, and defines a Star Topology.
In any network, computers communicate by sending information across the media as a series of
signals. In a logical bus topology, the signals travel along the length of the cable in all directions
until they weaken enough so as not to be detectable or until they encounter a device that absorbs
them. This traveling across the medium is called signal propagation
When a computer has data to send, it addresses that data, breaks it into manageable chunks, and
sends it across the network as electronic signals
All computers on a logical bus receive them
Only the destination computer accepts the data
All users must share the available amount of transmission time, implying network
performance is reduced
Collisions are bound to occur since all nodes are sharing same bus.
Switching
A switch takes a signal coming from a device connected and builds a circuit on the fly to
forward the signal to the intended destination computer
Switching is superior to other logical topologies because unlike bus and ring, multiple computers
can communicate simultaneously without affecting each other. Switching is the dominant logical
topology in LAN design.
NB: Advantages and disadvantages of a certain topology depend on the following factors:
Ease of management, Performance, Troubleshooting (maintenance), ease of design and
implementation, safety of data, cost , expandability and robustness.
NB: The BASE is for baseband operation. Baseband is an adjective that describes signals and
systems whose range of frequencies is measured from close to 0 hertz to a cut-off frequency (a
maximum bandwidth or highest signal frequency); it is sometimes used as a noun for a band of
frequencies starting close to zero.
Things worked out differently from what was originally planned. Rather than the primary benefit
of researchers sharing each other’s computer, it rapidly became clear that enabling the
researchers to communicate among themselves via electronic mail (e-mail) was the key benefit
of ARPAnet. One of the primary goals for ARPAnet was to allow multiple users to send and
receive information simultaneously over the same communication paths. The network operated
with a technique called packet switching, in which digital data was sent in small packages called
packets. The packets contained data addresses, error control and sequencing information. The
address information allowed packets to be routed to destinations. The sequencing information
helped reassemble the packets into their original order for presentation to the recipient since they
could arrive out of order.
The protocols for communicating over the ARPAnet became known as TCP (Transmission
Control Protocol). TCP ensured that messages were properly routed from sender to receiver and
that those messages arrived intact. As the internet evolved, organizations worldwide were
implementing their own networks for both intra-organization and inter-organization
communications. A wide variety of networking hardware and software appeared. One challenge
was to get these networks to communicate. ARPA accomplished this with the development of IP
– the Internetworking Protocol, truly creating a network of networks, the current architecture of
the Internet. The combined set of protocols is now referred to as TCP/IP.
The history of the TCP/IP protocol suite can be traced back to one of the first WANs consisting
of computers from different manufacturers running different operating systems. Before
ARPAnet, most computer networks were homogeneous, consisting of computers from the same
hardware manufacturer running the same operating system.
The ARPAnet’s popularity became apparent, and in 1975, it was converted from an experimental
research network into a fully operational network. Research into network protocols continued
and the Internet Protocol Suite resulted. The TCP/IP protocols were adopted as Military
Standards in 1983, and all computers connected to the ARPAnet were required to adopt the new
protocol. The ARPAnet was then split into two networks: the MILNET, used for military
communications, and the new, much smaller ARPAnet, used for further research. MILnet and
ARPAnet together became known as the Internet. Initially, Internet use was limited to the
universities, research institutions and the military, but eventually with time Internet has
incorporated commercial applications.
The term internet (notice the lower case i) is now used to refer to any collection of physically
separate networks that share the same communication protocols (not necessarily TCP/IP) to
appear as a single logical network. The term Internet (notice the upper case I) is used to refer to
the worldwide collection of interconnected computer networks that run the TCP/IP protocols.
i) Isolated LANs
It made electronic communication between different offices or departments impossible.
ii) Duplication of Resources
The same hardware and software had to be supplied to each office or department, as did
separate support staff.
iii) Lack of Network Management
No centralized method of managing and troubleshooting networks existed.
• Web browsers
Web browsers are software applications that are used to retrieve web pages from the Internet
onto your PC. They let you surf (or browse) through information on the Web. Information on the
Web is structured into pages. Each page has a specific address that is used to locate and access
information on that page.
The three browsers that particularly dominate the Internet market are:
- Microsoft’s Internet Explorer
- Mozilla Firefox
- Netscape’s Navigator
An ISP will usually have a number of host computers. These hosts will typically provide storage
space for electronic mail messages for their users, users’ own web sites and a set of related
facilities such as advice, support software and appropriate security.
Examples of local ISPs include Africa Online, Kenya Web, ISP Kenya, Swift Kenya and Inter-
Connect. When you open an account with an ISP you will be provided with a user name and a
password:
Username - Every time you get connected, you require a name to identify yourself on the
Internet.
Password - This is needed for security purposes. This ensures that your Internet account is
secure.
NB: ISPs charge for the services rendered.
Web Page
Web pages are documents published by organizations and individuals interested in putting
themselves on the Web. Web pages can include text, pictures, sound and video.
Each web page has an address on the Internet. This address is called a Uniform Resource Locator
(URL). Web pages are created using Hypertext Markup Language.
Web Site
A collection of web pages belonging to an organization or individual is called a website. These
organizations or individuals maintain the website.
Hyperlinks
All web pages have hyperlinks. These links connect:
1: One web page to another part of the same web page. This is useful if it is a really large
page.
2: One web page to another website somewhere on the Web.
3: A page to a file, such as a sound clip, video, a spreadsheet or a Word document.
These links to other pages can be links to objects stored anywhere on the Internet. Hypertext
links are indicated by underlined text highlighted in blue (usually).
Hyperlinks are also represented by buttons, graphics or pictures.
An example of hyperlinks
To find hyperlinks on a page, move your mouse pointer over the page and where there is a
hyperlink the mouse pointer will change into a hand with a pointing finger.
As you surf around the web, Internet Explorer stores the sites and pages that you visit. You will
notice that the hyperlinks you previously selected are colored differently. Internet Explorer does
this to remind you that you have already visited the page identified by this link.
Web Hosting
A World Wide Web server is a computer with programs that answer requests for documents
from clients (browsers) over the Internet. Files containing web sites are placed on these servers
also known as host computers. A host computer is any computer connected to the Internet and
has stored information that has been made available to the Web.
Home Page
The Home page is the web page loaded when Internet Explorer is first started i.e. when you
access the Web. You can set any web page as your home page.
The home page is also the first page of a company or an individual’s website on the Web.
Note: Do not confuse your home page with the home page of the websites you visit. Your home
page is set through Internet Explorer.
The home page of a website is the introductory page for the site.
If you click a hyperlink such as Home on a web page, you will jump to the website’s home page,
not yours.
To access your home page, click the Home button on the Explorer toolbar.
Spam
Unwanted internet mail and ads.
Once you’re connected to the Internet, there are limitless possibilities. You can send messages to
users in other countries, join a chat group, or try out new games. Some of the services offered on
the Internet include the following:
1. Electronic Mail (e-mail)
Email is a system for transmitting messages between computers. Exchanging electronic
mail is the most popular feature on the Internet. With Internet email you can send
messages to people all over the world including friends, customers and even people you
meet on the Internet. Electronic mail is faster than ordinary mail, easy to manage,
inexpensive and saves paper.
2. Information
The Internet gives you information on virtually any subject. This is because of the World
Wide Web. The World Wide Web (www) is a global system of linked web pages
containing information - text, pictures, sound and video.
You can review newspapers, magazines, academic papers and much more. Governments,
colleges, universities, companies and individuals all offer free information on the
Internet. For example, you can inquire about universities in Britain or America.
3. Programs
Thousands of programs are available on the Internet. These programs include word
processors, spreadsheets, electronic cards and much more. You can look for the latest
software over the Internet. For example, you can get the latest Anti-Virus software
available and in addition, retrieve a free trial issue.
4. Entertainment
Hundreds of simple games are available on the Internet, including racing cars, chess,
poker, football and much more. The Internet also lets you review current movies and hear
television theme songs.
7. Newsgroups
These are discussions on a range of topics from recreational activities to scientific
research. Any Internet surfer can access some of these newsgroups, while others will
need subscription. You can read any articles or write articles and post them.
8. Social Networking
By far the most popular and fastest growing communication method made possible by
broadband Internet service, social networking started out as a way for people to find old
friends, stay in touch with current ones, and meet new ones. It has now grown into a
prolific communication tool for both personal and business use. You can organize groups,
notify people of events, send mass email messages, chat, and so much more. Facebook,
Twitter, and MySpace are currently the most popular social networking sites, and have
attracted billions of users. Many businesses have used social networking for advertising
and marketing purposes and seen great results.
9. As a research tool
To learn about new developments or products, competitors, market news and customer
opinions.