









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Basic Networking Concepts. Here you will be able to clear your all doubts and you will get clear crystal information about the Computer Networking Concepts
Typology: Study notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!










-A network can be defined as a group of computers and other devices connected in some ways so as to be able to exchange data. -Each of the devices on the network can be thought of as a node; each node has a unique address. -Addresses are numeric quantities that are easy for computers to work with, but not for humans to remember.
-Some networks also provide names that humans can more easily remember than numbers. Example: www.javasoft.com, corresponding to the above numeric address. Addressing
Consists of 4 bytes separated by periods Example: 136.102.233. -The R first bytes (R= 1,2,3) correspond to the network address; -The remaining H bytes (H = 3,2,1) are used for the host machine.
-Mnemonic textual addresses are provided to facilitate the manipulation of internet addresses. -DNS servers are responsible for translating mnemonic textual Internet addresses into hard numeric Internet addresses.
-An IP address identifies a host machine on the Internet. -An IP port will identify a specific application running on an Internet host machine. -A port is identified by a number, the port number.
-Cover cities, countries, and continents. -Based on packet switching technology -Examples of WAN technology: Asynchronous Transfer Mode (ATM), Integrated Services Digital Network (ISDN)
Interconnection -Networks of low capacity may be connected together via a backbone network which is a network of high capacity such as a FDDI network, a WAN network etc. -LANs and WANs can be interconnected via T1 or T3 digital leased lines -According to the protocols involved, networks interconnection is achieved using one or several of the following devices: → Bridge: a computer or device that links two similar LANs based on the same protocol. → Router: a communication computer that connects different types of networks using different protocols. → B-router or Bridge/Router: a single device that combines both the functions of bridge and router.
-Protocols are designed based on a layered architecture such as the OSI reference model. -Each entity at a layer n communicates only with entities at layer n-. -The data exchanged, known as Protocol Data Unit (PDU), goes back and forth through the layers, each layer adds or removes its own header and vice-versa. Therefore a layer n PDU may become a layer n- data.
The OSI (Open Systems Interconnection) Data Model -ISO standard for computer networks design and functioning. -Involves at least 7 layers, each playing a specific role when applications are communicating over the net. -During the sending process, each layer (from top to down) will add a specific header to the raw data. -At the reception, headers are eliminated conversely until the data arrived to the receiving application.
…
Physical layer: ensures a safe and efficient travel of data; consists of electronic circuits for data transmission etc. Data link layer: in charge of data encapsulation under the form of packets and their interpretation at the physical layer. Network layer: in charge of packets transmission from a source A to a destination B. Transport layer: in charge of the delivery of packets from a source A to a destination B Session layer: in charge of the management of network access. Presentation layer: determines the format of the data transmitted to applications, data compressing/decompressing, encrypting etc. Application layer: contains the applications which are used by the end-user, such as Java, Word etc. The TCP/IP Model -Consists of only 4 layers: application, transport, internet and network.
Application (applications and processes running on the layer network ) Transport (provides end-to-end data delivery layer services ) Internet (makes datagrams and handles data layer routing ) Network (provides routines allowing access to the physical layer network )
-Lies at the heart of TCP/IP. -Based on the Internet Protocol (IP), which provides the frame for transmitting data from place A to place B.
-Based on two main protocols: TCP (Transmission Control Protocol) and UDP (User Datagram protocol)
-Combines the functions of the OSI application, presentation, and session layers. -Protocols involved in this layer: HTTP, FTP, SMTP etc.
Concept of Network Interconnection -First implemented in the Defense Advanced Research Project Agency Network (Arpanet), in 1966 in USA. -Consists of connecting several computer networks based on different protocols -Requires the definition of a common interconnection protocol on top the local protocols. -The Internet Protocol (IP) plays this role, by defining unique addresses for a network and a host machine.
Internet Protocol (IP)
-The IP protocol provides two main functionality: →Decomposition of the initial information flow into packets of standardized size, and reassembling at the destination. →Routing of a packet through successive networks, from the source machine to the destination identified by its IP address. -Transmitted packets are not guaranteed to be delivered ( datagram protocol). -The IP protocol does not request for connection ( connectionless ) before sending data and does not make any error detection.
-Decompose the initial data (to be sent) into datagrams. -Each datagram will have a header including, the IP address and the port number of the destination. -Datagrams are then sent to selected gateways, e.g IP routers, connected at the same time to the local network and to an IP service provider network. -Datagrams are transferred from gateways to gateways until they arrived at their final destination.
-The fields at the beginning of the packet, called the frame header, define the IP protocol’s functionality and limitations. -32 bits are allocated for encoding source and destination addresses (32 bits for each of these address fields). -The remainder of the header (16 bits) encodes various information such as the total packet length in bytes. -Hence an IP packet can be a maximum of 64Kb long.
Header Checksum Source address Destination address Options Data
-Before sending data, TCP requires that the computers communicating establish a connection ( connection- oriented protocol ). -TCP provides support for sending and receiving arbitrary amounts of data as one big stream of byte data (IP is limited to 64Kb). -TCP does so by breaking up the data stream into separate IP packets. -Packets are numbered, and reassembled on arrival, using sequence and sequence acknowledge numbers. -TCP also improves the capability of IP by specifying port numbers. → There are 65,536 different TCP ports (sockets) through which every TCP/IP machine can talk. Structure of a TCP packet
User Datagram Protocol (UDP)
-Datagram protocol also built on top of IP. -Has the same packet-size limit (64Kb) as IP, but allows for port number specification. -Provides also 65,536 different ports. -Hence, every machine has two sets of 65,536 ports: one for TCP and the other for UDP. -Connectionless protocol, without any error detection facility. -Provides only support for data transmission from one end to the other, without any further verification. -The main interest of UDP is that since it does not make further verification, it is very fast. -Useful for sending small size data in a repetitive way such as time information. Source port Destination port Sequence No. Sequence Ack. No. Misc. header Dat a
On top of TCP/IP, several services have been developed in order to homogenize applications of same nature: