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)#