Introduction
Components
Topologies
Categories of Network
OSI model
TCP/IP suite
Addressing
Introduction to Computer Networks
A computer network is a system that connects numerous independent computers in order to share information and resources. The integration of computers and other different devices allows users to communicate more easily.
A computer network is a collection of two or more computer systems that are linked together. A network connection can be established using either cable or wireless media. Hardware and software are used to connect computers and tools in any network.
A computer network consists of various kinds of nodes. Servers, networking hardware, personal computers, and other specialized or general-purpose hosts can all be nodes in a computer network. Hostnames and network addresses are used to identify them.
Fig:- Computer Networks
Components of Computer Networks
Basic hardware interconnecting network nodes are called as components of Computer Networks. They are
Network Interface Cards (NICs)
Bridges
Hubs,
Switches
Routers
NIC (Network Interface Card):
A network card, often known as a network adapter or NIC (network interface card), is computer hardware that enables computers to communicate via a network. It offers physical access to networking media and, in many cases, MAC addresses serve as a low-level addressing scheme. Each network interface card has a distinct identifier. This is stored on a chip that is attached to the card.
Repeater:
A repeater is an electrical device that receives a signal, cleans it of unwanted noise, regenerates it, and retransmits it at a higher power level or to the opposite side of an obstruction, allowing the signal to travel greater distances without degradation. In the majority of twisted pair Ethernet networks, Repeaters are necessary for cable lengths longer than 100 meters in some systems. Repeaters are based on physics.
Hub:
A hub is a device that joins together many twisted pairs or fiber optic Ethernet devices to give the illusion as a formation of a single network segment. The device can be visualized as a multiport repeater. A network hub is a relatively simple broadcast device. Any packet entering any port is regenerated and broadcast out on all other ports, and hubs do not control any of the traffic that passes through them. Packet collisions occur as a result of every packet being sent out through all other ports, substantially impeding the smooth flow of communication.
Bridges:
Bridges broadcast data to all the ports but not on the one that received the transmission. Bridges, on the other hand, learn which MAC addresses are reachable through specific ports rather than copying messages to all ports as hubs do. Once a port and an address are associated, the bridge will only transport traffic for that address to that port.
Switches:
A switch differs from a hub in that it only forwards frames to the ports that are participating in the communication, rather than all of the ports that are connected. The collision domain is broken by a switch, yet the switch depicts itself as a broadcast domain. Frame forwarding decisions are made by switches based on MAC addresses.
Routers:
Routers are networking devices that use headers and forwarding tables to find the optimal way to forward data packets between networks. A router is a computer networking device that links two or more computer networks and selectively exchanges data packets between them. A router can use address information in each data packet to determine if the source and destination are on the same network or if the data packet has to be transported between networks. When numerous routers are deployed in a wide collection of interconnected networks, the routers share target system addresses so that each router can develop a table displaying the preferred pathways between any two systems on the associated networks.
Gateways:
To provide system compatibility, a gateway may contain devices such as protocol translators, impedance matching devices, rate converters, fault isolators, or signal translators. It also necessitates the development of administrative procedures that are acceptable to both networks. By completing the necessary protocol conversions, a protocol translation/mapping gateway joins networks that use distinct network protocol technologies.
Topologies
The order of arrangements of computer devices in the network is logically called as Topology. The types of Topologies are Listed as folows:
Bus Topology
Ring Topology
Star Topology
Mesh Topology
1. Bus Topology:
Every computer and network device is connected to a single cable in a bus topology network. Linear Bus topology is defined as having exactly two terminals.
Advantages
Installation is simple.
Compared to mesh, star, and tree topologies, the bus utilizes less cabling.
Disadvantages
Difficulty in reconfiguring and isolating faults.
A bus cable malfunction or break interrupts all communication.
Fig:- Bus Topology
2. Ring Topology:
The topology is named ring topology because one computer is connected to another, with the final one being connected to the first. Exactly two neighbors for each device. A signal is passed along the ring in one direction. Each ring incorporates a repeater.
Advantages
Data transmission is relatively straightforward because packets only move in one direction.
There is no requirement for a central controller to manage communication between nodes.
Easy installation & Reconfiguration
Simplified Faulty connections
Disadvantages
In a Unidirectional Ring, a data packet must traverse through all nodes.
All computers must be turned on in order for them to connect with one another.
Fig:- Ring Topology
3. Star Topology:
Each device in a star topology has a dedicated point-to-point link to a central controller, which is commonly referred to as the HUB. There is no direct connection between the devices. Traffic between the devices is not allowed in this topology. As an exchange, the controller is used.
Advantages
When attaching or disconnecting devices, there are no network interruptions.
It’s simple to set up and configure.
Identifying and isolating faults is simple.
Less Expensive than mesh
Easy to install & configure
Disadvantages
Nodes attached to the hub, switch, or concentrator is failed if they fail.
Because of the expense of the hubs, it is more expensive than linear bus topologies.
More cable required compared to bus or ring
Too much dependency on Hub
Fig:- Star Topology
4. Mesh Topology:
Every device in a mesh topology has dedicated point-to-point connectivity to every other device. The term “dedicated” refers to the fact that the link exclusively transports data between the two devices it links. To connect n devices, a fully connected mesh network contains n *(n-1)/2 physical channels.
Advantages
Data can be sent from multiple devices at the same time. This topology can handle a lot of traffic.
Even if one of the connections fails, a backup is always available. As a result, data transit is unaffected.
Physical boundaries prevent other users from gaining access to messages
Point to Point links make fault transmission & fault isolation easy
Disadvantages
The amount of cabling and the number of I/O ports that are necessary.
The sheer bulk of wiring can be greater than the available space can accommodate.
It is difficult to install and reconfigure.
Fig:- Mesh Topology
5. Tree Topology:
The topology of a tree is similar to that of a star. Nodes in a tree, like those in a star, are connected to a central hub that manages network traffic. It has a root node, which is connected to all other nodes, producing a hierarchy. Hierarchical topology is another name for it. The number of Star networks is connected via Bus in Tree Topology.
Advantages
Network expansion is both possible and simple.
We partition the entire network into pieces (star networks) that are easier to manage and maintain.
Other segments are unaffected if one segment is damaged.
Disadvantages
Tree topology relies largely on the main bus cable because of its basic structure, and if it fails, the entire network is handicapped.
Maintenance becomes more challenging when more nodes and segments are added.
Fig:- Tree Topology
Categories of Network
Based on the Communication Medium
Wired Network:
As we all know, “wired” refers to any physical medium made up of cables. Copper wire, twisted pair, or fiber optic cables are all options. A wired network employs wires to link devices to the Internet or another network, such as laptops or desktop PCs.
Wireless Network:
“Wireless” means without wire, media that is made up of electromagnetic waves (EM Waves) or infrared waves. Antennas or sensors will be present on all wireless devices. Cellular phones, wireless sensors, TV remotes, satellite disc receivers, and laptops with WLAN cards are all examples of wireless devices. For data or voice communication, a wireless network uses radio frequency waves rather than wires.
Based on Area covered
Local Area Network (LAN):
A LAN is a network that covers an area of around 10 kilometers. For example, a college network or an office network. Depending upon the needs of the organization, a LAN can be a single office, building, or Campus. We can have two PCs and one printer in-home office or it can extend throughout a company and include audio and video devices. Each host in LAN has an identifier, an address that defines hists in LAN. A packet sent by the host to another host carries both the source host’s and the destination host’s address.
Metropolitan Area Network (MAN):
MAN refers to a network that covers an entire city. For example: consider the cable television network.
Wide Area Network (WAN):
WAN refers to a network that connects countries or continents. For example, the Internet allows users to access a distributed system called www from anywhere around the globe.WAN interconnects connecting devices such as switches, routers, or modems. A LAN is normally privately owned by an organization that uses it. We see two distinct examples of WANs today: point-to-point WANs and Switched WANs
Based on Types of communication
Point To Point networks:
Point-to-Point networking is a type of data networking that establishes a direct link between two networking nodes.A direct link between two devices, such as a computer and a printer, is known as a point-to-point connection.
Multipoint:
Multipoint is the one in which more than two specific devices share links. In the multipoint environment, the capacity of the channel is shared, either spartailly or temporally. If several devices can use the link simultaneously, it is a spatially shared connection.
Broadcast networks:
In broadcast networks, a signal method in which numerous parties can hear a single sender. Radio stations are an excellent illustration of the “Broadcast Network” in everyday life. The radio station is a sender of data/signal in this scenario, and data is only intended to travel in one direction. Away from the radio transmission tower, to be precise.
Based on the type of Architecture
P2P Networks:
Computers with similar capabilities and configurations are referred to as peers. “Peer to Peer” is the abbreviation for “peer to peer.” The “peers” in a peer-to-peer network are computer systems that are connected to each other over the Internet. Without the use of a central server, files can be shared directly between systems on the network.
Client-Server Networks:
Each computer or process on the network is either a client or a server in a client-server architecture (client/server). The client asks for services from the server, which the server provides. Servers are high-performance computers or processes that manage disc drives (file servers), printers (print servers), or network traffic (network servers)
Hybrid Networks:
The hybrid model refers to a network that uses a combination of client-server and peer-to-peer architecture. Eg: Torrent.
OSI Model
OSI stands for Open Systems Interconnection. It has been developed by ISO – ‘International Organization for Standardization‘, in the year 1984. It is a 7 layer architecture with each layer having specific functionality to perform. All these 7 layers work collaboratively to transmit the data from one person to another across the globe.
Fig:- 7Layers of OSI Model
Note :-
Easy way to Remember 7 Layers Please Do Not Touch Steves Pet Alligator
Physical Layer
This layer deals with the hardware of networks such as cabling. It defines the mechanical and electrical standards of interface devices and the types of cables used to transmit digital signals (e.g. optical fiber, coaxial cable, wireless, etc.).The major protocols used by this layer include Bluetooth, PON, OTN, DSL, IEEE.802.11, IEEE.802.3, L431 and TIA 449.
Data Link Layer
This layer receives data from the physical layer and compiles it into a transform form called framing or frame. The principal purpose of this layer is to detect transfer errors by adding headers to data packets.The protocols are used by the Data Link Layer include: ARP, CSLIP, HDLC, IEEE.802.3, PPP, X-25, SLIP, ATM, SDLS and PLIP.
Network Layer
This is the most important layer of the OSI model, which performs real time processing and transfers data from nodes to nodes. Routers and switches are the devices used for this layer that connects the notes in the network to transmit and control data flow.The network layer assists the following protocols: Internet Protocol (IPv4), Internet Protocol (IPv6), IPX, AppleTalk, ICMP, IPSec and IGMP.
Transport Layer
The transport layer works on two determined communication modes: Connection oriented and connectionless. This layer transmits data from source to destination node.It uses the most important protocols of OSI protocol family, which are: Transmission Control Protocol (TCP), UDP, SPX, DCCP and SCTP.
Session Layer
The session layer creates a session between the source and the destination nodes and terminates sessions on completion of the communication process.The protocols used are: PPTP, SAP, L2TP and NetBIOS.
Presentation Layer
The functions of encryption and decryption are defined on this layer. It ensures that data is transferred in standardized formats by converting data formats into a format readable by the application layer.The following are the presentation layer protocols: XDR, TLS, SSL and MIME.
Application Layer
This layer works at the user end to interact with user applications. QoS (quality of service), file transfer and email are the major popular services of the application layer.This layer uses following protocols: HTTP, SMTP, DHCP, FTP, Telnet, SNMP and SMPP.
TCP/IP suite :
The TCP/IP protocol suite consists of many protocols that operate at one of 4 layers.
The protocol suite is named after two of the most common protocols – TCP (transmission Control Protocol) and IP (internet Protocol).
TCP/IP was designed to be independent of networking Hardware and should run across any connection media.The earliest use, and the most common use is over Ethernet networks.
Ethernet is a 2 layer protocol/standard covering the physical and data link layer, shown in the diagram above.
HTTP (hypertext transfer protocol) -This is the workhorse of the Web.
SMTP,POP3,IMap4 – These are email protocols
TCP (Transmission control protocol) is a connection orientated protocol and is used to provides a reliable end to end connection.
UDP (used datagram protocol) is connection less protocol and doesn’t guarantee delivery. See UDP vs TCP- what is the Difference?
Applications will choose which transmission protocol to use based on their function. HTTP, POP3, IMAP4, SMTP and many more use TCP.
UDP is used more in utility applications like DNS, RIP (routing information protocol), DHCP.
IP (Internet Protocol) – This is the main networking protocol. There are two version of IP (IPv4 and IPV6).
ARP (address resolution Protocol) -Translates an IP address to a MAC or physical address.(IP4 networks)
Addressing.
A Network Address is a logical or physical address that uniquely identifies a host or a machine in a telecommunication network. A network may also not be unique and can contain some structural and hierarchical information of the node in the network. Internet protocol (IP) address, media access control (MAC) address and telephone numbers are some basic examples of network addresses. It can be of numeric type or symbolic or both in some cases.
Fig:- Network Addressing
An IP address is a string of numbers separated by periods. IP addresses are expressed as a set of four numbers . an example address might be 192.158.1.38. Each number in the set can range from 0 to 255. So, the full IP addressing range goes from 0.0.0.0 to 255.255.255.255.
Comments
Post a Comment