1 OSI Reference Model Benefits Standardizes interfaces Facilitates modular engineering Ensures interoperable technology Accelerates evolution Simplifies.

Slides:



Advertisements
Similar presentations
Interconnecting Networks with TCP/IP
Advertisements

IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
Network Certification Preparation. Module - 1 Communication methods OSI reference model and layered communication TCP/IP model TCP and UDP IP addressing.
Chapter 5: TCP/IP and OSI Business Data Communications, 5e.
CCNA 1 v3.1 Module 11 Review.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 2: Internet Protocols.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 11 TCP/IP Transport and Application Layers.
1 Application TCPUDP IPICMPARPRARP Physical network Application TCP/IP Protocol Suite.
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
TCP/IP TCP/IP Basics Alvin Kwan. TCP/IP What is TCP/IP?  It is a protocol suite governing how data can be communicated in a network environment, both.
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
Instructor & Todd Lammle
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 9 The TCP/IP Protocol Suite Paul Flynn.
Chapter 3 Review of Protocols And Packet Formats
Defining Network Protocols Application Protocols –Application Layer –Presentation Layer –Session Layer Transport Protocols –Transport Layer Network Protocols.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
Chapter Overview TCP/IP Protocols IP Addressing.
CS 356 Systems Security Spring Dr. Indrajit Ray
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
Chapter 9.
CIM 2465 Intro to TCP/IP1 Introduction to TCP/IP (Topic 5) Textbook: Networking Basics, CCNA 1 Companion Guide, Cisco Press Cisco Networking Academy Program,
Semester 2v2 Chapter 9:  TCP/IP.
Huda AL_Omairl - Network 71 Protocols and Network Software.
Examining TCP/IP.
TCP/IP Protocol Suite Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute.
TCP/IP Overview. 2 Upon completion of this chapter you will be able to perform the following tasks: Describe how the TCP/IP implementation relates to.
1 Review - OSI Model n OSI Reference Model u represents the communications process. u 7 layers: physical, data link, network, transport, session, presentation.
Chapter 9 & 10 TCP/IP. TCP/IP Model Application Transport Internet Internet Access.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Chapter 4 TCP/IP Overview Connecting People To Information.
TCP/IP Basic Theory V1.2. Course Outline OSI model and layer function TCP/IP protocol suite Transfer Control Protocol Internet Protocol Address Resolution.
1 OSI Reference Model. 2 Agenda The Layered Model Layers 1 & 2: Physical & Data Link Layers Layer 3: Network Layer Layers 4–7: Transport, Session, Presentation,
10/13/2015© 2008 Raymond P. Jefferis IIILect 07 1 Internet Protocol.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
TCP/IP Transport and Application (Topic 6)
© Introduction to Internetworking – Alex Kooijman 04/04/2000 Introduction to internetworking Part Two.
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.
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.
“Internet Security” Chapter 2
Basic IP Protocol Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Instructor & Todd Lammle
Data Networks ISOTDAQ 2012
Cisco Networking Academy S2 C9 TCP/IP. ensure communication across any set of interconnected networks Stack components such as protocols to support file.
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 Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Chapter 2 - Page 1 Infogem Institute of Technology CCNA Course TCP/IP Protocol Suite TCP/IP PROTOCOL SUITE Chapter 3 Sybex, Chapter 9 Exam Cram.
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.
Telecommunications Essentials John R. Durrett July 5, 2005.
SWICHING & ROUTING.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Nov-03 ©Cisco Systems CCNA Semester 1 Version 3 Comp11 Mod9 – St. Lawrence College – Cornwall Campus, ON, Canada – Clark slide 1 Cisco Systems CCNA Version.
Network Basics CS490 - Security in Computing Copyright © 2005 by Scott Orr and the Trustees of Indiana University.
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
Sybex CCNA Chapter 3: Introduction to TCP/IP Instructor & Todd Lammle.
© 2003, Cisco Systems, Inc. All rights reserved.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Introduction to TCP/IP
What the OSI Protocol Layers Do
TCP/IP Transmission Control Protocol / Internet Protocol
SWITCHING & ROUTING.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols Relates to Lab 5. An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
Transport Protocols An overview of the transport protocols of the TCP/IP protocol suite. Also, a short discussion of UDP.
TCP/IP Protocol Suite and IP Addressing
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:

