450 likes | 774 Views
4122102 :. Computer Network. & Distributed. Computer Network and Distributed. Rachphat Sriprom. Rajabhat Institute Chandrakasem. Computer Network. A network is a set of devices (nodes) connected by media links A node can be a computer, printer, etc.
E N D
4122102 : Computer Network & Distributed Computer Network and Distributed Rachphat Sriprom Rajabhat InstituteChandrakasem
Computer Network • A network is a set of devices (nodes) connected by media links • A node can be a computer, printer, etc. • The links are called communication channels
Performance The performance of a network depends on a number of factors ; • Number of users • Type of transmission medium • Hardware • Software
Reliability • Frequency of failure • Recovery time of a network after failure • Catastrophe
Security • Unauthorized access • For a network to be useful, sensitive data must be protected from unauthorized access. Protection can be accomplished at a number of levels • Viruses • A good network is protected from viruses by hardware and software designed specifically for that purpose.
Computer Networks &Computer Communications • Computer Networks: two or more computer interconnected via a communication network • Computer Communications: the exchange of information between two computers for purpose of cooperative action
Transmission system utilization Interfacing Signal generation Synchronization Exchange Management Error detection and correction Flow control Addressing Routing Recovery Message formatting Security Network management Communications Tasks
Protocols • Protocol - a set of rules governing the exchange of data between two entities in a system • Must speak the same language • Entities • User applications • e-mail facilities • terminals • Systems • Computer • Terminal • Remote sensor
Key Elements of a Protocol • Syntax • Data formats • Signal levels • Semantics • Control information • Error handling • Timing • Speed matching • Sequencing
Protocol Data Unit (PDU) • The sending application generates a block of data and passes this to the transport layer • Each of these blocks the transport layer appends a transport header, containing protocol information • The combination of data from the next higher layer and control information is known as a protocol data unit (PDU)
Encapsulation in PDU • Addition of control information to data • Address information • Error-detecting code • Protocol control
OSI Model • The Open Systems Interconnection model is a layered framework for the design of network systems that allows for communication across all types of computer systems • It consists of seven separate but related layers • An ISO standard ISO is the organization. OSI is the model.
OSI seven layers • Application layer • Presentation layer • Session layer • Transport layer • Network layer • Data Link layer • Physical layer
The OSI Environment Headers are added to the data at layers 6, 5, 4, 3, and 2. Trailers are usually added only at layer 2.
Functions Of The Layers • Physical Layer • Physical interface between devices • Information Transmission • Medium & Signal • Mechanical (Connector)
Data Link Layer • Control the information transfer over Physical link • Physical addressing • Framing • Flow control • Error control • Synchronization • Access control
Data Link Layer Figure shows Framing
Network Layer • The network layer is responsible for the source-to-destination delivery of a packet possibly across multiple networks (links) • Switching & Routing • Logical Addressing • Higher layers do not need to know about underlying technology • Not needed on direct links
Transport Layer • Control for information transfer between end user system • Segmentation & Reassembly • In sequence • Connection control • Flow control • Error control • Quality of service (QoS)
Session Layer • Control of dialogues between applications in end systems • Dialogue discipline (full duplex or half duplex) • Grouping • Recovery
Presentation Layer • The presentation layer is concerned with the syntax and semantics of the information exchanged between two systems • Data formats and Encoding • Data compression • Encryption (senders transforms the original information to another from and sends it out over the network)
Application Layer • The application layer provides user interface and support for services such as electronic mail, remote file access and transfer, shared database management, etc. • Network virtual terminal (allows a user to log on to a remote host) • File transfer, access, and management (FTAM) • Mail services • Directory services