Computer Network Cs Notes
Computer Network Cs Notes
Computer network-
A Computer Network is a group of computers linked to each other that
enables one computer to communicate with another computer and share their
resources, data, and applications.
Advantages-
1. It enhances the communication and availability of information.
2. It allows for more convenient resource sharing.
3. It makes file sharing easier.
4. It is highly flexible.
5. It is an inexpensive system.
6. It is cost efficient.
7. It boosts storage capacity.
Disadvantages-
1. It lacks independence.
2. It poses threat to security.
3. It lacks robustness.
4. It allows entry of computer viruses and malware.
5. It requires an expensive setup.
EVOLUTION OF NETWORKING
ARPANET
NSFNET
Stands for National Science Foundation Network.
In mid 80’s another federal agency, NSFNET created a new network
which was more capable than ARPANET.
It became the first backbone infrastructure for the commercial public
Internet.
Its main aim was to use network only for academic research and not for
any kind of private business activity.
INTERNET
DATA COMMUNICATION-
1. Sender
2. Receiver
3. Message
4. Transmission media
5. Protocols
Baud
IP Address-
Switching
Message Switching
In case of Message Switching it is not necessary to establish a dedicated path
in between any two communication devices.
Packet Switching
Packet Switching works almost like message switching technique but here
messages are broken up into packets having a tight upper limit on the packet
size and each of the packet includes a header with source, destination and
intermediate node address information. Individual Packets in packet switching
technique take different routes to reach their respective destination.
Packet Switching Network
The major advantage of Packet switching is that message switching stores
data packets in discs whereas packet switching stores data packets in main
memory which improves its performance.
TRANSMISSION MEDIA
Twisted pair cable are the oldest and most popular cables all over the world.
This is due to the many advantages that they offer −
Coaxial Cable
1. Thicknet
2. Thinnet
Optical Fibre -
Thin glass or plastic threads used to transmit data using light waves are called
optical fibre. Light Emitting Diodes (LEDs) or Laser Diodes (LDs) emit light
waves at the source, which is read by a detector at the other end. Optical fibre
cable has a bundle of such threads or fibres bundled together in a protective
covering. Each fibre is made up of these three layers, starting with the
innermost layer −
• Core made of high quality silica glass or plastic
• Cladding made of high quality silica glass or plastic, with a lower
refractive index than the core
Note that both core and cladding are made of similar material. However, as
refractive index of the cladding is lower, any stray light wave trying to escape
the core is reflected back due to total internal reflection.
Optical fibre is rapidly replacing copper wires in telephone lines, internet
communication and even cable TV connections because transmitted data
can travel very long distances without weakening.
Types of fibre optics :
1. Single node
2. Multi node
Single node fibre optic cable can have maximum segment length of 2 kms and
bandwidth of up to 100 Mbps. Multinode fibre optic cable can have maximum
segment length of 100 kms and bandwidth up to 2 Gbps.
Despite long segment lengths and high bandwidth, using optical fibre may not
be a viable option for every one due to these disadvantages −
Infrared :
Low frequency infrared waves are used for very short distance communication
like TV remote, wireless speakers, automatic doors, hand held devices etc.
Infrared signals can propagate within a room but cannot penetrate walls.
However, due to such short range, it is considered to be one of the most
secure transmission modes.
R ad io W av e :
Transmission of data using radio frequencies is called radiowave
transmission. We all are familiar with radio channels that broadcast
entertainment programs. Radio stations transmit radio waves using
transmitters, which are received by the receiver installed in our devices.
Both transmitters and receivers use antennas to radiate or capture radio
signals. These radio frequencies can also be used for direct voice
communication within the allocated range. This range is usually 10 miles.
• Radiowaves are preferred when we need reasonably high speed
connectivity in areas where wired connectivity is not feasible.
Microwave
This media uses microwave signals to transmit data without the use of
cables. They are used for long distance communication and consist of :
a transmitter, a receiver and atmosphere.
Microwave transmission is line-of-sight transmission (i.e signals travel
in a straight line)
Advantages of Microwave :
Satellite Communication :
BUS TOPOLOGY
The transmission from any station travels the length of the bus,
in both directions and can be received by all other stations.
TREE TOPOLOGY
MESH TOPOLOGY
A network set-up where each computer and network devices
interconnected with one another to provide an alternative route in case of
the host is down or busy.
Advantages of Mesh topology
TYPES OF NETWORK
PAN:- Pan refers to personal area network. A pan is the
network of various IT devices within the range of an individual
person (typically within 10 meters).
LAN:-Small computer networks that are confined to a localized
area are known as local area network. LAN users can share
data, information, program, printers, hard disk, modem etc.
LANs are said to have geographical spread of upto 10 kms.
NETWORK DEVICES
MODEM
A modem is a device that enables a computer to transmit data over,
for ex. telephone or cable lines. Computer information is stored
digitally, whereas information transmitted over telephone lines is
transmitted in the form of analog waves.
A modem converts between these two forms. A modem (modulator–
demodulator) modulates one or more wave signals to encode digital
information for transmission and demodulates signals to decode the
transmitted information.
RJ45 CONNECTOR
ETHERNET CARD
It serves one basic function to transmit data from the network to your
computer. Ethernet cards are physical expansion cards that insert into
a PCI expansion slot on a computer.
ROUTER
GATEWAY
WiFi CARD
A wifi card is also known as local area network card. It is basically a type
of adapter card. These are also known as wireless internet card that add
capabilities to personal computer. The wifi hotspots has made wireless
internet cards even more desirable.
PROTOCOLS-
These are the set of rules that two or more computers must follow in order
to communicate on network. Some of the common protocols are-
1. HTTP (Hyper Text Transfer Protocol)- These are the set of rules for
transferring hypertext documents on world wide web.
2. FTP (File Transfer Protocol)- These protocols are used for
exchanging files across internet. Files of any type can be transferred
however the type of file need to be specified.
3. TCP/IP (Transmission Control Protocol/ Internet Protocol)- TCP
is responsible for dividing data into packets at sending end and
reassembling them at the receiving end. IP is responsible for putting
serial number and destination address on the packets and performing
routing.
4. SMTP (Simple Mail Transfer Protocol)- This protocol is used to
send email from your computer to your mail server and then to
receiver’s mail sever. However the mail should contain only textual
information.
5. MIME (Multimedia Internet Mail Extension)- This protocol is used
instead of SMTP if the mail contains multimedia elements.
6. POP/ IMAP (Post Office Protocol/ Internet Mail Access Protocol)-
These protocols are used to retrieve the mail from mail server to
receiver mail boxes. POP downloads the mail from mail server to
client machine and then delete it from the server. However, IMAP
allows you to see the mail without saving it locally.
7. PPP/SLIP( Point To Point Protocol/ Serial Line Internet Protocol)-
These protocols are used when connecting to internet through phone
line. SLIP does not take care of error correction while PPP handles
error Correction.
8. HTTPS- Hypertext Transfer Protocol Secure (HTTPS) is an
extension of the Hypertext Transfer Protocol (HTTP). It is used
for secure communication over a computer network, and is widely
used on the Internet.
Domain name consists of two parts, a second level domain (SLD) and a top
level domain (TLD). A second level domain is the name of our website,
“internic” in this case. Everything that comes after the dot is a top level
domain, sometimes called “domain extension”, and in this case that is ‘com’.
Web server:-It is the job of web server to accept connections from web
browsers all over the internet and when requested, send them the HTML
documents that are available from the server.