Module 9: TCP/IP Protocol Suite and IP Addressing

Slides:



Advertisements
Similar presentations
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA TCP/IP Protocol Suite and IP Addressing Halmstad University Olga Torstensson
Advertisements

CCNA1 v3 Module 9 v3 CCNA 1 Module 9 JEOPARDY K. Martin Galo Valencia.
Understanding Internet Protocol
CCNA – Network Fundamentals
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 2: Internet Protocols.
Chapter Extension 7 How the Internet Works © 2008 Prentice Hall, Experiencing MIS, David Kroenke.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction to TCP/IP
Introduction To Networking
Subnetting.
Chapter 2 Internet Protocol DoD Model Four layers: – Process/Application layer – Host-to-Host layer – Internet layer – Network Access layer.
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
1 Version 3.0 Module 10 Routing Fundamentals and Subnetting.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
Chapter Overview TCP/IP Protocols IP Addressing.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
Sem1 - Module 9 TCP/IP Protocol Suite and IP Addressing Review.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
WXES2106 Network Technology Semester /2005 Chapter 4 TCP/IP CCNA1: Module 9, 10.3 and 11.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Network Protocols. Why Protocols?  Rules and procedures to govern communication Some for transferring data Some for transferring data Some for route.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
Chapter 9.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
Huda AL_Omairl - Network 71 Protocols and Network Software.
The OSI Model and the TCP/IP Protocol Suite Outline: 1.Protocol Layers 2.OSI Model 3.TCP/IP Model 4.Addressing 1.
1 Version 3.0 Module 11 TCP Application and Transport.
Chapter Three Network Protocols By JD McGuire ARP Address Resolution Protocol Address Resolution Protocol The core protocol in the TCP/IP suite that.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
UNDERSTANDING THE HOST-TO-HOST COMMUNICATIONS MODEL - OSI LAYER & TCP/IP MODEL 1.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Instructor & Todd Lammle
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Cisco CCNA v3.0 Semester 1 Chapter 9 Prepared by: Terren L. Bichard.
SWICHING & ROUTING.
Cisco Confidential © 2013 Cisco and/or its affiliates. All rights reserved. 1 Cisco Networking Training (CCENT/CCT/CCNA R&S) Rick Rowe Ron Giannetti.
Page 12/9/2016 Chapter 10 Intermediate TCP : TCP and UDP segments, Transport Layer Ports CCNA2 Chapter 10.
Voice Over Internet Protocol (VoIP) Copyright © 2006 Heathkit Company, Inc. All Rights Reserved Presentation 5 – VoIP and the OSI Model.
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.
TCP/IP Protocol Suite and IP Addressing Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Internet Architecture
LESSON Networking Fundamentals Understand IPv4.
OSI Model IP address.
IP: Addressing, ARP, Routing
The OSI Model and the TCP/IP Protocol Suite
The OSI Model and the TCP/IP Protocol Suite
Module 9: TCP/IP Protocol Suite and IP Addressing
TCP/IP Protocol Suite & IP Addressing
TCP/IP Protocol Suite and IP Addressing
The OSI Model and the TCP/IP Protocol Suite
Network Addressing.
Presentation transcript:

Module 9: TCP/IP Protocol Suite and IP Addressing CCNA 1 Module 9: TCP/IP Protocol Suite and IP Addressing

TCP/IP – History and Future Created by US DoD as a model able to withstand intense military attack and not fail. Data transmission was possible to any destination on the network under any circumstances.

TCP/IP – History and Future Standardized in 1981 The TCP/IP model is now the standard on which the Internet is based. There are similarities and differences between the TCP/IP model and the nine layer OSI model.

TCP/IP Application Layer Ensures that the data is properly packaged before being passed on. Handles high-level protocols, representation, encoding, and dialog control. Simple Network Management Protocol (SNMP) – allows network managers to manage configurations, statistics, performance, and security. Domain Name System (DNS) – used to translate domain names into IP addresses. Application

TCP/IP Application Layer Has protocols to support file transfer, e-mail, and remote login: File Transfer: Trivial File Transfer Protocol (TFTP) – unreliable, connectionless User Datagram Protocol (UDP) service used to transfer configuration files, Cisco IOS images, and to transfer files in a LAN. File Transfer Protocol (FTP) – reliable, connection-oriented service that uses TCP to transfer files between systems Network File System (NFS) – allows file access to a remote storage device such as a hard disk Application

TCP/IP Application Layer E-mail: Simple Mail Transfer Protocol (SMTP) – administers the transmission of plain text e-mail over computer networks. Remote access: Telnet –remotely access a computer, enabling a user to log into an Internet host and execute commands. A Telnet client is called a local host. A Telnet server is called a remote host. Application

