Sie sind auf Seite 1von 39

Establishing Serial Point-to-Point

Connection

Chapter 9

Release 16/07/2009 Jetking Infotrain Ltd.


Chapter Objectives

 Explain wide area network


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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
Wide Area Network (WAN)

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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)

Jetking
Release Infotrain Ltd.
16/07/2009
HDLC Frames

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
Types of HDLC Frames

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
Output of HDLC Verification

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
PPP Stack

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
Communication Between Devices

Jetking
Release Infotrain Ltd.
16/07/2009
LCP Configuration Options
 The LCP configuration options are:
 Authentication

 Compression

 Error-detection

 Multilink

 PPP callback

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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)

Jetking
Release Infotrain Ltd.
16/07/2009
PPP Authentication - II

Jetking
Release Infotrain Ltd.
16/07/2009
CHAP Authentication

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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.

Jetking
Release Infotrain Ltd.
16/07/2009
Problem

The Business Development department still cannot


have transaction with the other departments

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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)

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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
Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009
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

Jetking
Release Infotrain Ltd.
16/07/2009

Das könnte Ihnen auch gefallen