SlideShare a Scribd company logo
Network Essentials
FUNDAMENTALS AND TCP/IP– CHAPTER 3
A network is a collection of systems and devices exchanging data over some form of media.
A host is defined as any device that holds a logical address on your network.
Hosts can be workstations, servers, printers, connection devices, or routers.
Modern networks are charged with delivering our phone calls and, soon, our television and
entertainment options. Data—no matter what its form—is transmitted in the form of bits.
A single bit is a 1 or a 0 (based on the binary number system of two digits versus the typically
used decimal numbering system based on the digits 0–9).
A protocol is simply an agreed upon set of rules for a particular network function.
Bandwidth is generally considered to be the total amount of data (in bits) you can theoretically
transmit within a given time period (typically one second).
Bandwidth is expressed in bits or bytes per second in digital networking.
Network Topologies
The topology can refer to how the network actually looks
Physical Topologies:
The physical topology of the network refers to how the network actually looks from a
bird’s-eye view—the physical cabling layout of the network itself.
A bus topology consists of all devices connecting to a single wire—a coaxial cable.
A physical bus looks like a straight line—a stick—with connections to hosts coming off
in a “T” shape.
In a ring topology, all devices are connected to each other in the shape of a circle—the first
device feeds into the second device, which in turn feeds into the third, and so on and so on until
the loop plugs back into the first device
Star topologies can also include extended star, where the central device extends links to other
hubs and switches.
A token passing, or ring, topology works in a more organized, almost friendly format. In a
token passing logical topology, systems can only transmit information when they hold a special
data packet, known as a token. The token is passed from one device to the next, in a prescribed,
circular path. Each device receives the token and examines it. If it holds a message for the
device, it will open and process it.
Network Categories
Networks are typically of two types: LANs and WANs.
LANs :
A LAN (local area network) can be defined as a network that serves users within a small
geographic footprint.
WANs:
A WAN(wide area network ) is nothing more than the network connecting a collection of LANs
across a wide geographic area—perhaps a state, nation, or even the whole world! Aside from
the distance variable, another defining characteristic of WANs is the concept of a leased line.
The OSI Reference Model 11 CERTIFICATION OBJECTIVE 1.02 The OSI Reference
Model
One word bandied about quite a bit in regards to the OSI model is encapsulation.
Encapsulation is the process of adding a header and a trailer to a piece of data. While each stage
of communication (layer of the model) adds a header to the data, only one layer always adds a
trailer. Some texts define encapsulation as occurring in all layers of the model; however, it
technically only occurs at one—the Data Link layer.
The Layers
The OSI Reference Model splits the communications process into seven distinct modular layers,
with each layer accomplishing a specific function independently of all other layers. The layers do
rely on layers above and below to provide something to work with, but they don’t necessarily
care what they receive to work with.
The OSI REFERENCE MODEL SERIES
LAYER DEVICES FOUND IN THE LAYER PROTOCOLS AND STANDARDS WORKING
Application Firewall,Gateway and IDS SMTP,POP3,DNS,DHCP,FTP,HTTP,TFTP,SNMP
Presentation N/A JPG,JPEG,TIFF,GIF,MIME
Session N/A NFS,ASP,SQL,RPC
Transport Firewall TCP,UDP, SPX
Network Router IP,IPX, Appletalk
Data link layer Bridge and Switch Ethernet,ATM,PPP,Frame Relay
Physical Transceiver,Repeater, and Hub RJ45,ST/SC
The Data Layers (Application,Presentation, and Session)
Seven layers of the OSI model:-
The data layers would be the top three layers of the model.
At the top of the stack, we find layer 7—the Application layer
The Application layer holds the protocols that allow programs to access and make use of a
Network.
For example, Microsoft Outlook—a common e-mail program—can work just fine without a
network. You can open, edit, create, and delete e-mails offline just as well as you can online.
However, if you wish to use the network to send and receive e-mail, you need an Application
layer protocol to do this. In this example, the Application layer protocol would be SMTP.
Continuing the e-mail analogy, imagine you are sending an e-mail from a Microsoft Outlook
application to a computer running the Thunderbird e-mail application. You may have bold,
italics, and any number of font settings within your e-mail. Additionally, you may attach a picture
file (jpg) for the recipient to enjoy. Thunderbird might treat bold, italics, and font settings
differently than does Outlook, and SMTP is only capable of sending ASCIIcode (a combination of
bits representing an alphanumeric character, commonly referred to as, simply, text).
Enter layer 6—the Presentation layer. The Presentation layer is responsible for formatting and
code conversion between systems. This layer accepts the data from the Application layer and
ensures it is placed in a format the end station can understand. In this case, the e-mail is in text
mode, and another protocol, like MIME, translates the jpg into ASCII for transit. Once received at
the far end, the recipient’s Presentation layer will perform the reverse, handing the data back to
the Application layer protocol. Encryption is another function of the Presentation layer
Layer 5—the Session layer:—is perhaps the most enigmatic and troublesome of the entire
stack. This layer doesn’t necessarily do anything to the data at all. Instead, its function is to
work in the background, ensuring the communications process between two systems runs
smoothly.
The Delivery Layers:-
Transport layer:
Transport the data from receiver to sender.
The three main functions:
1. Segmentation.
2. The reliable delivery
3. Flow control
Segmentation is simply taking a small piece of the bits making up the data as a whole.
A small header is put in front of these bits. Inside the header is all sorts of information,
including:
The Network layer is responsible for logical addressing and routing.
Receiving a segment from the Transport layer, the Network layer adds a header that includes a
source and destination logical (network) address. This address is read by layer-3 devices
(routers) and best path determinations are made to deliver the segment to its final destination
Network Components
Physical Layer Devices:
Physical layer devices do nothing more than physically connect wiring together to complete a
path, or change the connection from one type to another.
Examples of physical layer devices include transceivers, repeaters, and hubs.
Transceivers connect one media type to another, such as a fiber connection to a copper one.
Repeaters are used to extend the range of a given media—whatever they take in one port,
they regenerate and repeat out the other. Hubs are nothing more than multiport
repeaters. Comparatively, where a repeater takes bits in one port to relay to another,
hubs have several ports they accept and relay bits on.
Data Link Layer Devices
Layer-2 devices include bridges and switches. Switches and bridges split (or
segment) collision domains, decrease network traffic problems, and increase effective
available bandwidth to hosts. However, keep in mind they are incapable of moving
traffic outside your LAN.
Network Layer Devices
Network layer devices play a unique role in your network design. These devices read the
Logical network addresses on your data and make decisions about which route to
send the data. This sounds very much like the switches and bridges discussed earlier,
but keep in mind the layer-3 device not only knows which port to send the data out,
but also the best route through outside networks to its final destination. Continuing
the analogy from earlier, if the street address on your letter is akin to the physical
address of your hosts, the logical address used by layer-3 devices is equivalent to the
ZIP code.
Other Devices
Networks can also include a variety of other devices, such as firewalls, gateways,
and proxies. A firewall is a device that typically works at layers 3 and 4, and is
used to filter network traffic based upon rules the administrator configures on
the device. Generally placed between your network and the Internet, firewalls
work on an implicit deny principle—if you do not explicitly allow the traffic, it is
blocked.
Gateways work at all layers and are generally used to connect networks and applications of
different types together. A proxy is a system that provides a specific service to a host. For
example, a web proxy will make requests to the Internet for web content on behalf of a host.
This increases security and performance since web traffic coming from your network appears
from only one system, and hosts can access cached pages on the proxy instead of going out to
find them. Generally speaking, these devices are usually placed between your network and the
Internet in a special network called a DMZ
TCP/IP
TCP/IP eventually became accepted as the worldwide standard for communication due to its
open architecture and, eventually, public input on its inner working.
Comparing Models:
TCP/IP divides networking functions into distinct layers. However, TCP/IP does so with only four
layers: Application, Transport, Internet, and Network Access. All the functionality of the OSI
model also occurs within the TCP/IP model; however, the layers do not line up exactly.
OSI TO TCP/IP COMPARISION
OSI MODEL TCP/IP MODEL
APPLICATION LAYER APPLICATION
PRESENTATION LAYER APPLICATION
SESSION LAYER APPLICATION
TRANSPORT LAYER TRANSPORT
NETWORK LAYER INTERNET
DATA LINK LAYER NETWORK ACCESS
PHYSICAL LAYER NETWORK ACCESS
DNS
The Domain Name Service (DNS) may well be the most widely and universally
used protocol within the Application layer. Its use is so ubiquitous within Internet
communications, it’s even used by other protocols! Therefore, it is absolutely
essential you understand the purpose of DNS and how it functions.
Caching is a process used to limit the number of queries that have to go all the way to the root.
Your computer has a DNS cache, and every name server and resolver along the way caches their
results. This means systems can sometimes get the answer to a query very quickly, especially if
others on their network have queried for the same record.
DHCP
Another well-known and oft-used Application layer protocol is Dynamic Host Configuration
Protocol (DHCP). The main function of DHCP is to automatically assign IP addresses from a given
pool of addresses to clients within a specific network segment. The pool of addresses a DHCP
server uses is known as a scope. Servers and routers are generally configured as DHCP servers
within a network.
OTHER PROTOCOLS
File Transfer Protocols
File Transfer Protocol (FTP) and Trivial File Transfer Protocol (TFTP) are both found in the TCP/IP
Application layer, and they both perform the same function—they transfer files from one system
to another. The manner in which they perform these functions differs, as well as where you
would traditionally see them in play. FTP is as much a service as it is a protocol, and is comprised
of a server, an authentication method, and the protocol itself. The FTP server is simply a
machine that has installed and enabled the FTP service.
TFTP has traditionally been used to transfer Cisco IOS and configuration files between Cisco
devices and a TFTP server on the network. Its small footprint, lack of extensive overhead, and
general ease of use make it an easy choice. FTP provides many more features, such as the ability
to list the fi les within the directory, and is a better choice for end users.
E-mail Protocols
The protocols in play to move e-mail through networks are Simple Mail Transfer Protocol (SMTP)
and Post Office Protocol version 3 (POP3).
IMAP4 (Internet Message Access Protocol) is another protocol that may be used to pull an e-
mail message from a server. IMAP has a more sophisticated authentication structure than POP3,
but is not as commonly used in modern networks.
A URL is made up of three major components: the protocol used, the name of the server (or
host) holding the resource, and the name of the page. The protocol comes first, before the //.
The domain name listed, such as Cisco.com, comes next and is the host holding the resource.
Anything listed after the last “/” is the name of a specific resource (page) on the host.
Hyper Text Transport Protocol over SSL (HTTPS) uses much the same process,
but adds security and encryption to the process. Secure Sockets Layer (SSL) is an
encryption process that secures the communication between the client and the
server hosting the site. An exchange of certificates ensures the client can safely
exchange data without worrying about third-party interception. HTTPS is very
common in online banking, shopping, and secured data sharing implementations.
Both HTTP and HTTPS are connection-oriented protocols
Transport LayerFunctions and Protocols
The TCP/IP Transport layer performs the same functions as its namesake layer in the OSI model:
segmentation, reliable end-to-end delivery of data, and flow control. Transport layer protocols
include Transport Control Protocol (TCP) and User Datagram Protocol (UDP).
TCP
TCP is a connection-oriented reliable transport protocol used by applications that
require error correction in delivery. On the good side, TCP provides the reliability
services that applications may not have built into them.
Every TCP communication process begins with a session establishment process known as the three-
way handshake. In the first phase, the requesting system sends a synchronization request segment,
known as a SYN. The SYN segment is a simple request to open a communications channel, and
includes the SYN flag set, a sequence number, and port numbers (covered later in this chapter). When
the server receives this request, it formulates and sends a synchronization/acknowledgment
segment, known as a SYN/ACK. This segment includes the SYN and ACK flags set, an acknowledgment
of the requestor’s sequence number, and a separate sequence number. Finally, in the third step, the
requesting system sends an acknowledgment segment, known as an ACK. This segment includes the
ACK flag set, a copy of the acknowledgment of the original sequence number, and an
acknowledgment of the server’s own sequence number
Be sure to review and understand the three major functions accomplished within TCP. You will
definitely be asked questions testing your knowledge on the order transfer of data, requiring
you to predict sequence numbers from a given scenario. Pay close attention to the sequence
number itself, as well as the agreed-upon size.
UDP
Unlike TCP, UDP is a connectionless protocol, meaning it does not require acknowledgments and
does not provide for error correction. A much simpler protocol with a smaller header, UDP
simply transmits segments as quickly as possible, without regard to the recipient. UDP has the
advantage of being much faster than TCP, but it does not provide many of the services that TCP’s
larger header allows for. If UDP is used as a transport protocol, reliability becomes a
function of the applications themselves.
UDP is a good choice in a couple of scenarios. If the data transfer is one (or just a
few) packets, then the overhead of TCP is unnecessary. Both DNS and DHCP are good
examples. In another good UDP scenario, the applications themselves must be capable
of tolerating lost packets, or have some means by which to ask for retransmissions. For
example, streaming video and Voice over IP (VoIP) can both tolerate a packet or two
lost along the way, as long as the stream doesn’t get too choppy.
Port Numbers and Multiplexing
Regardless of the transport protocol in use, there must be a method in place to let the recipient
Transport layer know which application protocol the transmitted segments should be passed to.
For example, imagine a server simultaneously hosting a web site and running an FTP service. A
TCP connection sequence occurs and a client connects to the server, sending a request for data.
How does the server know which application protocol—HTTP or FTP—is to handle the request?
Additionally, consider how confusing things could get if the same address asked for both services
in different streams. Port numbers are used to identify which protocol is to answer a
request and provide for multiplexing multiple requests from a single source
Port Number
Application Protocol
20
FTP (Data)
21
FTP (Control)
22
SSH
23
Telnet
25
SMTP
53
DNS
67,68
DHCP
69
TFTP
80
HTTP
110
POP3
161
SNMP
443
HTTPS (SSL)
Routed protocols can be routed across networks (or subnets). Routing protocols are used to
exchange information between routers to determine best path availability. You might also see a
reference to “non-routable” protocols on the exam. Non-routable protocols cannot,
obviously, be moved from one subnet to another. An example is NetBEUI.
IP AND ICMP
ping is a command-line tool used to test basic network connectivity. It sends an echo request to
a distant host, and if the host receives the message, it responds with an echo reply.
ping is usually used to systematically test network connectivity between two devices.
The IP address 127.0.0.1 (also known as localhost) is used to test the TCP/IP binding on the local
network card. Next, ping the default gateway for the system.
The responses to a ping display differently in a Cisco device, with a single character indicating
the message type. An exclamation point (!) indicates a good response. Other responses include a
dot (.) for timed out, and a capital “U” for destination unreachable. Also, be sure to
remember to ping from local to remote in troubleshooting scenarios
A final tool associated with ICMP is traceroute . The traceroute command displays all the IP
addresses of all routers along the path to the final destination, which obviously provides a much
more granular and meaningful snapshot in any troubleshooting scenario. The traceroute
command on Cisco devices displays the IP address of the next hop device along the path.
Network Access Layer Protocols
The Network Access layer of TCP/IP encompasses all the functionality of both the Data Link and
Physical layers of the OSI Reference Model. Encapsulation, framing, media access, and physical
addressing, as well as all the physical standards associated with cabling, connectors, and encoding, all
occur here. Each Network Access layer protocol defines a specific frame type in which to encapsulate
a packet for delivery within the network segment. In other words, the packet must be delivered
somewhere locally first, before it can make its way out of the network. If all devices on the media use
the same Network Access protocol and standard, the frame type is understood and the frame is
delivered to the appropriate device. The Network Access layer encompasses a wide variety of
protocols and standards, including SLIP, PPP, and Ethernet
Each network segment uses a specifi c Network Access layer standard. As the packet moves from
one network segment to the next, the frame is stripped off by the router and a new frame is
built for transmission on the next segment. For example, an Ethernet segment may pass
over a PPP or SLIP network on the way to its destination

