1 DETAILS OF PROTOCOLS The Zoo Protocol - TCP - IP.

Slides:



Advertisements
Similar presentations
PJC CCNA Semester 2 Ver. 3.0 by William Kelly
Advertisements

CCNA – Network Fundamentals
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Intermediate TCP/IP TCP Operation.
Lecture 7 Transport Layer
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Lecture 5: TCP/IP OSI layers 3 (IP) and 4 (TCP/UDP) IPv4 – addresses and routing, “best-effort” service Ethernet, Appletalk, etc wrap IP packets with their.
CCNA 1 v3.1 Module 11 Review.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 2: Internet Protocols.
Introduction to TCP/IP
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
Prepared By E.Musa Alyaman1 Networking Theory Chapter 1.
Gursharan Singh Tatla Transport Layer 16-May
Lecture 8 Modeling & Simulation of Communication Networks.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
What Can IP Do? Deliver datagrams to hosts – The IP address in a datagram header identify a host IP treats a computer as an endpoint of communication Best.
Process-to-Process Delivery:
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Networking Basics TCP/IP TRANSPORT and APPLICATION LAYER Version 3.0 Cisco Regional Networking Academy.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Computer Networks. IP Addresses Before we communicate with a computer on the network we have to be able to identify it. Every computer on a network must.
1 Chapter Overview TCP/IP DoD model. 2 Network Layer Protocols Responsible for end-to-end communications on an internetwork Contrast with data-link layer.
CCNA1 v3 Module 11 v3 CCNA 1 Module 11 JEOPARDY S Dow.
TCP/IP: Basics1 User Datagram Protocol (UDP) Another protocol at transport layer is UDP. It is Connectionless protocol i.e. no need to establish & terminate.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Examining TCP/IP.
1 7-Oct-15 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
1 LAN Protocols (Week 3, Wednesday 9/10/2003) © Abdou Illia, Fall 2003.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 3 Transport Layer.
TCP/IP Transport and Application (Topic 6)
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
Chapter 6-2 the TCP/IP Layers. The four layers of the TCP/IP model are listed in Table 6-2. The layers are The four layers of the TCP/IP model are listed.
1 TCP/IP Internetting ä Subnet layer ä Links stations on same subnet ä Often IEEE LAN standards ä PPP for telephone connections ä TCP/IP specifies.
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review.
CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 TCP/IP, Addressing and Services S. Hussain Ali M.S. (Computer Engineering) Department of Computer Engineering King Fahd University of Petroleum and Minerals.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
1 Introduction to TCP/IP. 2 OSI and Protocol Stack OSI: Open Systems Interconnect OSI ModelTCP/IP HierarchyProtocols 7 th Application Layer 6 th Presentation.
1 Bus topology network. 2 Data is sent to all computers, but only the destination computer accepts 02608c
Linux Operations and Administration Chapter Eight Network Communications.
Hands-On Ethical Hacking and Network Defense
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
1 Version 3.1 Module 10 Intermediate TCP/IP (Layer 4)
Network Basics CS490 - Security in Computing Copyright © 2005 by Scott Orr and the Trustees of Indiana University.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Hands-On Ethical Hacking and Network Defense Chapter 2 TCP/IP Concepts Review Last modified
Data Communications and Networks Chapter 6 – IP, UDP and TCP ICT-BVF8.1- Data Communications and Network Trainer: Dr. Abbes Sebihi.
McGraw-Hill Chapter 23 Process-to-Process Delivery: UDP, TCP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
CITA 352 Chapter 2 TCP/IP Concepts Review. Overview of TCP/IP Protocol –Language used by computers –Transmission Control Protocol/Internet Protocol (TCP/IP)
Cisco I Introduction to Networks Semester 1 Chapter 7 JEOPADY.
1 14-Jun-16 S Ward Abingdon and Witney College CCNA Exploration Semester 1 OSI transport layer CCNA Exploration Semester 1 Chapter 4.
Process-to-Process Delivery:
LESSON Networking Fundamentals Understand TCP/IP.
v3 JEOPARDY CCNA 1 Module 11 CCNA1 v3 Module 11 Galo Valencia
TCP Transport layer Er. Vikram Dhiman LPU.
Process-to-Process Delivery:
CPEG514 Advanced Computer Networkst
Process-to-Process Delivery: UDP, TCP
Transport Layer 9/22/2019.
Presentation transcript:

1 DETAILS OF PROTOCOLS The Zoo Protocol - TCP - IP

2 A programmer can create Internet application software without understanding the underlying network technology or communication protocols - we will take a different approach Understanding the Zoo Protocol

3 Transmission Control Protocol (TCP)

4 Protocol at transport layer Sending message from client process to server process How client process could access services from server process? Inter-process communication is carried out through protocol port

5 Protocol Port Port number is assigned to process by operating system There are 2 16 ports (0 to 65535) There are 2 sets of port for UDP protocol for TCP protocol

6 Port well-known (1 – 1023) For standardized HTTP [80], SMTP[25], FTP[21, 22], POP3[110], Telnet [23] Ephemeral port (1024 – 65535) Assigned dynamically Assigned to client process When client process complete, port will be released The complete assigned list of ports can be seen with instruction /etc/services (at *nix)

