computernetwork
computernetwork
Data communication
Data communications are the exchange of data between two devices via some transmission
medium.
Simplex
The communication is unidirectional as a one-way street, one device always, other can always
receive. E.g. radio, mouse. The simplex mode can use the entire capacity of the channel to send data in
one direction.
Half duplex
Each station can both transmit and receive, but not at the same time. E.g. like a one lane road,
walkie-talkie etc.When one device is sending, the other can only receive, and vice versa.
In a half-duplex transmission, the entire capacity of a channel is taken over by whichever of the
two devices is transmitting at the time.
Walkie-talkies
Full duplex
Both stations can transmit and receive at the same time. Actually, it is two half duplex
connections.
Telephone network is an example of full-duplex mode, when two people are communicating by
a telephone line, both can talk and listen at the same time.
The capacity of the channel, must be divided between the two directions.
NETWORKS
A network is a set of devices (often referred to as nodes) connected by communication links. A node can
be a computer, printer, or any other device capable of sending and/or receiving data generated by other
nodes on the network. “Computer network’’ to mean a collection of autonomous computers
interconnected by a single technology. Two computers are said to be interconnected if they are able to
exchange information. The connection need not be via a copper wire; fiber optics, microwaves, infrared,
and communication satellites can also be used. Networks come in many sizes, shapes and forms, as we
will see later. They are usually connected together to make larger networks, with the Internet being the
most well-known example of a network of networks. There is considerable confusion in the literature
between a computer network and a distributed system. The key distinction is that in a distributed
system, a collection of independent computers appears to its users as a single coherent system. Usually,
it has a single model or paradigm that it presents to the users. Often a layer of software on top of the
operating system, called middleware, is responsible for implementing this model. A well-known example
of a distributed system is the World Wide Web. It runs on top of the Internet and presents a model in
which everything looks like a document (Web page).
LAN (Local Area Network) Group of interconnected computers within a small area. (room, building,
campus) Two or more pc's can from a LAN to share files, folders, printers, applications and other
devices. Coaxial or CAT 5 cables are normally used for connections. Due to short distances, errors and
noise are minimum. Data transfer rate is 10 to 100 mbps. Example: A computer lab in a school.
MAN (Metropolitan Area Network) Design to extend over a large area. Connecting number of LAN's to
form larger network, so that resources can be shared. Networks can be up to 5 to 50 km. Owned by
organization or individual. Data transfer rate is low compare to LAN. Example: Organization with
different branches located in the city.
WAN (Wide Area Network) Are country and worldwide network. Contains multiple LAN's and MAN's.
Distinguished in terms of geographical range. Uses satellites and microwave relays. Data transfer rate
depends upon the ISP provider and varies over the location. Best example is the internet.
Physical topology
Refers to the way in which a network is laid out physically. Topology of a network is the
geometric representation of the relationship of all the links and linking devices to one another.
The term physical topology refers to the way in which a network is laid out physically. Two or more
devices connect to a link; two or more links form a topology. The topology of a network is the geometric
representation of the relationship of all the links and linking devices (usually called nodes) to one
another. There are four basic topologies possible: mesh, star, bus, and ring
MESH:
A mesh topology is the one where every node is connected to every other node in the network. A mesh
topology can be a full mesh topology or a partially connected mesh topology. In a full mesh topology,
every computer in the network has a connection to each of the other computers in that network.
The number of connections in this network can be calculated using the following formula (n is the
number of computers in the network): n(n-1)/2 In a partially connected mesh topology, at least two of
the computers in the network have connections to multiple other computers in that network. It is an
inexpensive way to implement redundancy in a network.
In the event that one of the primary computers or connections in the network fails, the rest of the
network continues to operate normally.
Can handle high amounts of traffic, because multiple devices can transmit data simultaneously.
A failure of one device does not cause a break in the network or transmission of data.
Adding additional devices does not disrupt data transmission between other devices.
The cost to implement is higher than other network topologies, making it a less desirable option.
Building and maintaining the topology is difficult and time consuming.
The chance of redundant connections is high, which adds to the high costs and potential for reduced
efficiency.
STAR:
A star network, star topology is one of the most common network setups. In this configuration, every
node connects to a central network device, like a hub, switch, or computer. The central network device
acts as a server and the peripheral devices act as clients. Depending on the type of network card used in
each computer of the star topology, a coaxial cable or a RJ-45 network cable is used to connect
computers together.
•Nodes are connected to the bus cable by drop lines and taps.
•A drop line is a connection running between the device and the main cable.
•A tap is a connector that either splices into the main cable or punctures the sheathing of a
cable to create a contact with the metallic core.
a line topology, a bus topology is a network setup in which each computer and network device
are connected to a single cable or backbone.
OSI stands for Open Systems TCP/IP stands for Transmission Control
Full Form
Interconnection. Protocol/Internet Protocol.
Replacement of tools and changes can Replacing the tools is not easy as it is in
Replacement
easily be done in this model. OSI Model.
Reliability It is less reliable than TCP/IP Model. It is more reliable than OSI Model.
Repeater
Repeaters are used to extend transmissions so that the signal can cover longer
distances or be received on the other side of an obstruction.
Hubs
A hub is a physical layer networking device which is used to connect multiple
devices in a network. They are generally used to connect computers in a LAN.
A hub has many ports in it. A computer which intends to be connected to the
network is plugged in to one of these ports. When a data frame arrives at a port,
it is broadcast to every other port, without considering whether it is destined for
a particular destination or not.
Switches
A switch is a data link layer networking device which connects devices in a network
and uses packet switching to send and receive data over the network.
Like a hub, a switch also has many ports, to which computers are plugged in.
However, when a data frame arrives at any port of a network switch, it examines
the destination address and sends the frame to the corresponding device(s).
Thus, it supports both unicast and multicast communications.
Differences between Hub and Switch
Hub Switch
It is an intelligent network
It is a non-intelligent network device device that sends message
that sends message to all ports. to selected destination
ports.
It is supports unicast,
It primarily broadcasts messages.
multicast and broadcast.
Wireless LANs based on the IEEE 802.11 standards are the most widely used
computer networks in the world. These are commonly called Wi-Fi, which is a
trademark belonging to the Wi-Fi Alliance.
They are used for home and small office networks that link together laptop
computers, printers, smartphones, Web TVs and gaming devices with a wireless
network router, which links them to the internet. Hotspots provided by routers
at restaurants, coffee shops, hotels, libraries, and airports allow consumers to
access the internet with portable wireless devices.
What is Gateway?
A gateway is a connecting point of any network that helps it to connect with
different networks. The gateway monitors and controls all the incoming and
outgoing traffic of the network. Suppose there are two different networks and
they want to communicate with each other, so they need to set up a path
between them. Now that path will be made between gateways of those
different networks. Gateways are also known as protocol converters because
they help to convert protocol supported by traffic of the different networks into
that are supported by this network. Because of that, it makes smooth
communication between two different networks.
Functionality of Gateways
There are various functionalities that are supported by any gateway:
LAN to WAN connections- It can connect a group of personal computers
i.e. LAN(Local Area Network) to the Internet i.e. WAN(Wide Area
Network).
Controls incoming and outgoing data– It is located on the boundary of
any network, so it controls incoming and outgoing data packets from/to
any network.
Works as a Protocol Converter- It makes sure that the data packet from
another network is compatible with this network. So it converts their
protocols into supported protocols and other stuff of the data packets
before it enters into the network.
Information Collector- It collects data from different sections of the
network to make a better diagnosis of any data packets. In this process, it
collects information.
Routing of data packets- It is responsible for routing data packets to
different networks because it knows about the routing path of different
networks that are in communication with its network.
Advantages of Gateways
It helps in connecting two different networks.
It filters and does not allow anything that can harm the network.
It helps by doing protocol conversion.
It provides security from external attacks.
Guided Media:
Guided media, which are those that provide a medium from one device to
another, include twisted-pair cable, coaxial cable, and fiber-optic cable.
Twisted-Pair Cable: A twisted pair consists of two conductors (normally copper),
each with its own plastic insulation, twisted together. One of the wires is used to
carry signals to the receiver, and the other is used only as a ground reference.
Unshielded Versus Shielded Twisted-Pair Cable
The most common twisted-pair cable used in communications is referred to as
unshielded twisted-pair (UTP). STP cable has a metal foil or braided mesh covering
that encases each pair of insulated conductors. Although metal casing improves
the quality of cable by preventing the penetration of noise or crosstalk, it is
bulkier and more expensive.
Applications Twisted-pair cables are used in telephone lines to provide voice and
data channels. Local-area networks, such as l0Base-T and l00Base-T, also use
twisted-pair cables.
Coaxial Cable Coaxial cable (or coax) carries signals of higher frequency ranges
than those in twisted pair cable. coax has a central core conductor of solid or
stranded wire (usuallycopper) enclosed in an insulating sheath, which is, in turn,
encased in an outer conductor of metal foil, braid, or a combination of the two.
The outer metallic wrapping serves both as a shield against noise and as the
second conductor, which completes the circuit.This outer conductor is also
enclosed in an insulating sheath, and the whole cable is protected by a plastic
cover.
Applications Coaxial cable was widely used in analog telephone networks,digital telephone networks
Cable TV networks also use coaxial cables. Another common application of coaxial cable is in traditional
Ethernet LANs
Fiber-Optic Cable A fiber-optic cable is made of glass or plastic and transmits
signals in the form of light. Light travels in a straight line as long as it is moving
through a single uniform substance. If a ray of light traveling through one
substance suddenly enters another substance(of a different density), the ray
changes direction. Bending of light ray.
UNGUIDED MEDIA: WIRELESS
Unguided media transport electromagnetic waves without using a physical
conductor. This type of communication is often referred to as wireless
communication. Radio Waves Microwaves Infrared
Radio Waves Electromagnetic waves ranging in frequencies between 3 kHz and 1
GHz are normally called radio waves. Radio waves are omni directional. When an
antenna transmits radio waves, they are propagated in all directions. This means
that the sending and receiving antennas do not have to be aligned. A sending
antenna sends waves that can be received by any receiving antenna. The omni
directional property has a disadvantage, too. The radio waves transmitted by one
antenna are susceptible to interference by another antenna that may send signals
using the same frequency or band. Omni directional Antenna Radio waves use
omnidirectional antennas that send out signals in all directions. Based on the
wavelength, strength, and the purpose of transmission, we can have several types
of antennas. Figure shows an omnidirectional antenna.
Applications
The Omni directional characteristics of radio waves make them useful for
multicasting, in which there is one sender but many receivers. AM and FM radio,
television, maritime radio, cordless phones, and paging are examples of
multicasting.