More Related Content

PPTX
Network essentials - chapter 1
PPTX
Network Essentials v2.0
PPT
Network Essentials
PPT
Networking Essentials Lesson 01 - Eric Vanderburg
PPT
Network architecture
PPT
Concept of networking
PPT
Data communication and computer networks | Network Topologies
PPTX
types of computer networks, protocols and standards
Network essentials - chapter 1
Network Essentials v2.0
Network Essentials
Networking Essentials Lesson 01 - Eric Vanderburg
Network architecture
Concept of networking
Data communication and computer networks | Network Topologies
types of computer networks, protocols and standards

What's hot (20)

PPT
Computer Network
PPT
Computer networks--osi model
PPTX
Physical Layer of ISO-OSI model and Devices
PDF
What is network architecture
PPTX
Network communication standards
PDF
Basic networking
PPTX
Introduction to computer networks
PPT
Networking Basics
PPT
Networking peer-to-peer-powerpoint-presentation4410 (1)
PPTX
Networking Standards And Protocols
PPTX
COMPUTER NETWORKING
PPT
Types of Network Architecture
PPT
Networking Basics
PPT
Introduction to Computer Networks
PPT
Computer network basics
PPTX
Basic networking 07-2012
PPT
Lecture 1 networking & internetworking
PPT
Networking
PPTX
Network standards
PPT
Networking Basics
Computer Network
Computer networks--osi model
Physical Layer of ISO-OSI model and Devices
What is network architecture
Network communication standards
Basic networking
Introduction to computer networks
Networking Basics
Networking peer-to-peer-powerpoint-presentation4410 (1)
Networking Standards And Protocols
COMPUTER NETWORKING
Types of Network Architecture
Networking Basics
Introduction to Computer Networks
Computer network basics
Basic networking 07-2012
Lecture 1 networking & internetworking
Networking
Network standards
Networking Basics
Ad

