0% found this document useful (0 votes)
12 views4 pages

Kiran Sai Srinivas - Lab-6

This document outlines a lab assignment for configuring routers using HDLC and PPP protocols with PAP and CHAP authentication. It includes an addressing table for devices and detailed router configuration commands for setting up interfaces and enabling protocols. The assignment is part of a Computer Networks course, supervised by Professor Ranjith Kumar Bannala.
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)
12 views4 pages

Kiran Sai Srinivas - Lab-6

This document outlines a lab assignment for configuring routers using HDLC and PPP protocols with PAP and CHAP authentication. It includes an addressing table for devices and detailed router configuration commands for setting up interfaces and enabling protocols. The assignment is part of a Computer Networks course, supervised by Professor Ranjith Kumar Bannala.
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

LAB ASSIGNMENT-6

NAME:kiran sai Srinivas patnaikuni


REG NO:22BCE8663
SLOT:L47+L48
PROF:Ranjith kumar bannala
Course:Computer networks(CSE3003)
Router Serial Point-to-Point Connection HDLC, PPP with
PAP and CHAP

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
Router Configuration :
Router> enable
Router# configure terminal
Router(config)# interface gigabitethernet 0/1
Router(config-if)# ip address 192.168.1.2 255.255.255.0
Router(config)# ip route 192.168.1.0 255.255.0.0
192.168.2.2 Router(config-if)# no shutdown

Router#show interfaces serial 0/0/0


Router#configure terminal
Router(config)#interface serial 0/0/0 Router(config-if)#encapsulation ppp
Router(config)#exit
Router#show interfaces serial 0/0/0

Router#configure terminal
Router(config)#interface serial 0/0/0
Router(config-if)#encapsulation hdlc
Router(config-if)#shutdown
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#exit
Router#show interfaces serial 0/0/0

Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#username R2 password vinita
R1(config)#interface serial 0/0/0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication chap
R1(config-if)#exit
R1(config)#

Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#username R1 password vinita
R2(config)#interface serial 0/0/0
R2(config-if)#encapsulation ppp
R2(config-if)#ppp authentication chap
R2(config-if)#exit
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed
state to up
R2(config)#

You might also like