laporan ppp - individu 2.docx
TRANSCRIPT
-
7/30/2019 laporan PPP - individu 2.docx
1/8
SMKN 1 CIMAHINama : Mochamad Arsyad P
Kelas : XII TKJ B
No lap:
PPP(Point to point)
autentifikasi PAP dan
CHAP
Diagnosa WAN
Instruktur :
- Dodi Permana, Spd- Rudy Haryadi, ST
Tanggal : 6/11/2012
Paraf :
I. TujuanAgar siswa dapat memahami konfigurasi dan aplikasi dari protokol PPP dengan autentifikasi
PAP dan CHAP
II. PendahuluanSecara default semua router cisco menggunakan enkapsulasi HDLC untuk interface serialnya.
Meskipun HDLC merupakan enkapsulasi yang standard namun pada kenyataannya setiap
vendor mengeluarkan HDLC versi mereka sendiri. Akibatnya, antara router yang berbeda
merk akan bermasalah jika komunikasi serialnya menggunakan enkapsulasi HDLC.Solusinya
adalah dengan menggunakan enkapsulasi PPP (point to point protocol). Sebenarnya PPP
juga merupakan turunan dari HDLC namun PPP jauh lebih baik karena merupakan standard
umum yang dipakai oleh semua vendor. Selain itu PPP juga dilengkapi dengan authentication
dan PPP juga tidak bergantung pada salah satu protokol saja (independent protocol). Karena
PPP merupakan independent protocol maka PPP dapat berjalan di protokol IP, IPX dan
protokol layer tiga lainnya.Oleh karena itu, untuk menghubungkan router Cisco dan Non
Cisco anda harus menggunakan enkapsulasi PPP.
- Autentifikasi PAPAutentikasi terkadang diperlukan untuk koneksi dengan PPP, sehingga tidak sembarang
routerbisa bergabung dengan router yang lain kecuali router tersebut terautentikasi oleh
router yang lain. Salah satu autentikasi sederhana pada PPP adalah PAP. Kekurangannyaadalah password pada autentikasi PAP dikirim dalam bentuk clear text, sehingga bisa
disadap oleh pihak ketiga.
- Autentifikasi CHAPKelebihan autentikasi dengan CHAP adalah bahwa password dikirim dalam bentuk yang
telah terenkripsi dengan MD5. Sehingga pihak ketiga tidak dapat membaca password yang
tekirim kecuali yang telah terdaftar.
Konfigurasi chap :
Konfigurasi kedua router dengan username dan password Username yang dipakai adalah hostname dari router remote Password yang dikonfigurasikan haruslah klop sama
III. Alat dan bahan- PC/laptop- Software packet tracert- topologi
IV. Topologi
-
7/30/2019 laporan PPP - individu 2.docx
2/8
V. Lankah kerja1. Gambar topologi
2. Konfigurasi kedua router di atas dengan benar sampai kedua PC bisa saling koneksi.
3. konfigurasi masing router sesuai dengan authentikasi yang digunakan seperti berikut
PAP
Router 1
Router>en
Router#show inter
Router#show interfaces
FastEthernet0/0 is up, line protocol is up (connected)
Hardware is Lance, address is 0060.5c8b.4678 (bia 0060.5c8b.4678)
Internet address is 172.16.16.16/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
-
7/30/2019 laporan PPP - individu 2.docx
3/8
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 1 bits/sec, 0 packets/sec
5 minute output rate 46 bits/sec, 0 packets/sec
5 packets input, 140 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
0 input packets with dribble condition detected
60 packets output, 7200 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
FastEthernet1/0 is administratively down, line protocol is down (disabled)
Hardware is Lance, address is 0090.2b21.35a8 (bia 0090.2b21.35a8)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00,
Last input 00:00:08, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Router#en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se2/0
-
7/30/2019 laporan PPP - individu 2.docx
4/8
Router(config-if)#en
Router(config-if)#encapsulation ppp
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to down
Router(config-if)#show int se2/0
^
% Invalid input detected at '^' marker.
Router(config-if)#show inter
Router(config-if)#ex
Router(config)#ex
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#show inter
Router#show interfaces se2/0
Serial2/0 is up, line protocol is down (disabled)
Hardware is HD64570
Internet address is 172.16.20.1/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Closed
Closed: LEXCP, BRIDGECP, IPCP, CCP, CDPCP, LLC2, BACP
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
-
7/30/2019 laporan PPP - individu 2.docx
5/8
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 33 bits/sec, 0 packets/sec
5 minute output rate 13 bits/sec, 0 packets/sec
62 packets input, 6520 bytes, 0 no buffer
Received 56 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
57 packets output, 2844 bytes, 0 underruns
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#username router2 password router
Router(config)#no userneme
^
% Invalid input detected at '^' marker.
Router(config)#username router1 passworde router
^
% Invalid input detected at '^' marker.
Router(config)#username router2 password router
Router(config)#username router1 password router
Router(config)#no username router2 password router
Router(config)#username router1 password router
-
7/30/2019 laporan PPP - individu 2.docx
6/8
Router(config)#interface se2/0
Router(config-if)#ppp authentication pap
Router(config-if)#ppp pap sent-username router2 password router
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
Router 2
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#username router2 password router
Router(config)#int se2/0
Router(config-if)#ppp authentication pap
Must set encapsulation to PPP before using PPP subcommands
Router(config-if)#en
Router(config-if)#encapsulation ppp
Router(config-if)#ppp aut
Router(config-if)#ppp authentication pap
Router(config-if)#ppp pap sent-username router1 password router
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
CHAP
Router 2
Router>en
Router#config t
-
7/30/2019 laporan PPP - individu 2.docx
7/8
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router2
router2(config)#username router3 password router
router2(config)#int se3/0
router2(config-if)#encapsulation ppp
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to down
router2(config-if)#ppp authentication chap
router2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up
Router 3
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname router3
router3(config)#username router2 password router
router3(config)#int se2/0
router3(config-if)#encapsulation ppp
router3(config-if)#pp
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
pp
^
% Invalid input detected at '^' marker.
router3(config-if)#ppp authentication chap
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to down
-
7/30/2019 laporan PPP - individu 2.docx
8/8
router3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
VI. Hasil kerja1. kirim packet dari PC0 ke PC1 jika successful, konfigurasi berhasil
2. kirim packet dari PC1 ke PC2 jika successful, konfigurasi berhasil
VII. KesimpulanAgar siswa dapat memahami konfigurasi dan aplikasi dari protokol PPP dengan autentifikasi
PAP dan CHAP