Viewers also liked (10)

PPT
Net essentials6e ch11
PPT
Net essentials6e ch9
PPT
Net essentials6e ch10
PPT
Net essentials6e ch3
PPT
Net essentials6e ch8
PPT
Net essentials6e ch4
PPT
Net essentials6e ch5
PPT
Net essentials6e ch7
PPT
Net essentials6e ch6
PPT
Net essentials6e ch2
Net essentials6e ch11
Net essentials6e ch9
Net essentials6e ch10
Net essentials6e ch3
Net essentials6e ch8
Net essentials6e ch4
Net essentials6e ch5
Net essentials6e ch7
Net essentials6e ch6
Net essentials6e ch2
Ad

Similar to Network essentials chapter 3 (20)

PPTX
Network essentials chapter 4
PPTX
Network essentials chapter 2
PPT
Ccna exploration network fundamentals
PPTX
Unit 1 network models & typical examples(part a)
PPTX
PDF
Cs8591 Computer Networks
PPT
PPT
IMD 251 - Networking
PPTX
Ictinfraosi7 layers tcpipmodel2016e
PPT
OSI Model.ppt
PPTX
Sept 2017 network standards and models
PDF
Computer Networks/Computer Engineering.pdf
PPT
06 - OSI Model.ppt
PPT
06 - OSI Model.ppt
PPT
Chapeter 2
PPT
Basics of networking and routing
PPTX
7 layers of osi models
PDF
Network internet
PDF
Networks internet
PPT
OSI model (7 LAYER )
Network essentials chapter 4
Network essentials chapter 2
Ccna exploration network fundamentals
Unit 1 network models & typical examples(part a)
Cs8591 Computer Networks
IMD 251 - Networking
Ictinfraosi7 layers tcpipmodel2016e
OSI Model.ppt
Sept 2017 network standards and models
Computer Networks/Computer Engineering.pdf
06 - OSI Model.ppt
06 - OSI Model.ppt
Chapeter 2
Basics of networking and routing
7 layers of osi models
Network internet
Networks internet
OSI model (7 LAYER )

