0% found this document useful (0 votes)
601 views5 pages

Router Serial Point To Point Connection HDLC, PPP With PAP and CHAP

- HDLC is a WAN protocol that encapsulates data at the data link layer for transmission. It was developed by IBM and standardized. - PPP is an enhanced version of HDLC that supports additional features like authentication using PAP and CHAP. - The document outlines configuring a WAN between two routers using serial point-to-point links with PPP encapsulation and PAP/CHAP authentication enabled for security.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
601 views5 pages

Router Serial Point To Point Connection HDLC, PPP With PAP and CHAP

- HDLC is a WAN protocol that encapsulates data at the data link layer for transmission. It was developed by IBM and standardized. - PPP is an enhanced version of HDLC that supports additional features like authentication using PAP and CHAP. - The document outlines configuring a WAN between two routers using serial point-to-point links with PPP encapsulation and PAP/CHAP authentication enabled for security.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Router Serial Point to Point Connection HDLC, PPP with PAP

and CHAP
HDLC (High-level Data Link Control) is a WAN protocol intended to perform the
encapsulation of the data in the data link layer. The encapsulation of the data means to
change the format of the of the data. HDLC protocol is developed by IBM and submitted to
the ANSI and ISO for the acceptance as the international standards.
HDLC has two versions. One of them is the standard one and the other is the Cisco
proprietary version. The frame of standard version and Cisco proprietary version is similar.
Only in Cisco proprietary HDLC, there is one additional proprietary field. Below, you can
check both of the frames:

Cisco HDLC is the default enabled WAN protocol of Cisco for Point-to-Point WAN links.
And we can use Cisco HDLC only between Cisco devices. Other vendor devices cannot use
Cisco HDLC.
Lastly, there is no Authentication mechanism in HDLC. So, security is a concern for this
WAN protocol.
PPP (Point to Point Protocol) is also a WAN Encapsulation Protocol that is based on
HDLC but we can say that it is the enhanced version of HDLC. There are many additional
features in PPP if we compare with HDLC.
By default HDLC encapsulation is works in CISCO devices. In case it is not there
Then by simple command we can configure:
Router(Config)# int s0/0
#encapsulation HDLC

Addressing Table:

Device Interface IP Address Subnet Mask


PC1 NIC 192.168.1.5 255.255.255.0
PC2 NIC 192.168.2.5 255.255.255.0
Router1 Fast Ethernet 0/1 NIC 192.168.1.1 255.255.255.0
Router1 Serial 0/0 NIC 192.168.3.1 255.255.255.0
Router2 Fast Ethernet 0/1 NIC 192.168.2.1 255.255.255.0
Router2 Serial 0/0 NIC 192.168.3.2 255.255.255.0

Objectives:

1. Design a WAN with 2 Routers


2. Configure the Routers
3. Apply PPP (PAP and CHAP ) authentication on it.
4. Verify Connection.

Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fa0/0
Router(config-if)#ip add 192.168.1.1 255.255.255.0
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to


up

Router(config-if)#interface s0/0
Router(config-if)#ip add 192.168.3.1 255.255.255.0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0, changed state to down


Router(config-if)#clock rate 64000
Router(config-if)#
Router(config-if)#
Router(config-if)#clock rate 64000
Router(config-if)#exit
Router(config)#
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.2
Router(config)#
Router(config)#
%LINK-5-CHANGED: Interface Serial0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up

Router con0 is now available

Press RETURN to get started.


Router>
Router>show ip interface s0/0
Serial0/0 is up, line protocol is up (connected)
Internet address is 192.168.3.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is disabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP Fast switching turbo vector
IP multicast fast switching is disabled
IP multicast distributed fast switching is disabled
Router Discovery is disabled
IP output packet accounting is disabled

Router>show interface s0/0


Serial0/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 192.168.3.1/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 96 kilobits/sec
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 1 bits/sec, 0 packets/sec
1 packets input, 28 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
2 packets output, 56 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up

Router>enable
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface s0/0
Router(config-if)#encapsulation ppp
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down

Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to
up

You might also like