Computer Network
Computer Network
Goal Of Networking:
Programs do not have to execute on a single system because of resource
and load sharing.
Reduced costs – Multiple machines can share printers, tape drives, and
other peripherals.
Reliability – If one machine fails, another can take its place.
Scalability (it’s simple to add more processors or computers)
NIC
o NIC stands for network interface card.
o NIC is a hardware component used to connect a computer with another computer
onto a network
o It can support a transfer rate of 10,100 to 1000 Mb/s.
o The MAC address or physical address is encoded on the network card chip which is
assigned by the IEEE to identify a network card uniquely. The MAC address is stored
in the PROM (Programmable read-only memory).
Wired NIC: The Wired NIC is present inside the motherboard. Cables and connectors
are used with wired NIC to transfer data.
Wireless NIC: The wireless NIC contains the antenna to obtain the connection over
the wireless network. For example, laptop computer contains the wireless NIC.
Hub
A Hub is a hardware device that divides the network connection among multiple
devices. When computer requests for some information from a network, it first sends
the request to the Hub through cable. Hub will broadcast this request to the entire
network. All the devices will check whether the request belongs to them or not. If
not, the request will be dropped.
The process used by the Hub consumes more bandwidth and limits the amount of
communication. Nowadays, the use of hub is obsolete, and it is replaced by more
advanced computer network components such as Switches, Routers.
Switch
A switch is a hardware device that connects multiple devices on a computer network.
A Switch contains more advanced features than Hub. The Switch contains the
updated table that decides where the data is transmitted or not. Switch delivers the
message to the correct destination based on the physical address present in the
incoming message. A Switch does not broadcast the message to the entire network
like the Hub. It determines the device to whom the message is to be transmitted.
Therefore, we can say that switch provides a direct connection between the source
and destination. It increases the speed of the network.
AD
Router
o A router is a hardware device which is used to connect a LAN with an internet
connection. It is used to receive, analyze and forward the incoming packets to
another network.
o A router works in a Layer 3 (Network layer) of the OSI Reference model.
o A router forwards the packet based on the information available in the routing table.
o It determines the best path from the available paths for the transmission of the
packet.
AD
Modem
o A modem is a hardware device that allows the computer to connect to the internet
over the existing telephone line.
o A modem is not integrated with the motherboard rather than it is installed on the PCI
slot found on the motherboard.
o It stands for Modulator/Demodulator. It converts the digital data into an analog
signal over the telephone lines.
Based on the differences in speed and transmission rate, a modem can be classified
in the following categories:
AD
AD
o Security issue: A WAN network has more security issues as compared to LAN and
MAN network as all the technologies are combined together that creates the security
problem.
o Needs Firewall & antivirus software: The data is transferred on the internet which
can be changed or hacked by the hackers, so the firewall needs to be used. Some
people can inject the virus in our system so antivirus is needed to protect from such a
virus.
o High Setup cost: An installation cost of the WAN network is high as it involves the
purchasing of routers, switches.
o Troubleshooting problems: It covers a large area so fixing the problem is difficult.
o The bus topology is designed in such a way that all the stations are connected
through a single cable known as a backbone cable.
o Each node is either connected to the backbone cable by drop cable or directly
connected to the backbone cable.
o When a node wants to send a message over the network, it puts a message over the
network. All the stations available in the network will receive the message whether it
has been addressed or not.
o The bus topology is mainly used in 802.3 (ethernet) and 802.4 standard networks.
o The configuration of a bus topology is quite simpler as compared to other
topologies.
o The backbone cable is considered as a "single lane" through which the message is
broadcast to all the stations.
o The most common access method of the bus topologies is CSMA (Carrier Sense
Multiple Access).
CSMA: It is a media access control used to control the data flow so that data
integrity is maintained, i.e., the packets do not get lost. There are two alternative
ways of handling the problems that occur when two nodes send the messages
simultaneously.
2) Ring Topology
3) Star Topology
4) Tree topology
o Tree topology combines the characteristics of bus topology and star topology.
o A tree topology is a type of structure in which all the computers are connected with
each other in hierarchical fashion.
o The top-most node in tree topology is known as a root node, and all other nodes are
the descendants of the root node.
o There is only one path exists between two nodes for the data transmission. Thus, it
forms a parent-child hierarchy.
5) Mesh topology
6) Hybrid Topology
o Peer-To-Peer network
o Client/Server network
Peer-To-Peer network
o Peer-To-Peer network is a network in which all the computers are linked together
with equal privilege and responsibilities for processing the data.
o Peer-To-Peer network is useful for small environments, usually up to 10 computers.
o Peer-To-Peer network has no dedicated server.
o Special permissions are assigned to each computer for sharing the resources, but this
can lead to a problem if the computer with the resource is down.
AD
Advantages Of Peer-To-Peer Network:
o It is less costly as it does not contain any dedicated server.
o If one computer stops working but, other computers will not stop working.
o It is easy to set up and maintain as each computer manages itself.
Client/Server Network
o Client/Server network is a network model designed for the end users called clients, to
access the resources such as songs, video, etc. from a central computer known as
Server.
o The central controller is known as a server while all other computers in the network
are called clients.
o A server performs all the major operations such as security and network
management.
o A server is responsible for managing all the resources such as files, directories,
printer, etc.
o All the clients communicate with each other through a server. For example, if client1
wants to send some data to client 2, then it first sends the request to the server for
the permission. The server sends the response to the client 1 to initiate its
communication with the client 2.
AD