TCP/IP Transport Layer Provides a logical connection between a source host and a destination host. Transport Layer protocols segment and reassemble data sent by applications, into the same data stream, between end points. Provides end-to-end control and reliability as data travels through the cloud, accomplished through: sequence numbers, acknowledgments and sliding windows. Transport

TCP/IP Transport Layer I just sent #10 I just received #10 Now I need #11 Transport This shows sequence numbers and acknowledgements.

TCP/IP Transport Layer Sliding Windows I just sent #11, 12 and 13 I just received #12 Now I need #13 Transport This indicates that packet 13 either did not arrive, or arrived with errors, and needs retransmission.

TCP/IP Transport Layer Sliding Windows I just sent #13 and 14 I just received #14 Now I need #15 Transport The sliding window has worked as the last packet sent has arrived.

TCP/IP Transport Layer The only Transport layer protocols are TCP and UDP. Transmission Control Protocol (TCP) Connection-oriented protocol End-to-end operation Flow control – sliding windows Reliability – sequence numbers and acknowledgments User Datagram Protocol (UDP) Connectionless Unreliable (no acknowledgments or error checking) Transport

TCP/IP Internet Layer Two purposes are determining the best path and packet-switching. No error checking or correction Protocols: Internet Protocol (IP) - connectionless, best-effort delivery routing of packets; determines best path to destination Internet Control Message Protocol (ICMP) – control and messaging Address Resolution Protocol (ARP) - determines the MAC address, for a known IP address. Reverse Address Resolution Protocol (RARP) - determines the IP address for a known MAC address. Internet

TCP/IP Network Access Layer Allows an IP packet to make a physical link to the network media Maps IP addresses to MAC addresses Encapsulates IP packets into frames Drivers for software applications, modem cards, and other devices operate at the network access layer. Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP) provide network access. ARP and RARP also work at this layer. Network Access

Comparing TCP/IP and OSI TCP/IP Model OSI Model 7 Application Application Layers Application 6 Presentation 5 Session Transport 4 Transport Internet 3 Network Data Flow Layers 2 Data Link Network Access 1 Physical

Comparing TCP/IP and OSI Similarities Both have layers. Both have application layers, though they include different services. Both have comparable transport and network layers. Both use packet-switched instead of circuit-switched technology. Differences TCP/IP combines the OSI application, presentation, and session layers into its application layer. TCP/IP combines the OSI data link and physical layers into its network access layer. TCP/IP appears simpler as it has fewer layers. The TCP/IP transport layer uses UDP (not reliable) delivery of packets. The transport layer in the OSI model is always reliable.

Internet Architecture The Internet is based on the principle of network layer interconnection. This means that it is independent of the lower layers and the upper layers. This functionality allows for different Layer 1 and 2 LAN technologies (media; protocols; LAN design, etc.) It also allows for a diversity of applications at Layers 5, 6, and 7.

Internet Architecture This means that one network with one set of Layer 1 and 2 LAN media, design etc. and its own upper layer Applications can communicate with a very different LAN. This capability means that the Internet is scalable; now with over 90,000 core routers and 300 million users, and growing.

Internet Architecture

Internet Architecture X and Y represent computers that are connected and that can communicate with each other from across the world.

Internetworking must have the following characteristics. Internetworking- building network of networks. A network of networks is called “internet”. Internetworking must have the following characteristics. Scalable Handle the transport of data across vast distances Flexible Adjust to dynamic conditions on the network Cost-effective Permits anytime, anywhere data communications to anyone. An uppercase I is used to refer to the networks that grew out of the DoD on which the WWW runs, and to refer to the Internet.

Two routers connect three physical networks Two routers connect three physical networks. Because all the users on all the networks want to communicate with each other, even without being directly connected to one another, the router must have some way of dealing with this.

The router needs to keep a list of all user computers and the paths to them. The router would decide whether and where to forward data packets based on this table of all users, forwarding based on the destination computer. This is not scalable system

Solution Two computers, anywhere in the world, following certain hardware, software, and protocol specifications, can communicate reliably (“anyplace/anytime/anyone”). Even when they are not directly connected ( or even not close to being directly connected).

IP Addressing

IP Addressing Each computer (computer interface) in a TCP/IP network must have two addresses: An IP (logical, layer 3) address, is a combination of the network address and the host address creating a unique address for each device on a network. This address is needed to deliver the packet to the correct network. A unique MAC (physical, layer 2) address. Once the data (packet) has arrived at the network, this address is needed to deliver it to the destination device.

IP Addressing An IP address is a 32-bit sequence of ones and zeros. It is commonly represented in dotted decimal format, as it is easier to understand and less prone to error. 11000000.10101000.00000001.00001000 192.168.1.8

Decimal and Binary Conversion Review the binary to decimal and the decimal to binary conversions in 9.2.2

