Lecture 3
Lecture 3
three
Network types
Classification of Computer Networks
• Computer networks are classified based on various factors. They
include:
• Geographical span
• Inter-connectivity
• Administration
• Architecture
• Administration
From an administrator’s point of view, a network can be
• Private network which belongs to a single autonomous system and cannot be
accessed outside its physical or logical domain.
• A network can be public, which is accessed by all.
Geographical Span
• Sharing of resources
• Centralized data
• Sharing of Applications
• Easy and Fast communication
• Data security
Dis-Advantages of local area network
• Covers small area
Metropolitan Area Network
• Wide Area Network (WAN) covers a wide area which may span
across a whole country.
• When network spans over a large distance or when the computers to be
connected to each other at widely separated locations a local area network
cannot be used. A wide area network(WAN) is installed.
• Generally, telecommunication networks are Wide Area Network.
• WANs use very expensive network equipment.
• WAN uses advanced technologies.
• WAN may be managed by multiple administration.
Computer Network Topologies
• All devices share single communication line or cable called trunk (network
backbone).
• A cable that connect to device is used to transmit the signal from one end to the
other end.
• At every end a terminator is placed so that it understands in which direction the
data is travelling and also the terminator is used to absorb the signals.
• Bus networks typically work well for smaller networks.
• It is one of the simple forms of networking where a failure of a device does not
affect the other devices.
• But failure of the shared communication line can make all other devices stop
functioning.
• Bus topology may have problem while multiple hosts sending data at the same
time.
Cont.…
Cont.…
Advantages of bus topology
• Easy to connect a computer or peripheral to a bus.
• Requires less cable length than other topology.
• Failure of one of the station does not affect others.
Dis-advantages of bus topology
• Entire network shuts down if there is a break in the main cable.
• Terminators are required at both ends of the backbone cable.
• Difficult to identify the problem if the entire network shuts down.
• Not meant to be used as a stand-alone solution in a large building.
Star Topology
• All hosts in Star topology are connected to a central device, known as hub device,
using a point-to-point connection.
• That is, there exists a point to point connection between hosts and hub.
• Nodes are indirectly connected to each other through a central hub.
• The central device or computer is responsible for controlling and guiding all the
traffic in the network.
• The performance of the network is dependent upon the capacity of the central
computer, switch or hub.
• If any host wants to transfer message to any other host then the message is first
transferred to central server i.e. hub, switch, router and then passed to the target
host.
Cont.…
Cont.…
Advantages of a Star Topology
• Easy to install.
• No disruptions to the network when connecting or removing devices.
• Easy to detect faults and to remove parts.
Disadvantages of a Star Topology
• If the hub, switch fails, nodes attached are disabled.
• More expensive than linear bus topologies because of the cost of the
hubs or switch.
Ring Topology
• Each host machine connects to exactly two other machines, creating a circular
network structure.
• When one host tries to communicate or send message to a host which is not
adjacent to it, the data travels through all intermediate hosts.
• Each workstation checks the message for a matching destination address. If the
address doesn't match the node simply regenerates the message. And sends it on
its way.
• If the address matches, the node accepts the message and sends a reply to the
originating sender.
• The data flows in one direction, i.e it is unidirectional.
• To connect one more host in the existing structure, the administrator may need
only one more extra cable.
• Failure of any host results in failure of the whole ring. Thus, every connection in
the ring is a point of failure.
Cont.…
Cont.…
Advantages of Ring Topology
• Network management: faulty devices can e removed from the network
without bringing the network down.
• Cost: Twisted pair cabling is expensive and easily available. Therefore
the installation cost is very low.
Disadvantages of a Ring Topology
• Failure: the breakdown in one station leads to the failure of the overall
network.
• Delay: communication delay is directly proportional to the number of
nodes. Adding new device increases the communication delay.
Mesh Topology
• Also known as Hierarchical Topology, this is the most common form of network
topology in use presently.
• This topology imitates as extended Star topology and inherits properties of bus
topology. This topology divides the network into multiple levels/layers of
network. This topology can be used in a large area network.
Cont.…
The above diagram describes the tree topology which has three
types of layers in that as,
• The lowermost is access-layer where computers are attached.
• The middle layer is known as distribution layer, which works as mediator
between upper layer and lower layer.
• The highest layer is known as core layer, and is central point of the
network, i.e. root of the tree from which all nodes fork.
Cont.…
Advantages of Tree Topology
• Easily expandable
• Easily manageable: b/c the whole network is divided into segments.
• Limited failure: the breakdown in one segment does not affect the
entire network.
Disadvantages of a Tree Topology
• High cost: devices required are very costly.
• Failure in core layer will damage the overall network.
Hybrid Topology
• Server functions
• Is a special purpose, privileged program dedicated to providing one
service, but can handle multiple remote clients at the same time.
• Run on a shared computer(i.e. not a user’s personal computer).
• Wait passively for contact from arbitrary remote clients
• Accepts contact from arbitrary clients, but offers a single service
• Requires powerful hardware and a sophisticated operating system
Cont.…
• A server must guarantee:
• authentication: client identity verification
• authorization: verification of the possibility for a client to access to
a particular service
• data security: guarantee that specific data cannot be read and/or
modified
Advantages and disadvantages of client-server
network
Advantages:
• Very secure
• Centralized backup
• Scalability
Disadvantages:
• Requires professional administration
• Server faults
• Expensive dedicated software ad hardware
The main difference between Peer-to-Peer Networks and
Client/Server Networks
Peer-to-Peer Networks Client/Server Networks
Easy to set up More difficult to set up
Less expensive to install More expensive to install
Can be implemented on a wide range of operating A variety of operating systems can be supported on the client
systems computers, but the server needs to run an operating system
that supports networking
More time consuming to maintain the software Less time consuming to maintain the software being used (as
being used (as computers must be managed most of the maintenance is managed from the server)
individually)
Very low levels of security supported or none at High levels of security are supported, all of which are
all. controlled from the server. Such measures prevent the
deletion of essential system files or the changing of settings
Does not require a server Requires a server running a server operating system
Demands a moderate level of skill to administer Demands that the network administrator has a high level of
the network IT skills with a good working knowledge of a server
operating system
Network cabling
• Network cables can be wired as:
• Straight through or
• Crossover.
• Straight through is the most common type and is used to connect computers
to hubs or switches.
• Used for connecting unlike devices.
• It uses one wiring standard: both ends use T568B wiring standard.
• T568A wiring standards: White orange, Orange, White green, Blue, White
blue, Green, White brown, Brown.
• T568B wiring standard: White green, Green, White orange, Blue, White blue,
Orange, White brown, Brown.
• Use straight through network cable for the following cabling:
• Switch to router
• Switch to PC or server
• Hub to PC or server
Crossover network cable is more commonly used to connect a computer to a computer.
• Unlike straight through cable, the crossover cable uses two different wiring standards:
one end uses the T568A wiring standard, and the other end uses the T568B wiring
standard.
• On a cross-over cable you use a different order on each end.
• The first end uses the following color scheme : WO-O-WG-B-WB-G-WBr-Br
• The second end uses the following color scheme: WG-G-WO-B-WB-O-WBr-Br
• It is most often used to connect two devices of the same type: e.g. two computers
(via network interface controller) or two switches to each other.
• Use for connecting similar devices.
• Use crossover cables for the following cabling:
• Switch to switch
• Hub to hub
• Router to router
• PC to PC
What you need for Making Your Own Network Cables :
• Cable: Cat 3, 4, 5e, 6, 7 or other cable
• Connectors: RJ-45 connectors
• Crimping tool
• Cutter: Diagonal Cutter Pliers - You'll need a pair of these to cut the wires in
case the crimper doesn't come with a built-in wire cutter.
• Tester
Cable
Crimping tool
• A good crimping tool has a pair of wire cutters built in, as well as a blade to strip
insulation.
• It also might support crimping of other connectors such as RJ-45.
Connectors
RJ-45 connectors
Steps for Making Your Own Network Cables
• Cutting
• Cut a piece of Cat 5 as long as you need. When you cut, remember the old
saying: Measure twice, cut once.
• Make sure the cut on each end is clean and straight.
Stripping
• Strip about an inch of the insulation off the cable. Cut it back nice and square.
• It is extremely important that you only cut the plastic insulation/jacket and not the wire.
• Beware! Damaging one of the 8 wires, even if you just nick it or partially cut it, will loss
your cable.
Sorting the wires
• Untwist the wires. You'll notice that there are 4 pairs of multicolored wires inside.
• Sort the pairs by color. You should end up with wires color coded as follows:
blue/blue-white, orange/orange-white, green/green-white, brown/brown-white.
Arranging
Attach the RJ-45 Connector
Crimping
Testing
• Once your cable is finished, you should test it to make sure it works.
• Insert the two ends of the cable into the jacks on the tester and watch the lights.
• If they all light up, you have a good connection for each wire and the cable
checks out.