1 OSI Reference Model Benefits Standardizes interfaces Facilitates modular engineering Ensures interoperable technology Accelerates evolution Simplifies teaching and learning Application Presentation Session Transport Network Data Link Physical

2 Why a Layered Network Model? Reduces complexity Standardizes interfaces Facilitates modular engineering Application Presentation Session Transport Network Data Link Physical

3 Peer-to-Peer Communications Application Presentation Session Transport Network Data Link Physical HOST AHOST B segments packets frames bits Application Presentation Session Transport Network Data Link Physical

4 MAC Address MAC address is burned into ROM on a network interface card 24 bits c Vendor Code Serial Number ROM RAM Vendor assigned IEEE assigned IEEE -- Institute of Electrical and Electronics Engineers

5 Ethernet/ IEEE (CSMA/CD) ABCD Collision ABCD JAMJAMJAMJAMJAMJAMJAMJAMJAMJAMJAMJAM Back-off

6 Ethernet 5-4 rule

7

8 TCP/IP Protocol Stack Map DOD model to the OSI Reference Model Application Presentation Session Transport Network Data Link Physical Application Transport Internet Network Interface OSI Reference Model Ethernet, 802.3, 802.5, FDDI, and so on. TCP/IP Conceptual Layers US Department Of Defence (DOD)

9 IP Datagram # Bits VERSHLEN Type of Service Total Length Identi- fication Flags Frag Offset TTL 3 # Bits8320~ Protocol Header Checksum Source IP Address Destination IP Address IP Options Data… Network Header Frame Trailer Frame Header Data

10 IP Address Bit Patterns 1724 Class A: # Bits 1416 Class B: # Bits 3218 Class C: # Bits 0network #host # 1network #host #0 1network #host #10 2

11 IP Address Bit Patterns Class D: # Bits Class E: # Bits Multicast For Research

12 Recognizing Classes in IP Addresses (First Octet Rule) High Order Bits (binary ) Octet in Decimal Address Class – – – – – 255 ABCDEABCDE Network Reserved for loopback. The address often is used to refer to the local host

13 Network And Host Number Address Class Network Number Host Number ABCABC ,384 2,097,152 16,777,214 65, Network 126= ( Reserved) = ,097,152 = 2 21 Host 16,777,214 = ,534 = =

14 Decimal Equivalents of Bit Patterns = = = = = = = =

15 Subnet Planning Other subnets 20 subnets 5 hosts per subnet Class C address: subnets 5 hosts per subnet Class C address: subnets 5 Bits of Subnet 2 5 =32 Subnets 5 hosts per subnet 3 Bits of Host = 6 Hosts 20 subnets 5 Bits of Subnet 2 5 =32 Subnets 5 hosts per subnet 3 Bits of Host = 6 Hosts

16 IP Host Address: Subnet Mask: NetworkSubnetHost : Subnet: : Class C Subnet Planning Example Subnet Address = Host Addresses = Rang = – Broadcast Address = Five Bits of Subnetting

/ / / /30 Subnet Planning /28 R1 R3 R2 R /26 ? An additional subnet required for a Ethernet link between R1 and R2 as shown in the diagram. Which subnet address can be configured in this network to provide a maximum of 14 useable addresses for this link while wasting the fewest addresses? / / / / / /28

/ / / /30 Subnet Planning /28 R1 R3 R2 R /26 ? / / / /28 96 -- -- -- --

19 Broadcast Addresses / / / / (Directed broadcast) (Local network broadcast) X

20 AddressClassSubnetBroadcast C Subnet Mask A B Exercise: Broadcast Addresses

21 All Subnets Broadcast / / / / (All Subnets Broadcast)

22 Address Resolution Protocol IP: = ??? I need the Ethernet address of

23 Address Resolution Protocol IP: Ethernet: I need the Ethernet address of I heard that broadcast. The message is for me. Here is my Ethernet address. IP: = ???

24 Address Resolution Protocol Map IP Ethernet Local ARP IP: Ethernet: I need the Ethernet address of I heard that broadcast. The message is for me. Here is my Ethernet address. Destination local IP: = ???

