PPP adalah salah satu dari WAN protocol selain dari HDLC, Frame-Relay, X-25, ATM, dll (yang kita bahas hanya PPP dan Frame-Relay…karena ini yang banyak dipakai)…Plus MPLS (Multi Protocol Layer Switching)

protocol PPP bisa digunakan untuk selain IP (contohnya AppleTalk dan IPX)

bisa diimplementasikan di Serial, Fiber Optic, ataupun di UTP (contohnya FastEthernet)…biasanya di Leased Line

(klo di Ethernet namanya PPPoE alias PPP over Ethernet)

PPP punya 3 main component

  1. HDLC (iya…dia punya HDLC)
  2. LCP (Link Control Protocol)…untuk establish, test, and configure connection
  3. NCP (Network Control Protocol)…untuk konek ke different network protocol (IPX/AppleTalk)

Klo kita liat…PPP masuk layer 2 dan 3 yah…

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

Tipe Network Protocol

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

IPCP = Internet Protocol (IP) Control Protocol

When the NCP process is complete, the link goes into the open state and LCP takes over again

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

PPP Authentication

  • Password Authentication Protocol


    ———————————————————————————————-


    kelemahannya:

    • send in plain text
    • no protection in trial-and error attack

    kenapa masih digunakan ??

    • klo kita konek ke router yang ga support CHAP (router lama)
    • klo CHAP kita incompatible with other vendor that support CHAP
  • Challenge Handshake Authentication Protocol


isi dari challenge message nya adalah = user dan passwordnya R1 (jadi R3 expect R1 kirim user dan passwordnya R3)

———————————————————————————————-


———————————————————————————————-


CHAP pake MD5…jadi terenkripsi

Dan juga metode untuk trial-and-error nya berbeda (ga dijelasin, ga tau, dan ga pengen nyari…hahaha)

untuk konfigurasi bisa dilihat disini

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

“Selingan” nih…wkwkwk

  • Flag: nandain start dan stop frame
  • Address: pake 1111 1111 = 255 alias broadcast, jgn tanya gw kenapa PPP pake broadcast
  • Control: MAC Address (0xFF)…sama…jgn tanya gw (trus lo taunya apa ?!?!? copas ??? T____T )
  • Protocol: tipe Network Protocol (liat diatas)
  • Data: isinya data dari protocol Networknya itu…maksimum 1500 bytes
  • FCS: Frame Check Sequence…buat ngecek frame yang dikirim error ga

  • Code: tipe LCP Packet

  • Identifier: digunakan untuk match packet request dan replies
  • Length: disini terdapat nilai dari jumlah seluruh byte LCP packet
  • Data: data dari protocol network