0% found this document useful (0 votes)
41 views39 pages

Chapter 9 vN.1

This chapter discusses establishing serial point-to-point connections between routers. It explains data link protocols like HDLC and PPP that are used for communication over point-to-point leased lines. HDLC and PPP frames, configuration, and authentication processes are described. The chapter also covers issues that can arise from mismatched encapsulation methods or IP addresses between connected routers.

Uploaded by

sujeet_hat
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views39 pages

Chapter 9 vN.1

This chapter discusses establishing serial point-to-point connections between routers. It explains data link protocols like HDLC and PPP that are used for communication over point-to-point leased lines. HDLC and PPP frames, configuration, and authentication processes are described. The chapter also covers issues that can arise from mismatched encapsulation methods or IP addresses between connected routers.

Uploaded by

sujeet_hat
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 39

Establishing Serial Point-to-Point

Connection

Chapter 9
Chapter Objectives

 Explain wide area network


 Explain data-link protocols of point-to-point
leased lines
 Explain HDLC
 Explain PPP

Chapter 9 2
Recall - I
 ACL are the statements, which are grouped together
by using a name or number
 ACLs supports the following types:
 Standard ACL

 Extended ACL

 You can use the access-list command to create an


ACL. The syntax to create an ACL is:
access-list ACL_# permit|deny conditions

Chapter 9 3
Recall - II
 Wildcard masks can be used for matching a range
of IP addresses in ACL, instead of manually
entering it
 A wildcard is similar to an inverted subnet mask
 the extended ACL filters the source and destination
IP address, IP protocols such as IP, TCP, UDP ,
ICMP etc. and protocol information such as port
numbers or message types

Chapter 9 4
Wide Area Network
 The terms and components of WAN are:
 Data Communications Equipment (DCE)

 Data Terminal Equipment (DTE)

 Customer Premises Equipment (CPE)

 Demarcation point

 Toll network

 Central Office (CO) switch

 Local loop

Chapter 9 5
Wide Area Network (WAN)

Chapter 9 6
Types of WAN
 WANs are available in four types, based on the
distance covered and the equipment used
 The four types of WAN are:
 Leased-Lines Connection

 Circuit-Switched Connection

 Packet-Switched Connections

 Cell-Switched Connections

Chapter 9 7
Selecting WAN
 While connecting a LAN to a WAN, you should be
aware of the connection requirements
 Some of the major factors that help to select a WAN
are:
 Frequency

 Transfer rates

 Traffic load

 Cost

Chapter 9 8
Data-Link Protocols
 Data-link layer protocols are commonly called the
data link protocols
 These protocols communicate between two devices
such as, routers, and bridges
 Data packets are sent over the link created by the
protocols
 Data-link protocols consist of:
 High Level Data Link Control (HDLC) protocol

 Point-to-Point protocol (PPP)

Chapter 9 9
HDLC Frames

Chapter 9 10
HDLC Frame Fields
Field Name Description
Flag Contains a single byte which indicates
the beginning or end of a frame
Address Contains the broadcast address which
is a binary sequence
Control Contains a single byte of binary
sequence. This calls for transmission
of user data in a non-sequence frame
Proprietary Contains information about the way to
carry multiple protocols on a single link
Data Contains encapsulated data. The
range if this field is variable
FCS Contains 2 to 4 bytes. Improves error
detection

Chapter 9 11
Types of HDLC Frames

Chapter 9 12
Configuring HDLC
 The encapsulation on a Cisco synchronous serial
interface is HDLC
 HDLC needs to be configured if the data link
protocol is change to some other protocol, and
HDLC has to be set back to default
 To configure the HDLC protocol to be set as default,
use the router CLI

Chapter 9 13
Output of HDLC Verification

Chapter 9 14
PPP
 The PPP allows computers to connect to the
Internet using a dial-up telephone line and ISDN
 PPP was originally designed to transport IP traffic
over point-to-point links
 PPP can transfer data over synchronous and
asynchronous links
 It supports a transfer of data over different network
protocols

Chapter 9 15
PPP Frame
 The frame format of PPP is similar to the HDLC
Frame
 The only difference is that, PPP includes a Protocol
field
 The PPP frame is made up of six fields as shown in
Figure

Chapter 9 16
PPP Stack

Chapter 9 17
Link Control Protocol (LCP)
 The PPP Link Control Protocol can establish,
configure, maintain and terminate point-to-point
connection between the devices
 LCP uses following three classes of frames for
establishing, configuring, maintaining and
terminating connection between the devices:
 Link Configuration frames

 Link Maintenance frames

 Link Termination frames

Chapter 9 18
Communication Between Devices

Chapter 9 19
LCP Configuration Options
 The LCP configuration options are:
 Authentication

 Compression

 Error-detection

 Multilink

 PPP callback

Chapter 9 20
PPP Session Establishment
 Point-to-Point protocol is used to transmit data
packets over serial point-to-point links
 The three phases of session establishment are
given as follows:
 Link establishment phase

 Authentication phase

 Network layer protocol phase

Chapter 9 21
PPP Authentication - I
 Point-to-Point protocol supports authentication of
devices
 Once a link is established between nodes the