25 Finding the MAC Address Router A Destination not local Host Z Host Y Response Routing Table: Net for Host Z Routing Table: Net for Host Z Map IP Ethernet Not Local ARP Broadcast Host Y MAC Host Y MAC IP: MAC? Host Y MAC Host Y MAC Router A MAC Router A MAC IP: Ethernet: c I want access the Host Z Request Response

26 Proxy ARP Router A Host Z Host Y Request Routing Table: Net for Host Z Routing Table: Net for Host Z Broadcast Host Y MAC Host Y MAC IP: MAC? I want access the Host Z /24 The router response its own MAC Address Response Host Y MAC Host Y MAC Router A MAC Router A MAC IP: Ethernet: c Response

27 Transport Layer Overview Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Application Transport Internet Network Interface Hardware TCP : Connection-oriented services UDP : Connectionless services

28 Determines destination upper-layer protocol IP Datagram Protocol Field Transport Layer Internet Layer TCP UDP Protocol Numbers IP 176

29 TCP Segment Format # Bits Source Port Dest. Port Sequence Number Acknowledgement Number HLENReserved Code Bits 16 Window 16 Check- sum 16 Urgent 0 or 32 OptionData... Transport Header Network Header Data Frame Trailer Frame Header

30 Port Numbers TCP Port Numbers FTPFTP Transport Layer TELNETTELNET DNSDNS SNMPSNMP TFTPTFTP SMTPSMTP UDP Application Layer HTTPHTTP

31 Port Numbers assigned range Port numbers have the following assigned ranges: Port number are 16 bits long (0~65535) Numbers from 1 to 1023 are well-known port number (controlled by the IANA) Numbers above 1023 are dynamically assigned port numbers

32 TCP Sequence and Acknowledgment Numbers # Bits Source Port Dest. Port Sequence Number Acknowledgement Number HLENReserved Code Bits 16 Window 16 Check- sum 16 Urgent 0 or 32 OptionData...

33 TCP Window size # Bits Source Port Dest. Port Sequence Number Acknowledgement Number HLENReserved Code Bits 16 Window 16 Check- sum 16 Urgent 0 or 32 OptionData...

34 Window size = 3 Send 4 Window size = 3 Send 2 TCP Windowing Sender Receiver Window size = 3 Send 1 Window size = 3 Send 3 Window size = 3 Send 3 ACK 5 Window size = 2 ACK 3 Window size = 2 Packet 3 is Dropped

35 UDP no sequence or acknowledgment fields Application-layer protocols can provide for reliability UDP Segment Format 16 Source Port 16 Destination Port 16 Length 16 ChecksumData… # Bits

36 Application Layer Overview *Used by the router Application Transport Internet Network Interface Hardware File Transfer - TFTP * - FTP - NFS - SMTP Remote Login - Telnet * - rlogin Network Management - SNMP * Name Management - DNS* File Transfer - TFTP * - FTP - NFS - SMTP Remote Login - Telnet * - rlogin Network Management - SNMP * Name Management - DNS*

37 Classless Routing Protocols Classless Routing Protocols: RIPv2 EIGRP OSPF IS-IS BGPv4 Classful Routing Protocols: RIPv1 IGRP 注意 : 有类和无类路由协议在构建路由表时采用不同的方法;而有类和 无类的路由行为是关于如何查找路由表的方法 ( 这时路由表已经 建立 ) 。 有类和无类路由协议与有类和无类路由行为 ( 通过 ip classless 和 no ip classless 控制 ) 是相互独立的。

38 Use discontiguous major network number ABC /30 E0S0 S1S0E0 Routing Table S0 1 1 S1 1 1 S0 S1 Routing Table S E0 0 0 Routing Table E0 S0 0 0 Network Interface Hops / Same major network and separate by other major network RIP /8/ / /24

39 With no ip classless Drop R2(config)#no ip classless ip classless Command S0 Default Route /16 E To get to : R2 R3 R1 Network Protocol Destination Network Exit Interface E0 S0 C C R S*

40 With ip classless Default R2(config)#ip classless ip classless Command S0 Default Route E R2 R3 R1 Network Protocol Destination Network Exit Interface E0 S0 C C R S* To get to : /