cisco1-6
-
Upload
rachel-padilla-ilagan -
Category
Documents
-
view
215 -
download
0
Transcript of cisco1-6
-
7/30/2019 cisco1-6
1/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Living in a Network
Centric World
Network Fundamentals
Chapter 1
-
7/30/2019 cisco1-6
2/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Objectives
Describe how networks impact our daily lives.
Describe the role of data networking in the humannetwork.
Identify the key components of any data network.
Identify the opportunities and challenges posed byconverged networks.
Describe the characteristics of network architectures:
fault tolerance, scalability, quality of service andsecurity.
Install and use IRC clients and a Wiki server.
-
7/30/2019 cisco1-6
3/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
How Networks Impact Daily Life
Explain the benefits of instantaneous communicationand how it supports and improves our lives.
-
7/30/2019 cisco1-6
4/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
How Networks Impact Daily Life
Describe the characteristics and purpose of popularcommunication media such as, IM, Wikis , Blogs,Podcasting, and Collaboration Tools
Instant messaging
Real time communication
between 2 or more
people based on typed text
Weblogs (Blogs)
Web pages created
by an individualPodcasting
Website that contains
audio files available
for downloading
-
7/30/2019 cisco1-6
5/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
How Networks Impact Daily Life
Information networks can be used to share andcollaborate improves teaching and learning
-
7/30/2019 cisco1-6
6/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
How Networks Impact Daily Life
Some ways of communication over a network changethe way we work
-
7/30/2019 cisco1-6
7/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
How Networks Impact Daily Life
Communication over a network supports the way weplay
-
7/30/2019 cisco1-6
8/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Data Networking Role, Components, andChallenges
Basic characteristics of communicationRules or agreements are 1st established
(Before beginning to communicate with each other, we establish rules oragreements to govern the conversation. These rules, or protocols, must befollowed in order for the message to be successfully delivered and understood.)
Important information may need to be repeatedVarious modes of communication may impact theeffectiveness of getting the message across.
-
7/30/2019 cisco1-6
9/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Data Networking Role, Components, andChallenges
The role of data networking in communications:
-
7/30/2019 cisco1-6
10/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Data Networking Role, Components, andChallenges
Various elements make up anetwork
Devices
These are used tocommunicate with one
another
Medium
This is how the devicesare connected together
Messages
Information that travelsover the medium
Rules
Governs how messagesflow across network
-
7/30/2019 cisco1-6
11/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Data Networking Role, Components, andChallenges
The role of converged networks in communicationsConverged network
A type of network that can carry voice, video & data overthe same network
-
7/30/2019 cisco1-6
12/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Architecture Characteristics
The four characteristics that are addressed by networkarchitecture design
Fault tolerance
Scalability
Quality of serviceSecurity
-
7/30/2019 cisco1-6
13/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Architecture Characteristics
Packet switching helps improve the resiliency and faulttolerance of the Internet architecture
-
7/30/2019 cisco1-6
14/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Architecture Characteristics
Characteristics of the Internet that help it scale to meetuser demand
Hierarchical
Common standards
Common protocols
-
7/30/2019 cisco1-6
15/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Architecture Characteristics
Explain the factors that necessitate Quality of Serviceand the mechanisms necessary to ensure it
-
7/30/2019 cisco1-6
16/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Architecture Characteristics
Describe how QoS mechanisms work to ensure qualityof service for applications that require it.
-
7/30/2019 cisco1-6
17/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Architecture Characteristics
How to select the appropriate QoS strategy for a giventype of traffic
-
7/30/2019 cisco1-6
18/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Architecture Characteristics
Why networks must be secure
-
7/30/2019 cisco1-6
19/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Architecture Characteristics
Basic measures to secure data networks
Ensure confidentiality through use of
User authentication
Data encryption
Maintain communication integrity through use ofDigital signatures
Ensure availability through use of
Firewalls
Redundant networkarchitecture
Hardware without a single
point of failure
-
7/30/2019 cisco1-6
20/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IRC Clients and Wiki Server
Install and use IRC clients and a Wiki server
-
7/30/2019 cisco1-6
21/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Summary
-
7/30/2019 cisco1-6
22/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
-
7/30/2019 cisco1-6
23/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Communicating over the
Network
Network Fundamentals
Chapter 2
-
7/30/2019 cisco1-6
24/194 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Objectives
Describe the structure of a network, including thedevices and media that are necessary for successfulcommunications.
Explain the function of protocols in network
communications. Explain the advantages of using a layered model to
describe network functionality.
Describe the role of each layer in two recognized
network models: The TCP/IP model and the OSImodel.
Describe the importance of addressing and namingschemes in network communications.
-
7/30/2019 cisco1-6
25/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Structure Define the elements of communication
3 common elements of communication
message source
the channel
message destination
Define a network
data or information networks capable of carrying many different
types of communications
-
7/30/2019 cisco1-6
26/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Structure
Describe how messages are communicated
Data is sent across a network in small chunks calledsegments
-
7/30/2019 cisco1-6
27/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Structure
Define the components of a network
Network components
hardware
software
-
7/30/2019 cisco1-6
28/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Structure End Devices and their Role in the Network
End devices form interface with human network &communications network
Role of end devices:
client
server
both client and server
-
7/30/2019 cisco1-6
29/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Structure Identify the role of an intermediary device in a data
network and be able to contrast that role with the role ofan end device
Role of an intermediary device
provides connectivity and ensures data flowsacross network
-
7/30/2019 cisco1-6
30/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Structure
Define network media and criteria for making a networkmedia choice
Network media
this is the channel over which a message travels
-
7/30/2019 cisco1-6
31/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Types
Define Local Area Networks (LANs)
- A network serving a home, building or campus is considered aLocal Area Network (LAN)
-
7/30/2019 cisco1-6
32/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Types
Define Wide Area Networks (WANs)
- LANs separated by geographic distance are connected by anetwork known as a Wide Area Network (WAN)
-
7/30/2019 cisco1-6
33/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Types
Define the Internet
The internet is defined as a
global mesh of interconnected networks
-
7/30/2019 cisco1-6
34/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network Types
Describe network representations
-
7/30/2019 cisco1-6
35/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Function of Protocol in NetworkCommunication
The importance of protocols and how they are used tofacilitate communication over data networks
A protocol is a set of predetermined rules
-
7/30/2019 cisco1-6
36/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Function of Protocol in NetworkCommunication
Explain network protocols
Network protocols are used
to allow devices to
communicate
successfully
-
7/30/2019 cisco1-6
37/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Function of Protocol in NetworkCommunication
Describe Protocol suites and industry standards
A standard is
a process or protocol that has been endorsed by thenetworking industry and ratified by a standards organization
-
7/30/2019 cisco1-6
38/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Function of Protocol in NetworkCommunication
Define different protocols and how they interact
-
7/30/2019 cisco1-6
39/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Function of Protocol in NetworkCommunication
Technology independent Protocols-Many diverse types of devices can communicate using thesame sets of protocols. This is because protocols specifynetwork functionality, not the underlying technology to supportthis functionality.
-
7/30/2019 cisco1-6
40/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layers with TCP/IP and OSI Model Explain the benefits of using a layered model
Benefits include
assists in protocol design
fosters competition
changes in one layer do not affect other layers
provides a common language
-
7/30/2019 cisco1-6
41/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layers with TCP/IP and OSI Model
Describe TCP/IP Mode
-
7/30/2019 cisco1-6
42/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layers with TCP/IP and OSI Model
Describe the Communication Process
-
7/30/2019 cisco1-6
43/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layers with TCP/IP and OSI Model
Explain protocol data units (PDU) and encapsulation
-
7/30/2019 cisco1-6
44/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layers with TCP/IP and OSI Model
Describe the process of sending and receivingmessages
-
7/30/2019 cisco1-6
45/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layers with TCP/IP and OSI Model
Explain protocol andreference models
A protocol model
provides a model thatclosely matches the
structure of a particularprotocol suite.
A reference model
provides a commonreference formaintainingconsistency within alltypes of networkprotocols and services.
-
7/30/2019 cisco1-6
46/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layers with TCP/IP and OSI Model
Define OSI
-
7/30/2019 cisco1-6
47/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layers with TCP/IP and OSI Model
Compare OSI and TCP/IP model
-
7/30/2019 cisco1-6
48/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Addressing and Naming Schemes
Explain how labels in encapsulation headers are usedto manage communication in data networks
-
7/30/2019 cisco1-6
49/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Addressing and Naming Schemes
Describe examples of Ethernet MAC Addresses, IPAddresses, and TCP/UDP Port numbers
-
7/30/2019 cisco1-6
50/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Addressing and Naming Schemes
Explain how labels in encapsulation headers are usedto manage communication in data networks
-
7/30/2019 cisco1-6
51/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Addressing and Naming Schemes
Describe how information in the encapsulation headeris used to identify the source and destination processesfor data communication
-
7/30/2019 cisco1-6
52/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Summary
-
7/30/2019 cisco1-6
53/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
-
7/30/2019 cisco1-6
54/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Application LayerFunctionality andProtocols
Network Fundamentals
Chapter 3
-
7/30/2019 cisco1-6
55/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Objectives
Define the application layer as the source anddestination of data for communication acrossnetworks.
Explain the role of protocols in supportingcommunication between server and clientprocesses.
Describe the features, operation, and use of
well-known TCP/IP application layer services(HTTP, DNS, SMTP).
-
7/30/2019 cisco1-6
56/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Applications The Interface BetweenHuman and Data Networks Explain that applications provide the means for generating and
receiving data that can be transported on the network
-
7/30/2019 cisco1-6
57/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Applications The Interface BetweenHuman and Data Networks Explain the role of applications, services and protocols in
converting communication to data that can be transferred acrossthe data network
-
7/30/2019 cisco1-6
58/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Applications The Interface BetweenHuman and Data Networks Define the separate roles applications, services and protocols play
in transporting data through networks
-
7/30/2019 cisco1-6
59/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Applications The Interface BetweenHuman and Data Networks Describe the role protocols play in networking and be able to
identify several message properties that can be defined by aprotocol
-
7/30/2019 cisco1-6
60/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
The Role of Protocols in SupportingCommunication Describe the roles of client and server processes in data networks
-
7/30/2019 cisco1-6
61/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
The Role of Protocols in SupportingCommunication List common Application Layers services and protocols
-
7/30/2019 cisco1-6
62/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
The Role of Protocols in SupportingCommunication Compare and contrast client server networking with peer-to-peer
networking and peer-to-peer applications
-
7/30/2019 cisco1-6
63/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Features, Operation, and Use of TCP/IPApplication Layer Services Describe the features of the DNS protocol and how this protocol
supports DNS services
-
7/30/2019 cisco1-6
64/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Features, Operation, and Use of TCP/IPApplication Layer Services Describe the features of the HTTP protocol and how this protocol
supports the delivery of web pages to the client
-
7/30/2019 cisco1-6
65/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Features, Operation, and Use of TCP/IPApplication Layer Services Describe the features of the POP and SMTP protocols, and how
these protocols support e-mail services
-
7/30/2019 cisco1-6
66/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Features, Operation, and Use of TCP/IPApplication Layer Services Describe the features of the Telnet protocol and identify several of
its uses in examining and managing networks
-
7/30/2019 cisco1-6
67/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Features, Operation, and Use of TCP/IPApplication Layer Services Describe the features of the SMB protocol and the role it plays in
supporting file sharing in Microsoft-based networks
-
7/30/2019 cisco1-6
68/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Features, Operation, and Use of TCP/IPApplication Layer Services Describe the features of the Gnutella protocol and the role it plays
in supporting P2P services
-
7/30/2019 cisco1-6
69/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Summary
-
7/30/2019 cisco1-6
70/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
-
7/30/2019 cisco1-6
71/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
OSI transport layer
CCNA Exploration Semester 1
Chapter 4
-
7/30/2019 cisco1-6
72/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
OSI transport layer
OSI model layer 4
TCP/IP model Transport layer
ApplicationPresentation
Session
Transport
Network
Data link
Physical
Application
Transport
Internet
Network Access
TCP, UDP
IP
Ethernet,
WAN
technologies
HTTP, FTP,TFTP, SMTP
etc
Segment
Packet
Frame
Bits
Data
stream
-
7/30/2019 cisco1-6
73/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Transport layer topics
Roles of the transport layer
TCP: Transport Control Protocol
UDP: User Datagram Protocol
-
7/30/2019 cisco1-6
74/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Purpose of transport layer
Responsible for the overall end-to-end transfer
of application data.
-
7/30/2019 cisco1-6
75/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Transport layer
Enables multiple applications on the same device tosend data over the network at the same time
Provides reliability and error handling if required.
(Checks if data has arrived and re-sends if it has not.)
-
7/30/2019 cisco1-6
76/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Transport Layer TCP and UDP
-
7/30/2019 cisco1-6
77/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Why two transport protocols?
Some applications need their data to be complete withno errors or gaps and they can accept a slight delay toensure this.They use TCP.
Some applications can accept occasional errors orgaps in the data but they cannot accept any delay.They use UDP.
Reliable
Fast
-
7/30/2019 cisco1-6
78/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
TCP
Sets up a connection with the receiving host beforesending data.
Checks if segments have arrived and resends if theywere lost. (Reliability)
Sorts segments into the right order before reassemblingthe data.
Sends at a speed to suit the receiving host. (Flow control)
But this takes time and resources.
-
7/30/2019 cisco1-6
79/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
UDP
Connectionless. Does not contact receiving host beforesending data.
Does not check if data arrived and does not re-send.
Does not sort into the right order.
Best effort.
Low overhead.
Used for VoIP, streaming video, DNS, TFTP
-
7/30/2019 cisco1-6
80/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
TCP and UDP headers
-
7/30/2019 cisco1-6
81/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Port numbers
Used by TCP and UDP as a form of addressing.
Identifies the application and the conversation.
Common application protocols have default port
numbers e.g.80 for HTTP 110 for POP3 mail20/21 for FTP 23 for Telnet
-
7/30/2019 cisco1-6
82/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Port numbers
Client PC uses port 80.
Identifies HTTP as
application.
Requesting a web page.
Client PC uses port 49152.
Chosen at random.
Remembers this to identify
application and conversation.
Port + IP address = socket. E.g. 192.168.2.12:80
-
7/30/2019 cisco1-6
83/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Port numbers
The Internet Assigned Numbers Authority (IANA) assigns portnumbers.
Well Known Ports (0 to 1023) - Reserved for common services andapplications such as HTTP, FTP, Telnet, POP3, SMTP.
Registered Ports (1024 to 49151) - Assigned to user processes orapplications. Can be dynamically selected by a client as its sourceport.
Dynamic or Private or Ephemeral Ports (49152 to 65535) Can beassigned dynamically to client applications when initiating a
connection.
-
7/30/2019 cisco1-6
84/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Netstat
Shows protocol, local address and port number,
foreign address and port number.
Unexpected connections may mean there is asecurity problem.
-
7/30/2019 cisco1-6
85/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Segment and sequence
Both TCP and UDP split application data into suitablysized pieces for transport and re-assemble them onarrival.
TCP has sequence numbers in the segment headers. Itre-assembles segments in the right order.
UDP has no sequence numbers. It assemblesdatagrams in the order they arrive.
-
7/30/2019 cisco1-6
86/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Connection oriented
TCP sets up a connection between end hosts beforesending data
The two hosts go through a synchronization process toensure that both hosts are ready and know the initialsequence numbers.
This process is the Three-way handshake
When data transfer is finished, the hosts send signals to
end the session.
-
7/30/2019 cisco1-6
87/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Three way handshake
Send SYN
seq = x
Receive SYN
seq = x
Receive SYN
ack = y
seq = x+1
Receive ACK
ack = y+1
Send ACK
ack = y+1
Send SYN
ack = y
seq = x+1
-
7/30/2019 cisco1-6
88/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Terminating connection
-
7/30/2019 cisco1-6
89/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Expectational acknowledgement
TCP checks that data has been received.
The receiving host sends an acknowledgement givingthe sequence number of the byte that it expects next.
-
7/30/2019 cisco1-6
90/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Window size
Controls how many bytes are sent before an acknowledgement isexpected.
-
7/30/2019 cisco1-6
91/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Lost segments
Send bytes 1 to 2999
Receive 1 to 2999, send ACK 3000
Send bytes 3000 to 4999
Receive 3000 to 3999, send ACK 4000(bytes 4000 to 4999 were lost)
Send bytes 4000 to 5999
Lost segments are re-sent.
If no ACK send them all again
-
7/30/2019 cisco1-6
92/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Flow control
The initial window size is agreed during the three-wayhandshake.
If this is too much for the receiver and it loses data (e.g.buffer overflow) then it can decrease the window size.
If all is well then the receiver will increase the windowsize.
-
7/30/2019 cisco1-6
93/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Comparison of TCP and UDP
Both TCP and UDP use port numbers
Both split up application data if necessary
TCP sets up a connection
TCP uses acknowledgements and re-sends
TCP uses flow control
TCP can re-assemble segments in the right order if
they arrive out of sequence
UDP has less overhead so is faster
-
7/30/2019 cisco1-6
94/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Summary
Hierarchical Design model addresses performance,scalability, maintainability & manageability issues.
Traffic Analysis is used to monitor networkperformance.
Hierarchical Design Model is composed of 3 layers:Access
Distribution
Core
Switches selected for each layer must meet the needsof each hierarchical layer as well as the needs of thebusiness.
-
7/30/2019 cisco1-6
95/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Labs & Activities
Type Detail
PT 1.2.4 Mandatory*
Lab 1.3.1 Mandatory
PT 1.3.2 Mandatory
Lab 1.3.3 Review carefully
* If no previous Packet Tracer experience, else strongly recommended
-
7/30/2019 cisco1-6
96/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
-
7/30/2019 cisco1-6
97/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
OSI network layer
CCNA Exploration Semester 1
Chapter 5
-
7/30/2019 cisco1-6
98/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
OSI network layer
OSI model layer 3
TCP/IP model Internet layer
ApplicationPresentation
Session
Transport
NetworkData link
Physical
Application
Transport
Internet
Network Access
TCP, UDP
IP
Ethernet,
WAN
technologies
HTTP, FTP,TFTP, SMTP
etc
Segment
Packet
Frame
Bits
Data
stream
-
7/30/2019 cisco1-6
99/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network layer topics
IP version 4 the most common layer 3 routed protocol
Dividing hosts into groups why and how
Routing sending packets the right way
Routing how routers learn routes
IP addressing in chapter 6
-
7/30/2019 cisco1-6
100/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Purpose of layer 3
Decide how to get the data from source to destination, then routeit.
-
7/30/2019 cisco1-6
101/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Layer 3 protocol
A layer 3 protocol such as IP version 4 must:
Provide an addressing scheme to identify networks andindividual hosts
Encapsulate a segment from layer 4 into a packet andinclude addresses
Direct the packet across one or many networks to thedestination host
Decapsulate (remove the packet header) and give thesegment to layer 4.
-
7/30/2019 cisco1-6
102/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network layer protocols
Internet Protocol version 4 (IPv4) the most common
Internet Protocol version 6 (IPv6) designed to replaceversion 4 eventually
Novell Internetwork Packet Exchange (IPX)
AppleTalk
Connectionless Network Service (CLNS/DECNet)
-
7/30/2019 cisco1-6
103/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IP characteristics
Designed with low overhead for speed it does onlywhat it needs to do.
Connectionless does not set up connection withdestination before sending packet.
Best effort (unreliable) no guarantee of safe delivery, nochecking or resending.
Independent of media, but does need to know
maximum packet size.
N t k l l ti
-
7/30/2019 cisco1-6
104/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Network layer encapsulation
Segment from transport layer
Packet header added to make
IP packet
Sent to data link layer forfurther encapsulation into
frame
IP 4 k t h d fi ld
-
7/30/2019 cisco1-6
105/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IPv4 packet header fields
IP address of sourcehost, needed so reply
can be sent.
IP address of destinationhost, needed so routers
can find route.
IP 4 k t h d fi ld
-
7/30/2019 cisco1-6
106/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IPv4 packet header fields
Reduced by 1 at eachrouter. Packet dropped if
it goes to 0.
TCP or UDP used inTransport layer.
IP 4 k t h d fi ld
-
7/30/2019 cisco1-6
107/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IPv4 packet header fields
Priority for QoS. E.g.voice data has higher
priority than e-mail.
For checking if header hasbeen corrupted.
IP 4 k t h d fi ld
-
7/30/2019 cisco1-6
108/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IPv4 packet header fields
Shows if packet hasbeen fragmented or
must not be fragmented.
If router has to split apacket, this gives order for
putting pieces together.
IP 4 k t h d fi ld
-
7/30/2019 cisco1-6
109/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IPv4 packet header fields
Version 4. Length of whole packet.Headerlength.
IP h d
-
7/30/2019 cisco1-6
110/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IP header
S litti t k
-
7/30/2019 cisco1-6
111/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Splitting up networks
Fully switched network, each device has its ownbandwidth. You could have hundreds of computers.
Why split it up?
Too large to manage efficiently
Too much broadcast traffic - congestion
Too many addresses for switches to remember
Lack of security
Ho to split the net ork
-
7/30/2019 cisco1-6
112/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
How to split the network
Geographically different sites
Purpose what software and shared resources dopeople use? How much bandwidth do they use?
Ownership different companies or departments in acompany, security requirements
Use a router
-
7/30/2019 cisco1-6
113/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Use a router
Limits broadcasts
Can provide security
Addressing scheme based onnetworks - hierarchical
IPv4 hierarchical address
-
7/30/2019 cisco1-6
114/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IPv4 hierarchical address
32 bits in four 8-bit octets, written in decimal
Network part then host part
Here network part (prefix) is 24 bits /24
Length of network part can vary.
Message to same network
-
7/30/2019 cisco1-6
115/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Message to same network
Message to different network
-
7/30/2019 cisco1-6
116/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Message to different network
Default gateway
-
7/30/2019 cisco1-6
117/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Default gateway
Each PC is configured with an IP address and a defaultgateway.
The default gateway is the IP address of a router porton the same network as the PC.
It is the routers job to handle messages to othernetworks.
Each router port is on a different network and has a
different IP address.
Hops
-
7/30/2019 cisco1-6
118/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Hops
A packet may pass through many routers on itsjourney.
The trip from one router to the next is called a hop andthe next router is called the next hop router.
Each router looks at the IP address in the packetheader and decides what to do with the packet next.
Routing table and forwarding
-
7/30/2019 cisco1-6
119/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Routing table and forwarding
Each router has a routing table. This contains a list ofknown networks and the best way to get there outgoingport and address of next-hop router.
The router looks at the IP address of a packet. It decides
which network this address is on.If it knows the network it forwards the packet.If it does not know the network it drops the packet.
Directly connected
-
7/30/2019 cisco1-6
120/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Directly connected
The networks of the routers own interfaces go into the
routing table.
Other networks
-
7/30/2019 cisco1-6
121/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Other networks
Routes to other networks can be configured by anadministrator (static routes)
Or they can be learned from another router using arouting protocol (dynamic routes)
A router can have a default route. Packets for unknownnetworks go on this route instead of being dropped.
Routing table entries
-
7/30/2019 cisco1-6
122/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Routing table entries
Directly connected shown by C
Routing table entries
-
7/30/2019 cisco1-6
123/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Routing table entries
Static, configured by administrator,
shown by S
Routing table entries
-
7/30/2019 cisco1-6
124/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Routing table entries
Default, configured by administrator,shown by S*
Routing table entries
-
7/30/2019 cisco1-6
125/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Routing table entries
Learned from another router using RIProuting protocol, shown by R
Router has a route
-
7/30/2019 cisco1-6
126/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Router has a route
Routing protocols
-
7/30/2019 cisco1-6
127/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Routing protocols
Routers learn routes from each other and put them intheir routing tables.
A routing protocol is the set of rules they use to swapinformation.
These routes are dynamic routes
Static routes Dynamic routes
-
7/30/2019 cisco1-6
128/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Static routes Dynamic routes
Entered by administrator
Time consuming, different foreach router
Must be updated if routes
change
Little processing
No bandwidth used
Gives nothing away
Learned from other routers
Start the protocol then it runsby itself
Automatically updates when
routes change
More processing
Uses bandwidth
Gives away information
Summary
-
7/30/2019 cisco1-6
129/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Summary
Hierarchical Design model addresses performance,scalability, maintainability & manageability issues.
Traffic Analysis is used to monitor networkperformance.
Hierarchical Design Model is composed of 3 layers:
Access
Distribution
Core
Switches selected for each layer must meet the needsof each hierarchical layer as well as the needs of thebusiness.
Labs & Activities
-
7/30/2019 cisco1-6
130/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Labs & Activities
Type Detail
PT 1.2.4 Mandatory*
Lab 1.3.1 Mandatory
PT 1.3.2 Mandatory
Lab 1.3.3 Review carefully
* If no previous Packet Tracer experience, else strongly recommended
-
7/30/2019 cisco1-6
131/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
-
7/30/2019 cisco1-6
132/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Addressing the network IPv4
CCNA Exploration Semester 1 Chapter 6
IP addressing works at
-
7/30/2019 cisco1-6
133/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
IP addressing works at
OSI model layer 3
TCP/IP model Internet layer
ApplicationPresentation
Session
Transport
NetworkData link
Physical
Application
Transport
Internet
Network Access
TCP, UDP
IP
Ethernet,
WAN
technologies
HTTP, FTP,
TFTP, SMTP
etc
Segment
Packet
Frame
Bits
Data
stream
Addressing topics
-
7/30/2019 cisco1-6
134/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Addressing topics
Binary and decimal
Types of IP addresses
Assigning addresses
Network part and subnet masks
Calculating addresses
Ping and Traceroute Utilities
Binary and decimal
-
7/30/2019 cisco1-6
135/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Binary and decimal
Convert to 8-bit binary
248
187
89
Convert to decimal
00110100
01010101
11001111
248 to binary
-
7/30/2019 cisco1-6
136/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
248 to binary
128 64 32 16 8 4 2 1
1 1 1 1 1 0 0 0
248
-128
120
24
-16
8
56
-32
24
120
-64
56
187 to binary
-
7/30/2019 cisco1-6
137/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
8 to b a y
128 64 32 16 8 4 2 1
1 0 1 1 1 0 1 1
187
-128
59
27
-16
11
11
-8
3
59
-32
27
3
-2
1
89 to binary
-
7/30/2019 cisco1-6
138/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
y
128 64 32 16 8 4 2 1
0 1 0 1 1 0 0 1
89
-64
25
25
-16
9
9
-8
1
00110100 to decimal
-
7/30/2019 cisco1-6
139/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
128 64 32 16 8 4 2 1
0 0 1 1 0 1 0 0
32 16 4
32
+16
+ 452 52
01010101 to decimal
-
7/30/2019 cisco1-6
140/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
128 64 32 16 8 4 2 1
0 1 0 1 0 1 0 1
64 16 4 1
64
+16
+ 4+ 1
85
85
11001111 to decimal
-
7/30/2019 cisco1-6
141/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
128 64 32 16 8 4 2 1
1 1 0 0 1 1 1 1
128 64 8 4 2 1
128
+ 64
+ 8
+ 4
+ 2
+ 1
207
207
Binary and decimal
-
7/30/2019 cisco1-6
142/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
y
Convert to 8-bit binary
248 11111000
187 10111011
89 01011001
Convert to decimal
00110100 52
01010101 85
11001111 207
IPv4 address
-
7/30/2019 cisco1-6
143/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
192. 168. 21. 17
11000000 10101000 00010101 00010001
octetoctet octet octet
network part host part
255. 255. 255. 0
11111111 11111111 11111111 00000000
Prefix /24 Subnet mask:
Find the network address
-
7/30/2019 cisco1-6
144/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
192. 168. 21. 17
11000000 10101000 00010101 00010001
In a network address, all the host bits are 0.192. 168. 21. 0
11000000 10101000 00010101 00000000
The router needs to do this for every packet.
Logical AND
-
7/30/2019 cisco1-6
145/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
g
192. 168. 21. 17
11000000 10101000 00010101 00010001
255. 255. 255. 0
11111111 11111111 11111111 00000000
Do a logical AND at each position
192. 168. 21. 0
11000000 10101000 00010101 00000000
Find the broadcast address
-
7/30/2019 cisco1-6
146/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
192. 168. 21. 17
11000000 10101000 00010101 00010001
In a broadcast address, all the host bits are 1.192. 168. 21. 255
11000000 10101000 00010101 11111111
The broadcast is the last address in the network.
3 types of address
-
7/30/2019 cisco1-6
147/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Every network has:
Network address the first one
Broadcast address the last one
Host addresses everything in between
Classful addressing
-
7/30/2019 cisco1-6
148/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
10. 17. 53. 60
network part host part
A
172. 16. 38. 201
network part host part
B
192. 168. 21. 17
network part host part
C
Classful addressing
-
7/30/2019 cisco1-6
149/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Easy to work out but very wasteful.
Routers and hosts still assume class subnet masks bydefault
Class A /8 255.0.0.0 Class B /16 255.255.0.0
Class C /24 255.255.255.0
Classless addressing
-
7/30/2019 cisco1-6
150/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Any suitable prefix can be used
We (and devices) need to know what the prefix is.
More flexible, less wasteful.
Classless addressing /16
-
7/30/2019 cisco1-6
151/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
172.16.0.0/16 mask 255.255.0.0
Broadcast address 172.16.255.255
Hosts 172.16.0.1 to 172.16.255.254
65534 host addresses
172. 16. 0. 0
10101100 00010000 00000000 00000000
Classless addressing /24
-
7/30/2019 cisco1-6
152/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
172.16.0.0/24 mask 255.255.255.0
Broadcast address 172.16.0.255
Hosts 172.16.0.1 to 172.16.0.254
254 host addresses
172. 16. 0. 0
10101100 00010000 00000000 00000000
Classless addressing /22
-
7/30/2019 cisco1-6
153/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
172.16.0.0/22 mask 255.255.252.0
Broadcast address 172.16.3.255
Hosts 172.16.0.1 to 172.16.3.254
1022 host addresses
172. 16. 0. 0
10101100 00010000 00000000 00000000
Classless addressing /26
-
7/30/2019 cisco1-6
154/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
172.16.0.0/22 mask 255.255.255.192
Broadcast address 172.16.0.63
Hosts 172.16.0.1 to 172.16.0.62
62 host addresses
172. 16. 0. 0
10101100 00010000 00000000 00000000
Classless addressing /28
-
7/30/2019 cisco1-6
155/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
172.16.0.0/28 mask 255.255.255.240
Broadcast address 172.16.0.15
Hosts 172.16.0.1 to 172.16.0.14
14 host addresses
172. 16. 0. 0
10101100 00010000 00000000 00000000
Calculating addresses
-
7/30/2019 cisco1-6
156/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
A host has IP address 192.168.1.70/24
What is the subnet mask?
What is the network address?
What is the broadcast address?
What is the range of host addresses in the network?
192.168.1.70/24 fill in the table
-
7/30/2019 cisco1-6
157/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Last octet binary Last octetdecimal
Full
Host
Subnet mask
Network
Broadcast
First host
Last host
192.168.1.70/24
-
7/30/2019 cisco1-6
158/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Last octet binary Last octetdecimal
Full
Host 01000110 70 192.168.1.70
Subnet mask 00000000 0 255.255.255.0
Network 00000000 0 192.168.1.0
Broadcast 11111111 255 192.168.1.255
First host 00000001 1 192.168.1.1
Last host 11111110 254 192.168.1.254
Calculating addresses
-
7/30/2019 cisco1-6
159/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
A host has IP address 192.168.1.70/26
What is the subnet mask?
What is the network address?
What is the broadcast address?
What is the range of host addresses in the network?
192.168.1.70/26 fill in the table
-
7/30/2019 cisco1-6
160/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Last octetbinary
Last octetdecimal
Full
Host
Subnet mask
Network
Broadcast
First host
Last host
192.168.1.70/26
-
7/30/2019 cisco1-6
161/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Last octetbinary
Last octetdecimal
Full
Host 01000110 70 192.168.1.70
Subnet mask 11000000 192 255.255.255.192
Network 01000000 64 192.168.1.64
Broadcast 01111111 127 192.168.1.127
First host 01000001 65 192.168.1.65
Last host 01111110 126 192.168.1.126
Calculating addresses
-
7/30/2019 cisco1-6
162/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
A host has IP address 192.168.1.70/28
What is the subnet mask?
What is the network address?
What is the broadcast address?
What is the range of host addresses in the network?
192.168.1.70/28 fill in the table
-
7/30/2019 cisco1-6
163/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Last octetbinary
Last octetdecimal
Full
Host
Subnet mask
Network
Broadcast
First host
Last host
192.168.1.70/28
-
7/30/2019 cisco1-6
164/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Last octetbinary
Last octetdecimal
Full
Host 01000110 70 192.168.1.70
Subnet mask 11110000 240 255.255.255.240
Network 01000000 64 192.168.1.64
Broadcast 01001111 79 192.168.1.79
First host 01000001 65 192.168.1.65
Last host 01001110 78 192.168.1.78
Unicast, Multicast, Broadcast
-
7/30/2019 cisco1-6
165/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Unicast a message addressed to one host
Broadcast a message addressed to all hosts on anetwork. Uses networks broadcast address or255.255.255.255 locally
Multicast a message addressed to a group of hosts.Uses an address starting 224 - 239
Private IP addresses
-
7/30/2019 cisco1-6
166/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Unrestricted use on private networks. Not routed acrossthe Internet.
10.0.0.0 10.255.255.255 (10.0.0.0/8)
172.16.0.0 172.31.255.255 (172.16.0.0/20) 192.168.0.0 192.168.255.255 (192.168.0.0/24)
Public IP addresses
-
7/30/2019 cisco1-6
167/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Routed over the Internet
Master holder is IANA
Assigned to regional registries and then to ISPs
ISPs allocate them to organisations and individualusers
Use is strictly controlled as duplicate addresses are notallowed
Special addresses
-
7/30/2019 cisco1-6
168/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
0.0.0.0 all addresses in default route. Hosts cannot begiven addresses starting 0.
127.0.0.1 is loopback. Hosts cannot be givenaddresses starting 127.
240.0.0.0 and higher reserved for experimentalpurposes.
169.254.0.0 - 169.254.255.255 local only
192.0.2.0 to 192.0.2.255 for teaching
Network address translation
-
7/30/2019 cisco1-6
169/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
A large number of hosts on a network use privateaddresses to communicate with each other.
The ISP allocates one or a few public addresses.
NAT allows the hosts to share the public addresseswhen they want to use the Internet
Addressing hosts
-
7/30/2019 cisco1-6
170/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Static addressing address is configured by anadministrator
Servers, printers, routers, switches need staticaddresses
Dynamic addressing address is allocatedautomatically by DHCP by leasing addresses from apool
Dynamic addressing is best for workstations
Blocks of addresses
-
7/30/2019 cisco1-6
171/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Use Address range Summary
Network address 192.168.1.0 192.168.1.0/25
User hosts 192.168.1.1-127
Servers 192.168.1.128 - 191 192.168.1.128/26
Peripherals 192.168.1.192 - 223 192.168.1.192/27
Network devices 192.168.1.224 - 253 192.168.1.224/27
Router 192.168.1.254
Broadcast 192.168.1.255
Subnetting 192.168.1.0/24
-
7/30/2019 cisco1-6
172/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Address 192.168.1.0 00000000
Subnet mask 255.255.255.0 00000000
Last octet binary
Borrow 1 bit from host part, give it to network part, /25
Addresses 192.168.1.0192.168.1.128
0000000010000000
Subnet mask 255.255.255.128 10000000
Subnetting 192.168.1.0/24
-
7/30/2019 cisco1-6
173/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Borrow 2 bits from host part, give to network part, /26Addresses 192.168.1.0
192.168.1.64192.168.1.128192.168.1.192
00000000010000001000000011000000
Subnet mask 255.255.255.192 11000000
Subnetting 192.168.1.0/24
-
7/30/2019 cisco1-6
174/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Borrow 3 bits from host part, give to network part, /27Addresses 192.168.1.0
192.168.1.32192.168.1.64192.168.1.96
192.168.1.128192.168.1.160192.168.1.192192.168.1.224
00000000001000000100000001100000
10000000101000001100000011100000
Subnet mask 255.255.255.224 11100000
Subnetting 192.168.1.0/24
-
7/30/2019 cisco1-6
175/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Borrow 4 bits from host part, give to network part, /28192.168.1.0192.168.1.16192.168.1.32192.168.1.48192.168.1.64
192.168.1.80192.168.1.96192.168.1.112
192.168.1.128192.168.1.144192.168.1.160192.168.1.176192.168.1.192
192.168.1.208192.168.1.224192.168.1.240
0000000000010000001000000011000001000000
010100000110000001110000
1000000010010000101000001011000011000000
110100001110000011110000
Subnet mask 255.255.255.240 11110000
And so on
Subnetting 192.168.1.0/24
-
7/30/2019 cisco1-6
176/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Every time you borrow another bit you:
Double the number of subnets
Halve the size of the subnets
Each subnet has a network address, a broadcastaddress, and everything in between is a host address.
Here are some ways of visualising the process.
Subnetting 192.168.1.0/24
-
7/30/2019 cisco1-6
177/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Bits borrowed 1 2 3 4 5 6
No of networks 2 4 8 16 32 64
Prefix /25 /26 /27 /28 /29 /30
Bit value/ networksize
128 64 32 16 8 4
No of hosts 126 62 30 14 6 2
Subnet mask 128 192 224 240 248 252
Address space
-
7/30/2019 cisco1-6
178/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Make a spreadsheet or table with numbers 0 to 255
Link to show table
Subnet chart
http://localhost/var/www/apps/conversion/tmp/scratch_10/SubnettingVisual.ppthttp://localhost/var/www/apps/conversion/tmp/scratch_10/SubnettingVisual.ppt -
7/30/2019 cisco1-6
179/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Subnetting
-
7/30/2019 cisco1-6
180/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
There are many subnet calculators, but you will not beable to use them in exams.
Start with the biggest subnet and work down to thesmallest.
Make sure the subnets are valid sizes with valid subnetmasks.
Make sure that there are no overlaps.
Ping and traceroute
-
7/30/2019 cisco1-6
181/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Ping sends an ICMP message. If all is well, thedestination replies. If not, a router may reply to say thedestination is unreachable, or the ping may time out.
Traceroute sends a series of messages so that each
router along the path replies. You get a list ofaddresses of all the routers.
IPv6
-
7/30/2019 cisco1-6
182/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Development started in 1990s because of concernsabout IPv4 addresses running out
A whole new protocol suite not just layer 3
Uses 128-bit hierarchical addressing, written usinghexadecimal
Simpler header
Integrated security authentication, privacy
Quality of service mechanisms
-
7/30/2019 cisco1-6
183/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Subnetting - visual
CCNA Exploration Semester 1
Chapter 6
Prefix /24
-
7/30/2019 cisco1-6
184/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Three octets in networkpart, last octet in host part.
All possible numbers 0
255 in last octet belong in
the same network.
Network address yellow
Broadcast address blue
Subnet mask
255.255.255.0
Prefix /25
-
7/30/2019 cisco1-6
185/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
First bit of fourth octettaken into network part.
For every bit taken, double
number of networks, halve
their size.
Network address yellow
Broadcast address blue
Subnet mask
255.255.255.128
Prefix /26
-
7/30/2019 cisco1-6
186/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
2 bits of fourth octet takeninto network part.
For every bit taken, double
number of networks, halve
their size.
Network address yellow
Broadcast address blue
Subnet mask
255.255.255.192
Prefix /27
-
7/30/2019 cisco1-6
187/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
3 bits of fourth octet takeninto network part.
For every bit taken, double
number of networks, halve
their size.Network address yellow
Broadcast address blue
Subnet mask
255.255.255.224
Prefix /28
-
7/30/2019 cisco1-6
188/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
4 bits of fourth octet takeninto network part.
For every bit taken, double
number of networks, halve
their size.Network address yellow
Broadcast address blue
Subnet mask
255.255.255.240
Prefix /29
-
7/30/2019 cisco1-6
189/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
5 bits of fourth octet takeninto network part.
For every bit taken, double
number of networks, halve
their size.Network address yellow
Broadcast address blue
Subnet mask
255.255.255.248
Prefix /30
-
7/30/2019 cisco1-6
190/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
6 bits of fourth octet takeninto network part.
For every bit taken, double
number of networks, halve
their size.Network address yellow
Broadcast address blue
Subnet mask
255.255.255.252
Variable length
-
7/30/2019 cisco1-6
191/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Networks do not need tobe all the same size.
/27
/26
/25
Summary
Hierarchical Design model addresses performance
-
7/30/2019 cisco1-6
192/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Hierarchical Design model addresses performance,
scalability, maintainability & manageability issues.
Traffic Analysis is used to monitor networkperformance.
Hierarchical Design Model is composed of 3 layers:
Access
Distribution
Core
Switches selected for each layer must meet the needsof each hierarchical layer as well as the needs of thebusiness.
Labs & Activities
-
7/30/2019 cisco1-6
193/194
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ ic
Type DetailPT 1.2.4 Mandatory*
Lab 1.3.1 Mandatory
PT 1.3.2 Mandatory
Lab 1.3.3 Review carefully
* If no previous Packet Tracer experience, else strongly recommended
-
7/30/2019 cisco1-6
194/194