process of authentication starts
 PPP supports two authentication protocols
Password Authentication Protocol (PAP) and
Challenge Handshake Authentication Protocol
(CHAP)

Chapter 9 22
PPP Authentication - II

Chapter 9 23
CHAP Authentication

Chapter 9 24
Configuring PPP
 Cisco allows you to configure the PPP to be used on
WAN interface
 You can configure the PPP using encapsulation and
interface commands in the configuration mode
 The syntax of the command to configure PPP is:
encapsulation ppp

Chapter 9 25
Configuring PPP Authentication
 Once the serial interface is configured to support the
PPP encapsulation, you must configure PPP
authentication on the routers
 Before authentication process, it is required to set a
hostname for the router if not already assigned
 Also, you must set username and password for the
remote router to which the router is connected
 After the hostname, username and password is set ,
select the appropriate authentication for the router
such as PAP or CHAP

Chapter 9 26
Verifying PPP Encapsulation
 PPP does not begin authentication until the Link
Control Protocol (LCP) process is completed and
open
 PPP authentication needs to be set up on both ends
for the authentication process to work
 Using commands, such as show and debug you can
solve problems for PPP

Chapter 9 27
Mismatched WAN Encapsulations
 Routers can communicate in a network only if their
encapsulation methods are same
 If you connect two routers in the network using
point-to-point link but the encapsulation methods are
different on each router, the connection between the
routers is not established
 In this case, if one router sends request to the other,
it will never receive a response from that router

Chapter 9 28
Mismatched IP Addresses
 Routers configured with same WAN encapsulation
method such as PPP, HDLC or Frame Relay
connected in different subnets will have connection
established between them
 However, the data packets do not transfer between
the routers. It becomes very difficult to identify this
problem, as the link appears to be functioning properly
 To resolve the problem, you can use the show
running-config and show interface command on each
router

Chapter 9 29
Case Study
The Blue Diamond steel company, Gujarat branch has
all Cisco routers connected in the network. The router
of the Business Development department is
damaged. The computers in this department cannot
exchange data with the other departments in the
network. The network administrator Robert replaces
the damaged router with a new non-Cisco router.

Chapter 9 30
Problem

The Business Development department still cannot


have transaction with the other departments

Chapter 9 31
Suggested Solution
Cisco routers by default use HDLC as the serial
encapsulation method on Cisco serial links. If you
connect a non-Cisco router to a Cisco router in the
network, data transfer does not occur between them.
To enable communication between the routers,
implement the Point-to-Point encapsulation method.
You must configure PPP on all the serial interfaces of
both the routers

Chapter 9 32
Comparing HDLC and PPP - I

HDLC PPP
Fails to provide a method of detecting Uses FCS to detect errors while
errors transmitting data
Consist of two types; ISO HDLC and Based on ISO's HDLC frame format
Cisco HDLC
Supports synchronous and Supports synchronous, asynchronous,
asynchronous links High-Speed Serial Interface (HSSI),
and ISDN links

Chapter 9 33
Comparing HDLC and PPP - II

Used to perform encapsulation of data Used to transfer data. PPP cannot


without using other encapsulation encapsulate data without the help of
protocols other encapsulation protocols, such
as, HDLC and Synchronous Data Link
Control (SDLC)

Fails to provide authentication Provides authentication using


between two nodes or devices protocols, such as, PPP Authentication
Protocol (PAP), and Challenge
Handshake Authentication Protocol
(CHAP)

Chapter 9 34
Comparing HDLC and PPP - III

Provides a frame format that contains Provides a frame format that contains
a proprietary field. The other six fields a protocol field. The other six fields are
are similar to the PPP frame field. similar to the HDLC frame field
Note, the ISO HDLC frame contains
only six fields, as the proprietary field
is not present
Fails to check for quality of a link Uses Link Control Protocol (LCP) to
established the check for quality of an established
link

Chapter 9 35
Summary - I
 WAN is a network that spans a large geographical
area
 Leased lines are a transmission line, which is provided
by telephone companies to a particular customer
 Frequency, usage, traffic and cost are factors that
need to considered when selecting a WAN connection
 Data-Link layer protocols are commonly called the
data link protocols, which communicate between two
devices

Chapter 9 36
Summary - II
 Configuring HDLC only needs to be done only if the data
link protocol is change to some other protocol
 The two types of HDLC:
 ISO HDLC

 Cisco HDLC

 The Cisco HDLC contains proprietary field, which defines


carrying a multiple protocols across a link
 PPP enables computers to connect to the internet using a
dial-up telephone line and ISDN
 Configuring the PPP is to specify that PPP is to be used
on the WAN

Chapter 9 37
Summary - III
 Features of PPP are:
 Authentication

 Link test

 Error-detection

 Compression

 Components of PPP are:


 HDLC

 LCP

 NCPs

 Authentication protocols supported by PPP are:


 PAP

 CHAP

Chapter 9 38
Summary - IV
 By default the authentication is not mandatory but
must be specified to
 PAP is a insecure protocol because the username
and password is sent in plain text
 Using CHAP protocol the server sends challenge
messages to the node. The node calculates and
sends the results back to the server

Chapter 9 39

You might also like