Address Classes A router uses the IP address of the destination network to deliver a packet to the correct network. Every IP address has two parts The first part identifies the network where the device is connected and the second part identifies the device. There are four octets, each ranging from 0-255, representing 256 possible addresses.

Address Classes An IP address is always divided up into a network portion and a host portion.

IP Address as a 32-Bit Binary Number

Binary and Decimal Conversion

Address Classes IP addresses are hierarchical, meaning an address can be referenced back to a particular group address.

Address Classes There are five address classes: Class A – for very large networks Class B – for medium networks Class C – for small networks Class D – for multicast groups; no need for network and host parts Class E – for research purposes

Address Classes

Address Classes Learn these tables!

Address Classes One network octet and three host octets. Class A: One network octet and three host octets. The first bit of a Class A address is 0. The lowest number that can be represented is 00000000, decimal 0. The highest number that can be represented is 01111111, decimal 127. Usable 1st octet addresses: 1 126 (0 and 127 are reserved addresses)

Address Classes Two network octets and two host octets. Class B: Two network octets and two host octets. The first two bits of a Class B address are 10. The lowest number that can be represented is 10000000, decimal 128. The highest number that can be represented is 10111111, decimal 191. Usable 1st octet addresses: 128 191

Address Classes Three network octets and one host octet. Class C: Three network octets and one host octet. The first three bits of a Class C address are 110. The lowest number that can be represented is 11000000, decimal 192. The highest number that can be represented is 11011111, decimal 223. Usable 1st octet addresses: 192 223

Address Classes Class D: Created to enable multicasting. A destination address is a group of addresses. The first four bits of a Class D address must be 1110. The first octet range for Class D addresses is 11100000 to 11101111, or 224 to 239.

Address Classes Reserved for IETF research. Not used on the Internet. The first four bits of a Class E address are always 1111. The first octet range for Class E addresses is 11110000 to 11111111, or 240 to 255.

What is the Address Class? 1. 176.186.14.112 176 = 10110000 = 2. 197.76.210.100 197 = 11000101 = 3. 129.118.32.189 129 = 10000001 = 4. 113.26.172.106 113 = 01110001 = 5. 201.200.100.90 201 = 11001001 = 6. 47.145.148.211 47 = 00101111 = B C B A C A What do you notice about each of the Class addresses? What is common with the Class A addresses? What is common with the Class B addresses? What is common with the Class C addresses?

Address Classes This is a very important table. Copy it into your journal. MEMORISE IT!

Reserved addresses Two addresses on any network cannot be used by hosts. Network address – Used to identify the network itself Broadcast address – Used for broadcasting packets to all the devices on a network The HOST bits of a network address are all 0s. The HOST bits of a broadcast address are all 1s.

Reserved addresses

Reserved addresses IP Address –10.18.127.100 Subnet Mask – Network address = Broadcast address = 255.0.0.0 10.0.0.0 10.255.255.255 The first question to ask is, ‘What class is this address?’ Class A

Reserved addresses IP Address –131.234.12.66 Subnet Mask – Network address = Broadcast address = 255.255.0.0 131.234.0.0 131.234.255.255 What class is this address? Class B

Reserved addresses IP Address –199.218.4.56 Subnet Mask – Network address = Broadcast address = 255.255.255.0 199.218.4.0 199.218.4.255 What class is this address? Class C

Reserved addresses IP Address – 210.189.137.100 Subnet Mask – 255.255.255.240 Network address = Broadcast address = 210.189.137.96 210.189.137.111 What class is this address? Class C

Reserved addresses IP Address – 180.43.120.39 Subnet Mask – 255.255.255.192 Network address = Broadcast address = 180.43.120.0 180.43.120.63 What class is this address? Class B

Network and Host Addressing

Network Address Host portion all zeros

Broadcast Address Host portion all ones

Public and Private Addresses No two devices on the Internet can have the same IP address. Ensuring this does not happen is handled by the Internet Assigned Numbers Authority (IANA). With the growth of the Internet, available Internet addresses have nearly run out. To help deal with this problem, RFC 1918 sets aside three blocks of IP addresses for private, internal use.

Required Unique Address A packet can only be sent out onto the Internet if it has a unique address Both networks have a network address 198.150.11.0. when data transmissions reach the router, which network would it forward to???

Public and Private Addresses One Class A, a range of Class B addresses, and a range of Class C addresses are not routed on the Internet. 10.0.0.0 – 10.255.255.255 172.16.0.0 – 172.31.255.255 192.168.0.0 – 192.168.255.255 A router uses Network Address Translation (NAT) to translate private addresses to public addresses.

Public and Private Addresses If you are addressing a test lab or a home network, these private addresses can be used instead of globally unique addresses. Private addresses can be intermixed with public IP addresses as shown in the figure.

Subnets Subnetting a network means to use the subnet mask to divide a up a network into smaller, segments, or subnets. Subnetting has prevented the wasting of usable host addresses. To create a subnet address, some bits from the host field are borrowed, and designated as subnet bits.

