Net431:advanced net services

Slides:



Advertisements
Similar presentations
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Advertisements

Chapter 2 Network Models.
Chapter 2 Network Models.
1 Computer Networks IP: The Internet Protocol. 2 IP is a connection-less, unreliable network layer protocol IP provides best effort services in the sense.
The OSI Model and the TCP/IP Protocol Suite
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP.
Lecturer: Tamanna Haque Nipa
The OSI Model and the TCP/IP Protocol Suite
Chapter 2 Network Models
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
TCP/IP Protocol.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
NET 221D: NETWORKS FUNDAMENTALS Lecture 1: Introduction to Protocols and Layers Networks and Communication Department 1.
1 Kyung Hee University Chapter 2 Network Models. 2 Kyung Hee University 2.1 LAYERED TASKS We use the concept of layers in our daily life. As an example,
Chapter 2. Network Models
8/28/ Network Models - Lin 1 CPET/ECET Network Models Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical and.
Chapter 2. Network Models
2.1 Chapter 2 Network Models – cont. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
UDP & TCP BS IT 4 th Semester By: Muhammad Hanif User Datagram Protocol & Transmission Control Protocol.
Data Communication Network Models
Network Models. The OSI Model Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO). Model for understanding.
Chapter 2 Network Models
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
Network Models. 2.1 what is the Protocol? A protocol defines the rules that both the sender and receiver and all intermediate devices need to follow,
Chapter 9 Introduction To Data-Link Layer 9.# 1
Network Models.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Chapter 2 Network Models.
Lecture 3 By Miss Irum Matloob.
Chapter 19 Network Layer Protocols
A quick intro to networking
Net 222: Communications and networks fundamentals (Practical Part)
Chap. 2 Network Models.
Part I. Overview of Data Communications and Networking
The OSI Model and the TCP/IP Protocol Suite
Seminar report on IPv4 & IPv6
ADDRESSING Before you can send a message, you must know the destination address. It is extremely important to understand that each computer has several.
Byungchul Park ICMP & ICMPv DPNM Lab. Byungchul Park
Net 431: ADVANCED COMPUTER NETWORKS
Lec 5 Layers Computer Networks Al-Mustansiryah University
Encapsulation/Decapsulation
Introduction to Protocol and Layer
Net 323: NETWORK Protocols
Chapter 2 Network Models.
The OSI Model and the TCP/IP Protocol Suite
Net 431: ADVANCED COMPUTER NETWORKS
Data and Computer Communications by William Stallings Eighth Edition
Chapter 20 Network Layer: Internet Protocol
Process-to-Process Delivery:
Chapter 2 Network Models.
Chapter 2 Network Models.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Model.
Lecture 2: Overview of TCP/IP protocol
Net 323 D: Networks Protocols
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Network Models CCNA Instructor Training Course October 12-17, 2009
Data Communication Networks
CSE 313 Data Communication
Chapter 2 Network Models.
The OSI Model and the TCP/IP Protocol Suite
Data Communication and Computer Networks
Data-Link Layer The Internet is a combination of networks glued together by connecting devices (routers or switches) If a packet is to travel from a host.
16EC Computer networks unit II Mr.M.Jagadesh
NET 323D: Networks Protocols
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Transport Layer 9/22/2019.
Presentation transcript:

Net431:advanced net services Networks and Communication Department Tutorial 1

Q1:What are the concerns of the physical layer in the Internet model? physical characteristics of the media representation of bits type of encoding synchronization of bits transmission rate and mode the way devices are connected with each other and to the links 18-Sep-18 Networks and Communication Department

Q2:What are the responsibilities of the data link layer in the Internet model? framing data bits providing the physical addresses of the sender/receiver data rate control detection and correction of damaged and lost frames 18-Sep-18 Networks and Communication Department

Q3: What is the difference between a port address, a logical address, and a physical address? The physical address is the local address of a node; it is used by the data link layer to deliver data from one node to another within the same network. The logical address defines the sender and receiver at the network layer and is used to deliver messages across multiple networks. The port address (service- point) identifies the application process on the station. 18-Sep-18 Networks and Communication Department

Q4: In Figure, computer A sends a message to computer D via LANl, router Rl, and LAN2. assume that the communication is between a process running at computer A with port address i and a process running at computer D with port address j. Show the contents of packets and frames at the network, data link, and transport layer for each hop. 18-Sep-18 Networks and Communication Department

18-Sep-18 Networks and Communication Department

Q5: If the data link layer can detect errors between hops, why do you think we need another checking mechanism at the transport layer? The errors between the nodes can be detected by the data link layer control, but the error at the node (between input port and output port) of the node cannot be detected by the data link layer. 18-Sep-18 Networks and Communication Department

Q6: In a block of addresses, we know the IP address of one host is 25 Q6: In a block of addresses, we know the IP address of one host is 25.34.12.56/16. What are the first address (network address) and the last address and number of address in the block? 18-Sep-18 Networks and Communication Department

The number of address 2^(32-16)=2^(16)= 65,536 address 18-Sep-18 Networks and Communication Department

Q7: Calculate the HLEN (in IPv4) value if the total length is 1200 bytes, 1176 of which is data from the upper layer. Header Length = Total Length - Data Length = 1200 − 1176 = 24 HLEN = 24/4 = 6 (in decimal) → 0110 (in binary) 18-Sep-18 Networks and Communication Department

Q8: In an IPv4 datagram, the M bit is 0, the value of HLEN is 5, the value of total length is 200, and the offset value is 200. What is the number of the first byte and number of the last byte in this datagram? Is this the last fragment, the first fragment, or a middle fragment? Data size = 200 − (5 × 4) = 180 bytes First byte= 200 × 8 = 1600 The number of the last byte = First byte value + data size − 1 = 1779 M = 0, offset ≠ 0 → last fragment 18-Sep-18 Networks and Communication Department

Q9: What is a protocol ? A protocol is the set of rules or conventions governing the way in which two entities cooperate to exchange data.

Q10: What is a Packet Data Unit (PDU) ?

A PDU is the combination of data from the next higher communications layer and control information. 18-Sep-18 Networks and Communication Department

Q11: What are some advantages to layering as seen in the TCP/IP reference model Layering decomposes the overall communications problem into a number of more manageable sub problems. 18-Sep-18 Networks and Communication Department

Q12: Compare the TCP header and the UDP header Q12: Compare the TCP header and the UDP header. List the fields in the TCP header that are missing from UDP header. Give the reason for their absence. 18-Sep-18 Networks and Communication Department

The following is a dump of a UDP header in hexadecimal format. Q13: The following is a dump of a UDP header in hexadecimal format. 0632000DOO lCE217 a. What is the source port number? b. What is the destination port number? c. What is the total length of the user datagram? d. What is the length of the data? 18-Sep-18 Networks and Communication Department

a. Port number 1586 b. Port number 13 c. 28 bytes d. 20 bytes (28 – 8 byte header) 18-Sep-18 Networks and Communication Department

Q&A 18-Sep-18 Networks and Communication Department