Notes Computer Networks
Notes Computer Networks
ARPANET: It is the first network and came into existence in 1969, The US department of
defense formed an agency named ARPANET (Advanced Research Projects Agency NETwork) to
connect computers at various universities and defense agencies.
NSFNET: In mid 80’s another federal agency, NSFNET (National Science Federation Network)
created a new network which was more capable than ARPANET. Its main aim was to use
network only for academic research and not for any kind of private business activity.
Internet: Later, many privately owned businesses with their very own private systems joined
with ARPANET and NSFNET to make more capable and wide network, the Internet. ARPANET
+ NSFNET + PRIVATE NETWORKS = INTERNET. The internet is a globally connected network
system that utilizes TCP/IP to transmit information.
Following services are instantly available through internet : Email, Web-enabled audio/video
conferencing services, Online movies and gaming , Data transfer/file-sharing, Instant messaging
, Internet forums , Social networking , Online shopping ,Financial services.
IPv4 IPv6
IPv4 is a 32 bit address IPv6 is a 128 bit address.
IPv4 is the older version which has an IPv6 is the new version can provide up to trillions of IP
space of over 4 billion IP addresses. addresses.
Example: 12.244.233.165 Example: 2001:0db8:0000:0000:0000:ff00:0042:7879
2. Coaxial cable: It consists of a solid wire core surrounded by one or more foil or braided wire
shields, each part is separated from the other by some kind of plastic insulator. It is mostly used in
the cable wires. (In city, effective in 500 meters to some kilo meters)
3. Optical Fibre: An optical fibre consists of thin glass fibres that can carry information in the form
of visible light. A signal can run for 50 Km without using repeater or regeneration.
1. Infrared Signals: In infrared transmission, signals are transmitted through the air but these
signals cannot penetrate the walls. Commonly Infrared signal are used in TV remotes, infrared
wireless speakers, etc., as a mode of transmission.
Advantage: Disadvantage:
It is secure medium of transmitting data. It can work only for short distances.
It is a cheap mode of transmission. It cannot penetrate walls and is affected by
distance.
2. Radio waves: It uses radio frequencies which are allocated to private businesses for direct voice
communication. A radio set up uses transmitter and receiver, and both use antennas to radiate and
fetch radio signals. They are not line of sight transmission.
Advantage: Disadvantage:
They can be used indoors or outdoors. Radio wave communication is an insecure
Radio wave are Omni-directional and can mode of communication.
travel in any direction. Radio wave propagation is susceptible to
Radio wave transmission offers mobility. weather effects like rain, thunderstorm.
It is cheap then laying cables and fibres etc.
It offer ease of communication over
difficult terrain.
3.Microwave: In this type of transmission, signals are transmitted in the same way as the
radio waves. It is a line-of-sight transmission as signal travels in straight line. It has higher frequency
than radio waves.
Under this mode of transmission parabolic antennas are mounted on the towers. These antennas
send the signals in the atmospheric air.
Advantage: Disadvantage:
The area covered is quite large. Satellite communication is very costly. So, it
No line of sight restrictions such as is not suitable for personal or low budget
mountains, tall buildings, towers, etc. communication.
Earth station which receives the signals can There is atmospheric loss of transmitted
be at a fixed position or can be relatively signals.
mobile.
This mode of transmission is very useful in
multimedia transmission.
5.Bluetooth: is a wireless technology, which is used for exchanging data over short distances from
fixed and mobile devices. Such types of networks are categorized under personal area network.
6. Wi-Fi: (wireless fidelity)Wi-Fi is a wireless networking technology that allows devices such as
computers (laptops and desktops), mobile devices and other equipment (printers and video
cameras) to interface with the Internet.
Network Devices:
Some Network devices are Modem, Ethernet card (NIC), RJ45, Repeater, Hub, Switch, Router,
Gateway, WIFI card, Bridge.
Modem:
Internal Modem: The modems that are fixed within the computer.
External Modem: The external modems that are connected externally to a computer as other
peripherals are connected.
NIC / Ethernet Card. : NIC stands for Network Interface Card. It is also
known as Ethernet Card.
This device helps the computer to connect to a network and
communicate.
It contain RJ-45 slot to connect Ethernet cable with RJ-45 connector.
RJ-45: (Registered Jack – 45) It is an eight wired connector that is used to connect
computers on a local area network (LAN), especially Ethernet cable.
Repeater: A repeater is a device that amplifies and restore signals for long
distance transmission.
HUB: HUB is used to connect multiple computers in a single LAN network
of one workgroup.
Switch is also used to connect multiple computers together in a LAN workgroup, just like hub.
Switches are available with 4,8,12,24,48,64 ports.
But, Switch makes their switching decisions means, it sends signal only to one port or recipient
only and that’s why switches are called as intelligent hub.
Because of sending data only to one node it not generating unnecessary traffic
Router:
Bridge:
Gateway:
This is a small and portable cards that allows your computer to connect to the
internet through a wireless network.
Data transmission is through the radio waves, these signals are picked up by
Wi-Fi receivers such as computers and cell phones equipped with Wi-Fi cards.
Network Topology:
The way or style of connecting several computer/devices in a network with each other is called
topology.
Types of Network Topology: Bus, Ring, Tree, Star, Mesh, Hybrid.
Bus Topology: In Bus topology several devices are connected to a main long cable (Usually coaxial
cable) which acts as backbone.
Advantages:
Bus network is easy to implement and can be extended
up to a certain limit.
It work well for small network.
If there is any problem in connection with any node,
other nodes in the network are not affected.
Disadvantages:
If there is fault or break in the main cable, the entire network shuts down.
Terminators are required at both ends of the backbone cable.
Fault isolation is difficult to detect if the entire network shuts down.
When the network is required in more the than one building, bus network cannot be used.
The signal becomes weaker if number of nodes becomes large.
Collision of data can take place because several nodes can transmit data to each other at one
time.
Star Topology: In star topology, the server is directly connected with each and every node in the
network via a hub.
Advantages:
Data transfer rate is fast as all the data packets or messages are
transferred through central hub.
If there is any problem in connection with any node, other
nodes in the network are not affected.
Removal or addition of any node in star topology can take place
easily without affecting the entire performance of the network.
Disadvantage:
Extra hardware required like HUB.
Any problem in hub makes the entire network shutdown.
Performance of all network is depend on hub. If server is slow, it will cause the entire network
slow down.
More cable is required as compare to bus topology.
Tree Topology: The tree topology is an extension and variation in bus topology. In this all or some
of the devices are connected to central hub, and some of the device are connected to the
secondary hub. In case of long distance networking we use active hub, it contain repeaters that
makes weak signals stronger.
Advantage:
Tree topology is used when a start or bus cannot be
implemented individually.
It is most suited networking style to connect multiple
departments of organization.
Network can be expanded by the addition of secondary
active hub.
Disadvantage:
Multiple segment are connected to a central HUB. Its failure affects the entire network.
There is a requirement of long cable length.
Maintenance is not easy and cost is very high.
Network Types:
On the basis of coverage or geographical spread, a network can be divided into following types:
1.Personal Area Network (PAN) : The network that is belongs to a single person or user is known as
PAN. PAN is a small network used to establish communication between a computer and other
handheld devices in the proximity of up to 10 meters using wired or wireless medium like
Bluetooth, WIFI or USB cable. Examples: Wi-Fi network between Laptop and Mobile, Or Bluetooth
network between mobile and audio players.
2.Local Area Network (LAN): LAN is used to connect small geographical area, like a home, office, or
building such as a school. Range of LAN is few meter to few kilometers. The connectivity is done by
means of wires, Ethernet cables, fibre optics or Wi-Fi. Examples: A networked office building,
school or home.
3.Metropolitan Area Network(MAN):– Spread within a city . Cover an area of a few kilometers to a
few hundred kilometers radius. Set up using all types of all guided and unguided media. Owned and
operated by a government body or a large corporation. Example: Cable television networks
available in the whole city or interconnected offices in same city but in different areas.
4.Wide Area Network (WAN): A WAN interconnects all the computer across the world. Internet is
the largest WAN that connects billions of computers, Smartphone and millions of LANs of different
continents. All guided or Unguided medium are used to setup a WAN. Example: Networks of ATMs,
Banks, government offices, railway reservation, etc.
Network Protocol:
A network protocol is an established set of rules that determine how data is transmitted between
different devices in the same network.
IP: The IP part handles the address of the destination computer so that the data is send to a correct
address.
HTTP (Hypertext Transfer Protocol): HTTP is the communication protocol for transferring of
information on the internet and the world wide web. When we access any website on internet
HTTP protocol is working in background. (http://www.google.com)
HTTPS (Hyper Text Transfer Protocol Secure): It is a standard protocol to secure the
communication between the browser and the web server. In HTTPS transferring of data is done in
an encrypted format to get protect data from hackers. (https://www.google.com)
Telnet: It is also known as Remote login. This protocol allows you to access a remote computer
connected on the network. Example: teamviewer, anydesk
FTP (File Transfer Protocol): FTP allows users to transfer files from one machine to another, like
Uploading and Downloading. Types of files may include program files, multimedia files, text files,
and documents, etc.
POP3 (Post office protocol): POP3 is designed for receiving incoming E-mails.
SMTP ( Simple Mail Transfer Protocol ): It is used to for sending email messages to other computer.
It handle only out going messages and not incoming messages.
VoIP (Voice over Internet Protocol ) : This Protocol that allows you to make voice calls using a
broadband Internet connection instead of a regular (or analog) phone line.
PPP (Point to point Protocol): It is most commonly used data link protocol. It is a protocol used to
establish a direct connection between two nodes. It is used to connect the Home PC to the server
of ISP by telephone line. This communication takes place through high speed modem.
Introduction to Web Services:
HTML is a language that enables users to create WebPages and format them using predefined
tags. Tags are called coded elements.
HTML document can be written using text editor such as NOTEPAD and save in .HTM or .HTML.
Some HTML tags are: <HTML>, <HEAD>, <BOBY>
XML is a text based markup language that allows the user to create their own tags to store data
in a structured format.
XML is designed to carry data and not to display data.
URL: URL stands for Uniform Resource Locator which is a unique address of a webpage.
Website: A website is a collection of web pages and related content that is identified by a common
domain name and published on at least one web server. Notable examples are wikipedia.org,
google.com, and amazon.com.
Web Server: A software which host website and return web pages to web client(web browser) on
request. E.g. Apache Tomcat, Microsoft’s Internet Information Services (IIS) Windows Server, Jigsaw
, Zeus web server.
Web Hosting: Web hosting is the place where all the files of your website live. It is like the home of
our website where it actually lives.
Server: A server is a computer or system that provides resources, data, services, or programs to
other computers, known as clients, over a network.