Unit 1 Material
Unit 1 Material
Introduction: Network Topologies WAN, LAN, MAN. Reference models- The OSI Reference
Model- the TCP/IP Reference Model - A Comparison of the OSI and TCP/IP Reference Models.
Introduction:
Network Topology:
Network topology is a logical connection of various computers in the network is known as
topology.
Types of Network Topologies:
BUS Topology
Bus topology is a network type in which every computer and network device is connected to
single cable. When it has exactly two endpoints, then it is called Linear Bus topology.
D opLne
1. It is cost effective.
2. Cable required is least compared to other network topology.
3. Used in small networks.
4. It is easy to understand.
5. Easy to expand joining two cables together.
6. Disadvantages of Bus Topology
Cables fails then whole network fails.
1. If network traffic is heavy or nodes are more the performance of the networkdecreases.
2. Cable has a limited length.
3. It is slower than the ring topology.
RING Topology
It is called ring topology because it forms a ring as each computer is connected to another
computer, with the last one connected to the first. Exactly two neighbours for each device.
Ring Topnlogy
1. A number of repeaters are used for Ring topology with large number of nodes, because
if someone wants to send some data to the last node in the ring topology with 100 nodes,
then the data will have to pass through 99 nodes to reach the 100th node. Hence to prevent
data loss repeaters are used in the network.
2. The transmission is unidirectional, but it can be made bidirectional by having 2
connections between each Network Node, it is called Dual Ring Topology.
3. In Dual Ring Topology, two ring networks are formed, and data flow is in opposite
direction in them. Also, if one ring fails, the second ring can act as a backup, to keep the
network up.
4. Data is transferred in a sequential manner that is bit by bit. Data transmitted, has to pass
through each node of the network, till the destination node.
Advantages of RingTopology
1. Transmitting network is not affected by high traffic or by adding more nodes, as only
the nodes having tokens can transmit data.
2. Cheap to install and expand
STAR Topology
In this type of topology all the computers are connected to a single hub through a cable. This
hub is the central node and all others nodes are connected to the central node.
HU
MESH Topology
It is a point-to-point connection to other nodes or devices. All the network nodes are connected
to each other. Mesh has n(n - 1)/2 physical channels to link n devices.
There are two techniques to transmit data over the Mesh topology, they are :
1. Routing
2. Flooding
1. Partial Mesh Topology: In this topology some of the systems are connected in the
same fashion as mesh topology but some devices are only connected to two or three
devices.
2. Full Mesh Topology: Each and every nodes or devices are connected to each other.
1. Fully connected.
2. Robust.
3. Not flexible.
1. Heavily cabled.
2. Costly.
3. If more nodes are added maintenance is difficult.
4. Central hub fails, network fails.
HYBRID Topology
It is two different types of topologies which is a mixture of two or more topologies. For
example if in an office in one department ring topology is used and in another star topology
is used, connecting these topologies will result in Hybrid Topology (ring topology and star
topology).
1. Complex in design.
2. Costly.
Networks: WAN, LAN, MAN
The Network allows computers to connect and communicate with different computers via
any medium. LAN, MAN and WAN are the three major types of the network designed to
operate over the area they cover. There are some similarities and dissimilarities between them.
One of the major differences is the geographical area they cover, i.e. LAN covers the
smallest area; MAN covers an area larger than LAN and WAN comprises the largest of all.
MAN or Metropolitan area Network covers a larger area than that of a LAN and smaller area
as compared to WAN. It connects two or more computers that are apart but resides in the
same or different cities. It covers a large geographical area and may serve as an ISP (Internet
Service Provider). MAN is designed for customers who need high- speedconnectivity. Speed
of MAN ranges in terms of Mbps. It’s hard to design and maintain a Metropolitan Area
Network.
The fault tolerance of a MAN is less and also there is more congestion in the network. It is
costly and may or may not be owned by a single organization. The data transfer rate and the
propagation delay of MAN is moderate. Devices used for transmission of data through MAN
are: Modem and Wire/Cable. Examples of a MAN are the part of the telephone company
network that can provide a high-speed DSL line to the customer or the cable TV network in a
city.
Wide Area Network (WAN)
WAN or Wide Area Network is a computer network that extends over a large geographical
area, although it might be confined within the bounds of a state or country. AWAN could be a
connection of LAN connecting to other LAN’s via telephone lines and radio waves and may
be limited to an enterprise (a corporation or an organization) or accessible to the public. The
technology is high speed and relatively expensive.
There are two types of WAN: Switched WAN and Point-to-Point WAN. WAN is difficult to
design and maintain. Similar to a MAN, the fault tolerance of a WAN is less and there is
more congestion in the network. A Communication medium used for WAN isPSTN or Satellite
Link. Due to long distance transmission, the noise and error tend to be more in WAN.
WAN’s data rate is slow about a 10th LAN’s speed, since it involves increased distance and
increased number of servers and terminals etc. Speed of WAN ranges from few kilo bits per
second(Kbps) to megabits per second (Mbps). Propagation delay is one of the biggest
problems faced here. Devices used for transmission of data through WAN are: Optic wires,
Microwaves and Satellites. Example of a Switched WAN is the asynchronous transfer
mode(ATM) network and Point-to-Point WAN is dial-up line that connects a home computer
to the Internet.
Reference models
The OSI Reference Model:
OSI is acronym of Open System Interface. This model is developed by the International
organization of Standardization (ISO) and therefore also referred as ISO-OSI Model in
the year 1970.
The OSI model consists of seven layers as shown in the following diagram. Each layer has a
specific function, however each layer provide services to the layer above. Why OSI Model?
The purpose of the OSI reference model is to connect systems openly.
• The functions such as LOGIN or password checking are also performed by the
application layer.
6. Presentation Layer
This is the layer in which the operating system operates with the data. Main functions of these
layers include translation, encryption and compression of data. Basically User interacts with
Application layer, which sends the data down to Presentation layer.
• This layer makes it sure that the information is delivered in such a form that the
receiving system will understand and use it.
5. Session Layer
This layer has the job of maintaining proper communication by establishing, managing and
terminating sessions between two computers. For example, whenever we visit any website,
our computer has to create a session with the web server of that website.
4. Transport Layer
This layer has a very important job. It decides how muchinformation should be sent at a time.
So, when you are communicating with a website, this layer will decide how much data you
can transfer and receive at a given point of time. Also, this layer provides reliable process to
process message delivery and error recovery.
3. Network Layer
The main job of this layer is to move packets from source to destination and provide inter-
networking. This is the layer that the routers operate on. Since routers operate at the network
level, hence we can say that the IP address is at the network level.
Following are the functions of Network Layer:
This layer is responsible for organizing bits into frames and ensuring hop to hop delivery.
This is the layer on which the Switches operate on.
Since routers operate at the network level, hence we can say that the MAC address resides at
the data link layer. All the computers in a specific network get plugged into a switch so that
they can communicate with each other.
Enables error detection, and adds error detection bits to the data which are to betransmitted.
1. Physical Layer
This is the layer on which the real transmission of data bits takes place through a medium.
This layer is, as the name suggests, all the physical stuff that connects the computers
together.
Application Layer
This layer is same as that of the OSI model and performs the following functions:
• It provides different services such as manipulation of information in several
ways, retransferring the files of information, distributing the results etc.
• The functions such as LOGIN or password checking are also performed by the
application layer.
• Protocols used: TELNET, FTP, SMTP, DN, HTTP, NNTP are the protocols
employed in this layer.
Transport Layer
It does the same functions as that of transport layer in OSI model. Here are the key
points regarding transport layer:
• It uses TCP and UDP protocol for end to end transmission.
• TCP is reliable and connection oriented protocol.
• TCP also handles flow control.
• The UDP is not reliable and a connection less protocol also does not perform flow
control.
Protocols used: TCP/IP and UDP protocols are employed in this layer.
Internet Layer
The function of this layer is to allow the host to insert packets into network and then make
them travel independently to the destination. However, the order of receiving the packet can
be different from the sequence they were sent.
Protocols used: Internet Protocol (IP} is employed in Internet layer.
Link Layer
This is the lowest layer in TCP/IP model. The host has to connect to network using some
protocol, so that it can send IP packets over it. This protocol varies from host to host and
network to network.
Protocols used: ARPANET, SATNET, LAN, packet radio are the protocols which are used
in this layer.