More from Raghu nath (20)

PPTX
Mongo db
PDF
Ftp (file transfer protocol)
PDF
MS WORD 2013
PDF
Msword
PDF
Ms word
PDF
Javascript part1
PDF
Regular expressions
PDF
Selection sort
PPTX
Binary search
PPTX
JSON(JavaScript Object Notation)
PDF
Stemming algorithms
PPTX
Step by step guide to install dhcp role
PPTX
Python chapter 2
PPTX
python chapter 1
PPTX
Linux Shell Scripting
PPTX
PPTX
Adv excel® 2013
PPTX
Excel® 2013
PPTX
Excel 2013
PPTX
Basic xml syntax
Mongo db
Ftp (file transfer protocol)
MS WORD 2013
Msword
Ms word
Javascript part1
Regular expressions
Selection sort
Binary search
JSON(JavaScript Object Notation)
Stemming algorithms
Step by step guide to install dhcp role
Python chapter 2
python chapter 1
Linux Shell Scripting
Adv excel® 2013
Excel® 2013
Excel 2013
Basic xml syntax

Recently uploaded (20)

PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Institutional Correction lecture only . . .
PDF
Complications of Minimal Access Surgery at WLH
PDF
Business Ethics Teaching Materials for college
PPTX
master seminar digital applications in india
PDF
Insiders guide to clinical Medicine.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Microbial disease of the cardiovascular and lymphatic systems
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Module 4: Burden of Disease Tutorial Slides S2 2025
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Week 4 Term 3 Study Techniques revisited.pptx
Supply Chain Operations Speaking Notes -ICLT Program
O5-L3 Freight Transport Ops (International) V1.pdf
Institutional Correction lecture only . . .
Complications of Minimal Access Surgery at WLH
Business Ethics Teaching Materials for college
master seminar digital applications in india
Insiders guide to clinical Medicine.pdf
Basic Mud Logging Guide for educational purpose
TR - Agricultural Crops Production NC III.pdf
Classroom Observation Tools for Teachers
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Renaissance Architecture: A Journey from Faith to Humanism
school management -TNTEU- B.Ed., Semester II Unit 1.pptx

