TCP/IP Explored Jun Wu 11/11/2018.

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
IP Protocol. The Internet Protocol (IP) is a network-layer (Layer 3) protocol that contains addressing information and some control information that enables.
Introduction to TCP/IP
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
1 Application TCPUDP IPICMPARPRARP Physical network Application TCP/IP Protocol Suite.
1 Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address Destination Address IPv6 Header.
1 Introduction to TCP/IP. 2 Agenda What Is TCP/IP? IP Addressing.
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
Chapter Overview TCP/IP Protocols IP Addressing.
1 TCP/IP introduction ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem, Ph.D. Computer Engineering Department Kasetsart.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
Network Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 4 Routing Fundamentals and Subnets/ TCP/IP Transport and Application Layers.
1 Internet Protocol. 2 Connectionless Network Layers Destination, source, hop count Maybe other stuff –fragmentation –options (e.g., source routing) –error.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
10/13/20151 TCP/IP Transmission Control Protocol Internet Protocol.
Internet Protocol Internetworking Lab 1. Why Internet?
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
April 5, 2004 Prof. Paul Lin 1 CPET The Network Layer Paul I-Hai Lin, Professor Electrical and Computer Engineering Technology Purdue University,
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
TCOM 515 IP Routing. Syllabus Objectives IP header IP addresses, classes and subnetting Routing tables Routing decisions Directly connected routes Static.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
CS4550 Computer Networks II IP : internet protocol, part 2 : packet formats, routing, routing tables, ICMP read feit chapter 6.
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.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
Chapter 2 Protocols and the TCP/IP Suite 1 Chapter 2 Protocols and the TCP/IP Suite.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
TCP/IP Networking (2:1) Joy Kuri, Haresh Dagale, T.V.Prabhakar.
Network Layer by peterl. forwarding table routing protocols path selection RIP, OSPF, BGP IP protocol addressing conventions datagram format packet handling.
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
CSCI 465 D ata Communications and Networks Lecture 24 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Linux Operations and Administration Chapter Eight Network Communications.
Introduction to TCP/IP. Agenda What Is TCP/IP? IP Addressing.
Data and Computer Communications Ninth Edition by William Stallings Data and Computer Communications, Ninth Edition by William Stallings, (c) Pearson Education.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
IP Fragmentation. Network layer transport segment from sending to receiving host on sending side encapsulates segments into datagrams on rcving side,
IP Internet Protocol. IP TCP UDP ICMPIGMP ARP PPP Ethernet.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP - Internet Protocol No. 1  Seattle Pacific University IP: The Internet Protocol Kevin Bolding Electrical Engineering Seattle Pacific University.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
© 2003, Cisco Systems, Inc. All rights reserved.
Chapter 5 Network and Transport Layers
Introduction to TCP/IP networking
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Internet technologies
Seminar report on IPv4 & IPv6
Internet Protocol: Connectionless Datagram Delivery
Net 431: ADVANCED COMPUTER NETWORKS
Net431:advanced net services
Internet Protocol (IP)
Internetworking Outline Best Effort Service Model
EEC-484/584 Computer Networks
Chapter 20 Network Layer: Internet Protocol
Network Layer 2019/1/13.
Chapter 20. Network Layer: IP
Net 323 D: Networks Protocols
Chapter 15. Internet Protocol
Introduction to Networks
16EC Computer networks unit II Mr.M.Jagadesh
NET 323D: Networks Protocols
Review of Internet Protocols Network Layer
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Presentation transcript:

TCP/IP Explored Jun Wu 11/11/2018

Contents 1. Introduction 2. IP explored 3. TCP explored 4. Other common protocols in TCP/IP 5. TCP/IP programming 6. Summary 11/11/2018

Introduction TCP/IP – A suite of internet protocols named after Transmission Control Protocol/Internet Protocol, the de facto standard protocol for today’s internet. TCP/IP over OSI (Open Systems Interconnection) - OSI layers : Application, Presentation, Session, Network, Data Link, Physical - Included Protocols: FTP,SNMP, Telnet,TFTP, Finger, NFS, SMTP,DNS, POP,BOOTP,TCP, UDP, IP - TCP/IP layers: Application, Host-to-Host transport, Internet, Network interface 11/11/2018

IP – Internet Protocol Where does it work? Network layer, connectionless Functions - Receiving data bits from lower layer - Assembling them into packets - Selecting the “best” route to send packets to destinations. 11/11/2018

IP header format Version IHL Type of Service Total Length Identification DF MF Fragment offset Time to leave Protocol Header checksum Source address Destination address Options 11/11/2018

IP address (IPv4) 32 bits ( 4 groups of 8 bits ) Example: 204.163.25.37 5 classes: A (0, 0~127), B(10, 128~191), C(110, 192~223), D(1110, 224~254), E(11110, reserved) Two parts: Network ID & Host ID, different classes of IP address support different number of networks and hosts 11/11/2018

IP Subnet Partition a network address into separate subnetworks. Why? Expanding limited IPv4 address space Example: consider 1 class C IP address, it supports 1 network & 256 hosts (actually 254). Now if “steal” 1 higher-bit of host ID and used as part of network ID -> 2 subnets; “steal” 2 bits -> 4 subnets, and so on. Another solution: 128 bits IP address (IPv6) 11/11/2018

IP masking How to subnet? Masking! Rule: if a bit in an IPv4 address is used as part of network ID, then set the corresponding mask bit to 1; if used as host ID, set mask to 0. Example: IP address 192.203.97.0 with mask 255.255.255.0 -> Network ID is 192.203.97, host ID is 0~254. Now borrowing two leftmost bits of host ID, 4 subnets form ( 192.203.97.0, 64, 128, 192). Subnet mask 255.255.255.192, given 192.203.97.143, first routed to subnet 192.203.97.128, then to the host 15 on this subnet. 11/11/2018

Summary IP is a connectionless protocol on Network layer. IP packs data bits from lower layer into packets with a header and routes these packets between nodes. It also fragments & resembles datagrams when necessary. IPv4 address has only 32 bits – limited space! Different classes of IP address supports different number of networks & hosts. IPv4 address space can be expanded through subset and mask technique. 11/11/2018