Lab 30 Cisco - PPP (Point To Point Protocol)
Assalamu'alaikum
HDLC (High-level Data Link Control)
Router1#conf t Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#int s2/0 Router1(config-if)#ip addr 12.12.12.1 255.255.255.0 Router1(config-if)#no sh Router1#sh int s2/0 Serial2/0 is up, line protocol is up (connected) Hardware is HD64570 Internet address is 12.12.12.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) |
PPP (Point To Point Protocol)
Konfigurasi PPP
Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R1 R1(config)#username R2 password idn R1(config)#int s2/0 R1(config-if)#encapsulation ppp R1(config-if)#ppp authentication chap |
Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname R2 R2(config)#username R1 password idn R2(config)#int s2/0 R2(config-if)#encapsulation ppp R2(config-if)#ppp authentication chap |
R1#debug ppp authentication PPP authentication debugging is on |
R1#conf t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#int s2/0 R1(config-if)#no sh |
R2#conf t Enter configuration commands, one per line. End with CNTL/Z. R2(config)#int s2/0 R2(config-if)#no sh |
R1(config-if)# %LINK-5-CHANGED: Interface Serial2/0, changed state to up Serial2/0 IPCP: I CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: O CONFACK [Closed] id 1 len 10 Serial2/0 IPCP: I CONFREQ [REQsent] id 1 len 10 Serial2/0 IPCP: O CONFACK [REQsent] id 1 len 10 Serial2/0 IPCP: O CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: I CONFACK [Closed] id 1 len 10 Serial2/0 IPCP: O CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: I CONFACK [REQsent] id 1 len 10 Serial2/0 IPCP: I CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: O CONFACK [Closed] id 1 len 10 Serial2/0 IPCP: I CONFREQ [REQsent] id 1 len 10 Serial2/0 IPCP: O CONFACK [REQsent] id 1 len 10 %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up |
Jika kita mengubah nama hostname pada salah satu router, maka yang terjadi adalah ppp authentikasi pada router lawan akan terus memuat ulang authentikasi yang telah kita konfigurasi (username R1 password idn). Dan hal ini tidak akan berhenti selama hostname tersebut belum diganti kembali. Pertama, kita coba ganti hostname pada router 1.
R1(config)#hostname R4 R4(config)# |
R4(config-if)#sh R4(config-if)# %LINK-5-CHANGED: Interface Serial2/0, changed state to administratively down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to down R4(config-if)#no sh |
R4(config-if)# %LINK-5-CHANGED: Interface Serial2/0, changed state to up Serial2/0 IPCP: O CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: I CONFACK [Closed] id 1 len 10 Serial2/0 IPCP: O CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: I CONFNACK [REQsent] id 1 len 10 Serial2/0 IPCP: I CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: O CONFACK [Closed] id 1 len 10 Serial2/0 IPCP: O CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: I CONFACK [Closed] id 1 len 10 Serial2/0 IPCP: O CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: I CONFNACK [REQsent] id 1 len 10 Serial2/0 IPCP: I CONFREQ [Closed] id 1 len 10 Serial2/0 IPCP: O CONFACK [Closed] id 1 len 10 |