Network essentials chapter 3

  • 2. A network is a collection of systems and devices exchanging data over some form of media. A host is defined as any device that holds a logical address on your network. Hosts can be workstations, servers, printers, connection devices, or routers.
  • 3. Modern networks are charged with delivering our phone calls and, soon, our television and entertainment options. Data—no matter what its form—is transmitted in the form of bits. A single bit is a 1 or a 0 (based on the binary number system of two digits versus the typically used decimal numbering system based on the digits 0–9).
  • 4. A protocol is simply an agreed upon set of rules for a particular network function. Bandwidth is generally considered to be the total amount of data (in bits) you can theoretically transmit within a given time period (typically one second). Bandwidth is expressed in bits or bytes per second in digital networking.
  • 5. Network Topologies The topology can refer to how the network actually looks Physical Topologies: The physical topology of the network refers to how the network actually looks from a bird’s-eye view—the physical cabling layout of the network itself.
  • 6. A bus topology consists of all devices connecting to a single wire—a coaxial cable. A physical bus looks like a straight line—a stick—with connections to hosts coming off in a “T” shape. In a ring topology, all devices are connected to each other in the shape of a circle—the first device feeds into the second device, which in turn feeds into the third, and so on and so on until the loop plugs back into the first device
  • 7. Star topologies can also include extended star, where the central device extends links to other hubs and switches. A token passing, or ring, topology works in a more organized, almost friendly format. In a token passing logical topology, systems can only transmit information when they hold a special data packet, known as a token. The token is passed from one device to the next, in a prescribed, circular path. Each device receives the token and examines it. If it holds a message for the device, it will open and process it.
  • 8. Network Categories Networks are typically of two types: LANs and WANs. LANs : A LAN (local area network) can be defined as a network that serves users within a small geographic footprint. WANs: A WAN(wide area network ) is nothing more than the network connecting a collection of LANs across a wide geographic area—perhaps a state, nation, or even the whole world! Aside from the distance variable, another defining characteristic of WANs is the concept of a leased line.
  • 9. The OSI Reference Model 11 CERTIFICATION OBJECTIVE 1.02 The OSI Reference Model One word bandied about quite a bit in regards to the OSI model is encapsulation. Encapsulation is the process of adding a header and a trailer to a piece of data. While each stage of communication (layer of the model) adds a header to the data, only one layer always adds a trailer. Some texts define encapsulation as occurring in all layers of the model; however, it technically only occurs at one—the Data Link layer.
  • 10. The Layers The OSI Reference Model splits the communications process into seven distinct modular layers, with each layer accomplishing a specific function independently of all other layers. The layers do rely on layers above and below to provide something to work with, but they don’t necessarily care what they receive to work with.
  • 11. The OSI REFERENCE MODEL SERIES
  • 12. LAYER DEVICES FOUND IN THE LAYER PROTOCOLS AND STANDARDS WORKING Application Firewall,Gateway and IDS SMTP,POP3,DNS,DHCP,FTP,HTTP,TFTP,SNMP Presentation N/A JPG,JPEG,TIFF,GIF,MIME Session N/A NFS,ASP,SQL,RPC Transport Firewall TCP,UDP, SPX Network Router IP,IPX, Appletalk Data link layer Bridge and Switch Ethernet,ATM,PPP,Frame Relay Physical Transceiver,Repeater, and Hub RJ45,ST/SC
  • 13. The Data Layers (Application,Presentation, and Session) Seven layers of the OSI model:- The data layers would be the top three layers of the model. At the top of the stack, we find layer 7—the Application layer The Application layer holds the protocols that allow programs to access and make use of a Network.
  • 14. For example, Microsoft Outlook—a common e-mail program—can work just fine without a network. You can open, edit, create, and delete e-mails offline just as well as you can online. However, if you wish to use the network to send and receive e-mail, you need an Application layer protocol to do this. In this example, the Application layer protocol would be SMTP.
  • 15. Continuing the e-mail analogy, imagine you are sending an e-mail from a Microsoft Outlook application to a computer running the Thunderbird e-mail application. You may have bold, italics, and any number of font settings within your e-mail. Additionally, you may attach a picture file (jpg) for the recipient to enjoy. Thunderbird might treat bold, italics, and font settings differently than does Outlook, and SMTP is only capable of sending ASCIIcode (a combination of bits representing an alphanumeric character, commonly referred to as, simply, text).
  • 16. Enter layer 6—the Presentation layer. The Presentation layer is responsible for formatting and code conversion between systems. This layer accepts the data from the Application layer and ensures it is placed in a format the end station can understand. In this case, the e-mail is in text mode, and another protocol, like MIME, translates the jpg into ASCII for transit. Once received at the far end, the recipient’s Presentation layer will perform the reverse, handing the data back to the Application layer protocol. Encryption is another function of the Presentation layer
  • 17. Layer 5—the Session layer:—is perhaps the most enigmatic and troublesome of the entire stack. This layer doesn’t necessarily do anything to the data at all. Instead, its function is to work in the background, ensuring the communications process between two systems runs smoothly. The Delivery Layers:-
  • 18. Transport layer: Transport the data from receiver to sender. The three main functions: 1. Segmentation. 2. The reliable delivery 3. Flow control
  • 19. Segmentation is simply taking a small piece of the bits making up the data as a whole. A small header is put in front of these bits. Inside the header is all sorts of information, including: The Network layer is responsible for logical addressing and routing.
  • 20. Receiving a segment from the Transport layer, the Network layer adds a header that includes a source and destination logical (network) address. This address is read by layer-3 devices (routers) and best path determinations are made to deliver the segment to its final destination
  • 21. Network Components Physical Layer Devices: Physical layer devices do nothing more than physically connect wiring together to complete a path, or change the connection from one type to another. Examples of physical layer devices include transceivers, repeaters, and hubs. Transceivers connect one media type to another, such as a fiber connection to a copper one. Repeaters are used to extend the range of a given media—whatever they take in one port, they regenerate and repeat out the other. Hubs are nothing more than multiport repeaters. Comparatively, where a repeater takes bits in one port to relay to another, hubs have several ports they accept and relay bits on.
  • 22. Data Link Layer Devices Layer-2 devices include bridges and switches. Switches and bridges split (or segment) collision domains, decrease network traffic problems, and increase effective available bandwidth to hosts. However, keep in mind they are incapable of moving traffic outside your LAN.
  • 23. Network Layer Devices Network layer devices play a unique role in your network design. These devices read the Logical network addresses on your data and make decisions about which route to send the data. This sounds very much like the switches and bridges discussed earlier, but keep in mind the layer-3 device not only knows which port to send the data out, but also the best route through outside networks to its final destination. Continuing the analogy from earlier, if the street address on your letter is akin to the physical address of your hosts, the logical address used by layer-3 devices is equivalent to the ZIP code.
  • 24. Other Devices Networks can also include a variety of other devices, such as firewalls, gateways, and proxies. A firewall is a device that typically works at layers 3 and 4, and is used to filter network traffic based upon rules the administrator configures on the device. Generally placed between your network and the Internet, firewalls work on an implicit deny principle—if you do not explicitly allow the traffic, it is blocked.
  • 25. Gateways work at all layers and are generally used to connect networks and applications of different types together. A proxy is a system that provides a specific service to a host. For example, a web proxy will make requests to the Internet for web content on behalf of a host. This increases security and performance since web traffic coming from your network appears from only one system, and hosts can access cached pages on the proxy instead of going out to find them. Generally speaking, these devices are usually placed between your network and the Internet in a special network called a DMZ
  • 26. TCP/IP TCP/IP eventually became accepted as the worldwide standard for communication due to its open architecture and, eventually, public input on its inner working. Comparing Models: TCP/IP divides networking functions into distinct layers. However, TCP/IP does so with only four layers: Application, Transport, Internet, and Network Access. All the functionality of the OSI model also occurs within the TCP/IP model; however, the layers do not line up exactly.
  • 27. OSI TO TCP/IP COMPARISION OSI MODEL TCP/IP MODEL APPLICATION LAYER APPLICATION PRESENTATION LAYER APPLICATION SESSION LAYER APPLICATION TRANSPORT LAYER TRANSPORT NETWORK LAYER INTERNET DATA LINK LAYER NETWORK ACCESS PHYSICAL LAYER NETWORK ACCESS
  • 28. DNS The Domain Name Service (DNS) may well be the most widely and universally used protocol within the Application layer. Its use is so ubiquitous within Internet communications, it’s even used by other protocols! Therefore, it is absolutely essential you understand the purpose of DNS and how it functions.
  • 29. Caching is a process used to limit the number of queries that have to go all the way to the root. Your computer has a DNS cache, and every name server and resolver along the way caches their results. This means systems can sometimes get the answer to a query very quickly, especially if others on their network have queried for the same record.
  • 30. DHCP Another well-known and oft-used Application layer protocol is Dynamic Host Configuration Protocol (DHCP). The main function of DHCP is to automatically assign IP addresses from a given pool of addresses to clients within a specific network segment. The pool of addresses a DHCP server uses is known as a scope. Servers and routers are generally configured as DHCP servers within a network.
  • 31. OTHER PROTOCOLS File Transfer Protocols File Transfer Protocol (FTP) and Trivial File Transfer Protocol (TFTP) are both found in the TCP/IP Application layer, and they both perform the same function—they transfer files from one system to another. The manner in which they perform these functions differs, as well as where you would traditionally see them in play. FTP is as much a service as it is a protocol, and is comprised of a server, an authentication method, and the protocol itself. The FTP server is simply a machine that has installed and enabled the FTP service.
  • 32. TFTP has traditionally been used to transfer Cisco IOS and configuration files between Cisco devices and a TFTP server on the network. Its small footprint, lack of extensive overhead, and general ease of use make it an easy choice. FTP provides many more features, such as the ability to list the fi les within the directory, and is a better choice for end users.
  • 33. E-mail Protocols The protocols in play to move e-mail through networks are Simple Mail Transfer Protocol (SMTP) and Post Office Protocol version 3 (POP3). IMAP4 (Internet Message Access Protocol) is another protocol that may be used to pull an e- mail message from a server. IMAP has a more sophisticated authentication structure than POP3, but is not as commonly used in modern networks.
  • 34. A URL is made up of three major components: the protocol used, the name of the server (or host) holding the resource, and the name of the page. The protocol comes first, before the //. The domain name listed, such as Cisco.com, comes next and is the host holding the resource. Anything listed after the last “/” is the name of a specific resource (page) on the host.
  • 35. Hyper Text Transport Protocol over SSL (HTTPS) uses much the same process, but adds security and encryption to the process. Secure Sockets Layer (SSL) is an encryption process that secures the communication between the client and the server hosting the site. An exchange of certificates ensures the client can safely exchange data without worrying about third-party interception. HTTPS is very common in online banking, shopping, and secured data sharing implementations. Both HTTP and HTTPS are connection-oriented protocols
  • 36. Transport LayerFunctions and Protocols The TCP/IP Transport layer performs the same functions as its namesake layer in the OSI model: segmentation, reliable end-to-end delivery of data, and flow control. Transport layer protocols include Transport Control Protocol (TCP) and User Datagram Protocol (UDP).
  • 37. TCP TCP is a connection-oriented reliable transport protocol used by applications that require error correction in delivery. On the good side, TCP provides the reliability services that applications may not have built into them.
  • 38. Every TCP communication process begins with a session establishment process known as the three- way handshake. In the first phase, the requesting system sends a synchronization request segment, known as a SYN. The SYN segment is a simple request to open a communications channel, and includes the SYN flag set, a sequence number, and port numbers (covered later in this chapter). When the server receives this request, it formulates and sends a synchronization/acknowledgment segment, known as a SYN/ACK. This segment includes the SYN and ACK flags set, an acknowledgment of the requestor’s sequence number, and a separate sequence number. Finally, in the third step, the requesting system sends an acknowledgment segment, known as an ACK. This segment includes the ACK flag set, a copy of the acknowledgment of the original sequence number, and an acknowledgment of the server’s own sequence number
  • 39. Be sure to review and understand the three major functions accomplished within TCP. You will definitely be asked questions testing your knowledge on the order transfer of data, requiring you to predict sequence numbers from a given scenario. Pay close attention to the sequence number itself, as well as the agreed-upon size.
  • 40. UDP Unlike TCP, UDP is a connectionless protocol, meaning it does not require acknowledgments and does not provide for error correction. A much simpler protocol with a smaller header, UDP simply transmits segments as quickly as possible, without regard to the recipient. UDP has the advantage of being much faster than TCP, but it does not provide many of the services that TCP’s larger header allows for. If UDP is used as a transport protocol, reliability becomes a function of the applications themselves.
  • 41. UDP is a good choice in a couple of scenarios. If the data transfer is one (or just a few) packets, then the overhead of TCP is unnecessary. Both DNS and DHCP are good examples. In another good UDP scenario, the applications themselves must be capable of tolerating lost packets, or have some means by which to ask for retransmissions. For example, streaming video and Voice over IP (VoIP) can both tolerate a packet or two lost along the way, as long as the stream doesn’t get too choppy.
  • 42. Port Numbers and Multiplexing Regardless of the transport protocol in use, there must be a method in place to let the recipient Transport layer know which application protocol the transmitted segments should be passed to. For example, imagine a server simultaneously hosting a web site and running an FTP service. A TCP connection sequence occurs and a client connects to the server, sending a request for data. How does the server know which application protocol—HTTP or FTP—is to handle the request? Additionally, consider how confusing things could get if the same address asked for both services in different streams. Port numbers are used to identify which protocol is to answer a request and provide for multiplexing multiple requests from a single source
  • 43. Port Number Application Protocol 20 FTP (Data) 21 FTP (Control) 22 SSH 23 Telnet 25 SMTP 53 DNS 67,68 DHCP 69 TFTP 80 HTTP 110 POP3 161 SNMP 443 HTTPS (SSL)
  • 44. Routed protocols can be routed across networks (or subnets). Routing protocols are used to exchange information between routers to determine best path availability. You might also see a reference to “non-routable” protocols on the exam. Non-routable protocols cannot, obviously, be moved from one subnet to another. An example is NetBEUI.
  • 45. IP AND ICMP ping is a command-line tool used to test basic network connectivity. It sends an echo request to a distant host, and if the host receives the message, it responds with an echo reply. ping is usually used to systematically test network connectivity between two devices. The IP address 127.0.0.1 (also known as localhost) is used to test the TCP/IP binding on the local network card. Next, ping the default gateway for the system.
  • 46. The responses to a ping display differently in a Cisco device, with a single character indicating the message type. An exclamation point (!) indicates a good response. Other responses include a dot (.) for timed out, and a capital “U” for destination unreachable. Also, be sure to remember to ping from local to remote in troubleshooting scenarios
  • 47. A final tool associated with ICMP is traceroute . The traceroute command displays all the IP addresses of all routers along the path to the final destination, which obviously provides a much more granular and meaningful snapshot in any troubleshooting scenario. The traceroute command on Cisco devices displays the IP address of the next hop device along the path.
  • 48. Network Access Layer Protocols The Network Access layer of TCP/IP encompasses all the functionality of both the Data Link and Physical layers of the OSI Reference Model. Encapsulation, framing, media access, and physical addressing, as well as all the physical standards associated with cabling, connectors, and encoding, all occur here. Each Network Access layer protocol defines a specific frame type in which to encapsulate a packet for delivery within the network segment. In other words, the packet must be delivered somewhere locally first, before it can make its way out of the network. If all devices on the media use the same Network Access protocol and standard, the frame type is understood and the frame is delivered to the appropriate device. The Network Access layer encompasses a wide variety of protocols and standards, including SLIP, PPP, and Ethernet
  • 49. Each network segment uses a specifi c Network Access layer standard. As the packet moves from one network segment to the next, the frame is stripped off by the router and a new frame is built for transmission on the next segment. For example, an Ethernet segment may pass over a PPP or SLIP network on the way to its destination