7 Host sun1.ftsm.ukm.my /etc/services

8 Transmission Control Protocol (TCP) Provide reliable sending services Use protocol port for addressing process For application that needed trust such as: telnet, http, ftp etc.

9 Header Format of TCP

10 TCP connection TCP connection is identified with the last point (port number) of the connection To establish the connection, TCP needs both ways cooperation Client will request a port from server Server will open the port to start the connection

11 Three-Way Handshaking TCP uses three-way handshaking while starting and ending connection to provide reliability Determine that both nodes are ready as well as to put the sequence number in order to synchronize the connection

12 Starting TCP connection Use SYN segment to create a connection Host 1 sends SYN segment and random sequence number Host 2 reply to SYN segment, by sending ACK to Host 1 and random sequence number Host 1 reply with ACK

13

14 Ending TCP connection TCP uses FIN segment for ending the connection Four-way handshaking

15 User Datagram Protocol (UDP) It is a transport protocol Provide communication without unreliable communication Packet may be lost or it is not following the sequence No intermediary– receive data from application and immediately send it Used when no error control needed. For process such as : DNS [53], echo [7], tftp [69], SNMP[161]

16 UDP Datagram Format Header Source UDP Port (16 bit) Destination UDP Port (16 bit) UDP message length (16 bit) UDP Checksum (16 bit) Data Source UDP PortDestination UDP Port UDP message lenghtUDP Checksum Data

17 Internet Protocol (IP)

18 IP Protocol at network layer Provide packet sending via communication without connection Use IP for addressing Determine packet flow through one and more leap (hop) throughout the flow Provide mechanism that includes Data unit which called IP datagram Software to send datagram Method how host computer process datagram

19 Figure 19.2 Links in an internetwork

20 IP responsible in providing best-effort sending for packet/datagram How about the communication in the Internet ? Transport layer takes data flow and divided them into datagram Transport layer send each datagram through Internet. Division into smaller units could occur during this process At the destination, datagram will be regrouped by network layer to the original datagram and send it to transport layer

21 Figure 19.4 Network layer at the source

22 Figure 19.5 Network layer at a router

23 Figure 19.6 Network layer at the destination

24 Addressing Need a standard address format Address format must not dependent to hardware address format Address must be unique throughout the network (Internet) Body that regulate address registration– Internet Information Center (InterNIC)

25 IP address (IPv4) Represented by 32-bit integer Use dotted decimal quad notation Consist of 4 parts of 8 bit Divided by dot

26 Network class IP address is organized according to network class Class A: 0nnnnnnn.iiiiiiii.iiiiiiii.iiiiiiii Class B: 10nnnnnn.nnnnnnnn.iiiiiiii.iiiiiiii Class C: 110nnnnn.nnnnnnnn.nnnnnnnn.iiiiiiii Class D: 1110bbbb.bbbbbbbb.bbbbbbbb.bbbbbbbb Class E: for future use Representation: n – network number i – host number b – group id

27 Address range to identify the class

28 Each IP address divided into two parts Network number (prefix) – shows physical network that connected the computer Host number (suffix) – shows computer unique number at the network Internet Corporation for Assigned Names and Numbers (ICANN) responsible for assigning class A, B and C to organisation

29 Class A, B and C are primary class Used for normal host addressing Class D is to multicast, For broadcasting message Class E is especially for future use Each host has virtual interface address which is known as loopback interface as Also known as localhost

30 Figure A network with two levels of hierarchy

31 Limitations in IP addressing system Some host has more than one address Network class is too rigid Not enough IP address for future development

32 Subnet IP address is organized as subnet to simplify network management Each subnet is a set of address that determine by Subnet address (exp: ) Subnet mask (exp: )

33 Subnet A campus network consist of LAN for different departments

34 Figure A network with three levels of hierarchy (subnetted)

35 Figure Addresses in a network with and without subnetting

36 Exp of Subnet For network of Class B: 3 bit is used as subnet to turn it into 15 subnet subnet mask: Other 13 bits represent host

37 Routing If destination host is not at the same network, datagram will be sent to gateway How would IP choose its pathway to send datagram to remote network? Using routing table that contain next hop information– that the other nod connected directly to gateway

38 Example of routing table netstat -nr $ netstat -nr Routing Table: IPv4 Destination Gateway Flags Ref Use Interface U hme U 1 0 hme0 default UG UH lo0

39 Figure Default routing

40 Internet Protocol Version 6 (IPv6) AKA Internet Protocol next generation (IPng) Address length added to 128 bit Allow Web host addition to Internet Allow Internet advancement

41 Diagnostic tools ping To test connection to host Measure round trip time traceroute (microsoft: tracert) Show data flow from host to destination netstat -nr Show routing table

42 ipconfig (microsoft) ifconfig -a (pd *nix) To show IP, subnet and computer gateway

43 Tools hostname Computer name domainname Domain name nslookup Network and Server Information Tools from Myloca (Telekom Malaysia)