The following figure shows a Class B network (131. 108 The following figure shows a Class B network (131.108.0.0) divided into three subnetworks. 131.108.3.0 131.108.1.0

Subnetworks

Subnet Mask Determines which part of an IP address is the network field and which part is the host field Follow these steps to determine the subnet mask: Express the subnetwork IP address in binary form. Replace the network and subnet portion of the address with all 1s. Replace the host portion of the address with all 0s. Convert the binary expression back to dotted-decimal notation.

Subnet Mask Subnet mask in decimal = 255.255.240.0

Boolean Operations: AND, OR, and NOT AND is like multiplication. OR is like addition. NOT changes 1 to 0, and 0 to 1.

Performing the AND Function

Range of Bits Needed to Create Subnets

Subnet Addresses

Decimal Equivalents of 8-Bit Patterns

Creating a Subnet Determining subnet mask size Computing subnet mask and IP address Computing hosts per subnetwork Boolean AND operation IP configuration on a network diagram Host and subnet schemes Private addresses

Determining Subnet Mask Size Class B address with 8 bits borrowed for the subnet 130.5.2.144 (8 bits borrowed for subnetting) routes to subnet 130.5.2.0 rather than just to network 130.5.0.0.

Determining Subnet Mask Size Class C address 197.15.22.131 with a subnet mask of 255.255.255.224 (3 bits borrowed) 11000101 00001111 00010110 100 00011 Network Field SN Host Field The address 197.15.22.131 would be on the subnet 197.15.22.128.

Subnetting Example with AND Operation

IP Configuration on a Network Diagram The router connects subnetworks and networks.

IPv4 vs IPv6 Class A and Class B addresses make up three quarters of the four billion possible addresses. These are virtually used up. Class C addresses only allow 254 hosts, too small for many organisations. In 1992 the Internet Engineering Task Force (IETF) began work on IP version 6.

IPv4 vs IPv6 IPv4 addresses are 32 bits long. IPv6 addresses are assigned to interfaces, not nodes. IPv6 addresses are written in hexadecimal, and separated by colons.

IPv4 vs IPv6

Obtaining an IP Address

Obtaining an IP Address IP addresses can be assigned statically or dynamically. Static addressing is manually done by a system administrator. Best on small, infrequently changing networks. Good record-keeping is essential. Servers, printers and routers should be given static addresses. Static addressing is NOT scalable.

RARP IP Addressing Reverse Address Resolution Protocol (RARP) associates a known MAC addresses with an IP addresses. IP source addresses are needed for the address field in all IP packets. A RARP server must be present. RARP requests are broadcast onto the LAN and are responded to by the RARP server, usually a router.

RARP Example

ARP/RARP Message Structure Return to Page 400 in the Book for more details

BOOTP IP Addressing Operates in a Client-Server environment. Unlike BOOTP was not designed for dynamic address assignment. The administrator must maintain the BOOTP database with profiles for each host. BOOTP is used when a device starts up. BOOTP uses UDP to carry messages. BOOTP sends a broadcast IP packet. A BOOTP server receives the broadcast and then sends back a broadcast.

DHCP IP Addressing DHCP has replaced BOOTP. DHCP allows a host to obtain an IP address dynamically without needing an individual profile for each device. All that is needed is a defined range of IP addresses on a DHCP server. Information sent includes the subnet mask and the leased address. Users can be mobile and keep the same address. DHCP offers a one to many ratio of IP addresses, and that an address is available to anyone who connects to the network.

Address resolution A datagram on a LAN must contain both a destination MAC address and a destination IP address. These addresses must be correct and match the destination MAC and IP addresses of the host device. If it does not match, the datagram will be discarded by the destination host.

ARP – Address Resolution Protocol ARP tables store MAC and IP addresses of other LAN devices. Maintained automatically Stored in RAM

ARP – Address Resolution Protocol Two ways to gather MAC addresses: Monitor traffic and record the addresses Broadcast an ARP request An ARP request is used if a device needs an IP and MAC address pair. The broadcast is sent If the device exists and is on line, it will reply. If the device does not exist or is turned off, there is no response to the ARP request. In this situation, the source device reports an error.

Proxy ARP A router sends an ARP response with the MAC address of the interface on which the request was received, to the requesting host. This is done for addresses not in local subnet.

Default Gateway The IP address of the router interface is stored in the network configuration of the host. The source host compares the destination IP address and its own IP address to determine if the two IP addresses are located on the same segment. If the receiving host is not on the same segment, the source host sends the data using the actual IP address of the destination and the MAC address of the router. Either Proxy ARP or the Default Gateway must be configured, or no traffic can leave the LAN.

Do lab 9.2.7 Do lab 9.3.7 at home

Good luck on the exam……..