A computer network is a collection of computer and devices connected together via communication device and transmission media.
For example - It may connect computer to many other computer printer scanner.
The medium of connection of communication device is optical fiber, co-axial fiber, wireless (radio wave, microwave and satellite).
The computer network can be arranged by some topology like ring, star, bus, hybrid.
Example of computer networks :-
Full form of ARPANET is advanced research project as agency network. in earlier computer is used as a single machine and we cannot use internet. computer used to establish communication between different users.
ARPANET was design by advanced research agency (ARPA) for department of defence.
ARPANET was the first network in the world.
In 1969, the first ARPANET was established.
ARPANET was originally developed for long-distance (remote) computing. Remote computing was done by a utility program known as telnet. Which allow the user to connect one computer to another computer on a network.
Private network is a network that have specified network. Where many type of restrictions are established to create secure environment. In private network, the device outside the network does not connect. Only selected devices can access this type of network depending on setting of network return and access point.
Private network mostly used in business and private organization because they need high security for data / information.
Private network is complicated to setup. First we need to allow how many number of users or devices can be connect.
High security hardware and application like firewalls need to be install.
The internet or simply net is a worldwide network of computer network. It is a interconnection of large and small network around the world.
The internet is a public network which is accessed by anyone from any part of the world.
Working of internet
When we transfer any data through internet then it is broken into a lot of same size pieces called packet.
A header is added to each packets that explain where it come from and where it go.
Each packets is sent computer to computer until find its way to its destination. Each computer in the way decide where next to send the packet.
At the destination, the packets are examined, if there is any packet missing or damaged then a message sent to the sender for data to be resent.
Then the packets are reassembled into their original form.
Is computer connect to the internet has a software called TCP / IP (transmission control protocol or internet protocol). Which is responsible for sending comedy saving and checking packets. IP / TCP is the glue of internet.
Frequently used terms in internet :-
The world wide Web (www) is a source of information in which document and other web resources are identified by uniform resource locator (URLs) and it is accessed via the internet.
Web page is a document which is basically.
written in hypertext markup language (HTML). That can be accessed through internet using any web browser. A web page is page with in a website.
It is a collection of many web pages. we can also said that webpage may content text, image, audio and video, pdf etc.
The text having link is called hypertext. It is also called linked text. You can click on a hypertext to go to another web page or website.
Hypertext transfer protocol enable the internet user to access the webpage placed in the website.
Network topology used to explain the manner in which network is physically connected.
OSI stand for open system interconnection. It has developed by ISO (international organization of standardization) in the year 1947.
It has seven layer architecture with each layer having their own function to perform. All these seven layer used to transmit data from one person to another across the world.
The lowest layer of OSI model is physical layer. It is responsible for actual physical connection between the devices. The physical layer contain information in the form of bits. when receiving data, this layer get the signal received and convert into 0 and 1 and sent to the data link layer.
Device used :- cable, HUB, repeater, fiber etc.
Protocol :- IEEE 802-11
The data link layer is responsible for delivery of the message, nodes to nodes. The packet received from network layer is further divided into frames.
Device use :- bridge, NIC (network interference card), 2 layer switch.
Protocol :- IEEE 802.3, HDLC, IEEE 802.5 .
Network layer work for transmission of data from one host/user to other user located in different network. Here data in packet form and network layer select shortest path to transmit the packet.
Device use :- router, B router, 3 layer switch.
Protocol :- IP, ipv4, IPv6, ICMP, IGMP.
Transport layer provide service to application layer and take service from the network layer. It responsible for end to end delivery of complete message. The data in the transport layer is refer to as segment.
Device use :- Gateway, Firewalls .
Protocol :- TCP, UDP, SCTP.
This layer is responsible for establishment of connection, maintenance of session, authentication and also ensure its security.
Device use :- firewall
Protocol :- PAP, RPC
This layer deal with Syntax and semantics of the info exchange between two system.
Device use :- firewall
Protocol :- MIME, SSL
It enables the user to access the network.
Device use :- firewalls, gateway, PC, phones
Protocol :- DNS, HTTP, FTP, telnet, SMTP, POP
TCP stands for transmission control protocol. It is a set of networking protocol that allow two or more computer to communicate using internet. It is developed before OSI model.
It contain 4 layer but now it contain 5 layer.
No specific protocol.
The data link layer is responsible for delivery of the message from nodes to nodes.
The packet received from network further divided into frames.
Network layer work for transmission of data from one host / user to other user located in different network.
Here data in packet form and network layer select shortest path to transmit the packet.
It is possible for end to end delivery of complete message. The data in the transport layer is referred to as segment.
It enables the user to access the network. Device used PC, mobile etc. and protocols are HTTP, FTP, telnet, POP, SMTP etc.
Protocol is a set of rules used in communication or ensure systematic and safe transfer of data over network. Everything we send or receive through the internet work according to protocols and all this protocols exist in seven layer of OSI model.
Internet protocol (IP)
It is working with TCP. When we send data over internet is broken into many pieces called packet and these packets are reassembled by IP and convert into original form and send to destination address.
Transmission control protocol is used for communication over the network. In TCP data is broken into small packet and sent to the destination.
It is same as TCP but it used for transfer small size data packet and these data packet are called datagram. It is also work with Internet protocol (IP). If any packet are missing then it does not send a message to sender for resent data and it continuously working with missing data packet.
In this UDP head and UDP data is 8 bytes each.
It identify a network on internet. Using this we can find range of address in a network and total possible number of hosts / user on network. IP addresses is most important for communicate between two or more computer / device because IP address find the actual computer to communicate.
Subnet address in use to share same internet address to multiple network on autonomous system. The sub network capability of TCP / IP also make it possible to divide a sub network into multiple logical network.
For example - An organization can have a single internet network address that is known to user outside the organization, yet it can configure its network internally into departmental subnet.
|Network Address ( 8 bits )||Local Host Address ( 24 bit )|
|01111101||00001101 0100||1001 000011|
First Octet Value
0 - 127
128 - 191
192 - 223
224 - 239
240 - 255
For IP address from class A, the first 8 bit (the first decimal number) represent the network part and remaining part be host / user part.
For example - 10.50.120.7 Here, the first number (10) represent network part and remaining 50.120.7 represent host part.
Internet control protocols are rule for transmission of the data over the internet.
Address resolution protocol used when we want to communicate between one device to another device then, there should be each device has IP address (system address) but this IP address is not sufficient for communications so, the address resolution protocol request the Mac address of the other device then we communicate with each other.
Reverse address resolution protocol used when we want to communicate between one device to another device then, the system know the Mac address of other system but do not know the IP address of another device so there RARP request IP address of the other device to communicate between them.
Internet control message protocol is network diagnostic and error reporting protocol. ICMP belongs to IP protocol and it use IP as carrier protocol. If some error in network occur then it send message to origin host. ICMP contain dozens of diagnostic and error reporting message. It resolve the problem occur in Internet protocol like no error reporting.
Message distributed by electronic means from one computer to one or more computer by the help of or via a network.
Email protocols are set of rules that help the client to properly transmit the information to or from the mail server.
We will discuss various protocols :-
SMPT stand for simple mail transfer protocol. It is used for send mail. It is working under port 25.
SMTP commands :-
IMAP stand for internet message access protocol. It is used to store mail in mail server (when we open mail like Gmail Yahoo, we can access all mail because this mail are store in mail server).
All the user request mail server to show their messages and then mail server ask to login with their own ID and password to access mail.
IMAP commands :-
It stand for post office protocol. It is used to receive mail from mail server using TCP / IP.
Currently used pop is POP3 fridge has version 3. POP support offline access to the message or required less internet.
POP commands :-
IEEE standard for institute of electrical and electronics engineering.
IEEE dealing with LAN and MAN.
The service and protocol specified in IEEE is lower two level of OSI model (data link layer and physical layer).
IEEE 802 splits the data link layer into sub layer.
The most widely used standard is Ethernet, token ring, wireless LAN.
Working group :-
When many user try to access a channel then we apply some method called channel access method.
Aloha are also called aloha method. It is simple communication scheme in which each source (transmitter) in a network send data where ever in a frame. If the frame successful is send then next frame is Sent. If frame fail to send then it need to resend.
Pure aloha in networking allowed the station to transmit the data at anytime and continuously.
In pure aloha station has sent continuously. There should be possibilities of collision due to continuous send data from station.
Pure aloha is also called continuous time system.
Continuous time system flow chart -
Start and set back of time initially as 0 then send frame and acknowledgment from station. If an acknowledgment received than success. If acknowledgment not received then increment the back of time then check the limit reached or not, If yes then abort. If limit not reached then wait for a particular time and recent the frame again.
In slotted aloha user wait till the next station being to transmit the data.
It is discrete time system.
Efficiency of slotted aloha (x) = G * e-G
Where G = Number of station willing to transmit data at the beginning of the same time slot.
Maximum efficiency :-
Maximum efficiency of slotted aloha (x) = 36.8 % .
CSMA stand for carrier sensing multiple access.
CSMA is a network access method used on shared network topology.
There are three categories for CSMA :-
In this user check only point of node for busy or free of channel.
If channel are busy then the station / user stop for a time and then recheck. In this there is a disadvantage that in the time in which user does not check for busy or free then high possibilities of chance of free of the channel.
In this user sense the channel continuously but in this also a disadvantage that in same time both user can transmit data and occurred collision.
In this all the user check continuously but there should not all users sent data at same time. In these they send data first whose probability is high.
Flow diagram ;-
In this a station monitor the channel after it sent frame. If frame send successfully then station is finished work. After finished work if there is collision then frame need to recent.
In this the station / node / computer in a network are create a logical ring.
In this method, a special packet call token. Data moving through the ring. In this token give rights to access the channel and send its data.
A system for connecting numbers of computer system to form a local area network with protocol to transfer or receive data by two or more system. It is mostly use LAN for linking computer together.
Mostly to type of ethernet are used :-
Fast Ethernet is the successor of 10-Base-T Ethernet.
It is more popular than gigabit Ethernet because its configuration and implementation is simple. It is faster than its successor.
Its variants are :-
The coverage limit of fast Ethernet is up to 100 Km and its round trip delay in fast Ethernet is 100 to 500 bit times.
Gigabit Ethernet is successor of first Ethernet. It can produce up to 1gbps speed. It is less popular than fast Ethernet because its configuration and implementation is complicated than fast Ethernet.
Token- token having data for transmission over network.
In token ring method token passing through one node to another node by creating a logical ring.
In this every node have predecessor node and successor note.
In this token passing through one node to another node by creating a ring.
They are the four type of token ring :-
In this token passing through current node (which have data) to success node.
If there is fail in link then whole system fail.
There should not need any address.
In this there is two ring, one is clockwise and another is anticlockwise.
In this first ring is for original communication and second ring which move anticlockwise used for emergency (when first sync failed then emergency doing work).
If original ring should be repaired then emergency / secondary ring will stop work and then original ring will be come in working mode.
It is also called token bus. In this all station / node connect with single bus. A logical ring create for communication. Every node / station / system know the address of successor or predecessor node.
Starting have star topology. This have a HUB and ring passing through one node to HUB then HUB to another.
In this all station / system / node connected with two wire. Chance of failure is less because HUB pass token.
A device which used to connect two LAN networks for communication is called connecting device.
There are many connecting devices work on different layer of OSI model :-
This device work on only physical layer. So it is called 1 layer switch.
HUB is also called repeater. HUB is used because when we transfer data then due to long range signal will be week so we need to use HUB or repeater for regenerate the signal.
Bridge work on physical layer and data link layer so it is known as 2 layers switch.
Bridge physical layer :-
Bridge work on physical layer as a repeater.
Bridge in data link layer :-
Bridge check the Mac address in the data link layer.
Note :- Bridge has a filtering capability by which if user send frame with destination address then the bridge decide to send the frame to the destination with suitable port.
Router work on physical data link and network layer. So, it is known as 3 layer switch.
Router have physical and logical IP address for each of interface. router act as those address in which physical destination address match as address of the interface at which packet arrived.
Switch is used to communicate between two or more computer. It worked on data link layer. When we send data from one system to another system then the data passing through the switch and switch decide where to send data.
If we have more system and there is no port remaining then we need more switches to connect more system. In the below figure two switches are connected together with crossover cable.