CCNA 640-802: Chapter 2: Introduction To TCP/IP
CCNA 640-802: Chapter 2: Introduction To TCP/IP
Chapter 2 Objectives
The CCNA Topics Covered in this chapter include:
TCP/IP and the DoD Model
Process/Application Layer
Host-to-Host Layer
Internet Layer
Network Access
IP Addressing
Class A
Class B
Class C
Private Addressing
Process/Application Layer
This section describes different applications and services typically used in
IP networks. The following protocols and applications are discussed:
Telnet
FTP
TFTP
HTTP
SMTP
LPD
X Window
SNMP
DNS
DHCP
5
TCP
The figure shows the different fields
within the TCP header.
UDP
This figure clearly illustrates UDPs markedly low
overhead as compared to TCPs hungry usage.
Port Numbers
Port number examples for TCP and UDP
10
UDP
SNMP 161
TFTP 69
DNS 53
11
Internet Layer
IP Header
12
Internet Layer
Protocol Field in IP Header
13
Internet Layer
Protocol Field in IP Header
Protocol
Protocol Number
ICMP
1
IP in IP (tunneling)
4
IGRP
9
EIGRP
88
OSPF
89
IPv6
GRE
Layer 2 tunnel (L2TP)
41
47
115
14
Internet Layer
ICMP
Internet Layer
ICMP
E0 of LAB_B goes down. What happens?
16
Internet Layer
ARP
ARP resolves IP addresses to Ethernet (MAC) addresses.
17
Internet Layer
RARP
18
IP Addressing
An IP address is a numeric identifier assigned
to each machine on an IP network.
It designates the specific location of a device
on the network.
IP addressing was designed to allow hosts on
one network to communicate with a host on a
different network regardless of the type of
LANs the hosts are participating in.
19
IP Terminology
BIT: A bit is one digit, either a 1 or a 0.
BYTE: A byte is 7 or 8 bits, depending on whether parity is used.
For the rest of this chapter, always assume a byte is 8 bits.
OCTET: An octet, made up of 8 bits, is just an ordinary 8-bit binary
number. In this chapter, the terms byte and octet are completely
interchangeable.
Network address: This is the designation used in routing to send
packets to a remote networkfor example, 10.0.0.0, 172.16.0.0,
and 192.168.10.0.
Broadcast address: The address used by applications and hosts
to send information to all nodes on a network is called the
broadcast address.
20
Network Addressing
Subdividing an IP address into a network and node address is
determined by the class designation of ones network. This figure
summarizes the three classes of networks
21
Reserved Addressing
Address
Network address of all 0s
Function
Interpreted to mean this network or
segment.
Network address of all 1s
Interpreted to mean all networks.
Network 127.0.0.1
Reserved for loopback tests.
Node address of all 0s
Interpreted to mean network address or
any host on specified network.
Node address of all 1s
Interpreted to mean all nodes on the
specified network
Entire IP address set to all 0s Used by Cisco routers to designate the
default route. Could also mean any
network.
Entire IP address set to all 1s (same as Broadcast to all nodes on the
current network; 255.255.255.255)
sometimes called an all 1s broadcast or
limited broadcast
22
Private Addressing
Address Class
Class A
Class B
Class C
23
24