IPV6CP (IPv6 Control Protocol)
用途:
     溝通並設定 PPPoE 通道上,兩端裝置的 link-local IPv6 address。
程序:
1. 首先建立 PPPoE 通道,兩端裝置透過 PPPoE 建立一個 session。完成底下四個步驟後(PADI/PADO/PADR/PADS),PPPoE client 會從 PPPoE server 取得一個 session ID。
      client       server
 (1)   PADI ----->
 (2)        <----- PADO
 (3)   PADR ----->
 (4)        <----- PADS
 說明:
      PADI (PPPoE Active Discovery Initiation) 是 broadcast
      PADO (PPPoE Active Discovery Offer)
      PADR (PPPoE Active Discovery Request)
      PADS (PPPoE Active Discovery Session-confirmation)
2. 再透過 LCP 來協議雙方的 MRU, magic number 與認證協定(PAP, CHAP)等資訊。
說明:
     LCP  (Link Control Protocol)
     MRU  (Maximum Receive Unit)
     PAP  (Password Authentication Protocol)
     CHAP (Challenge Handshake Authentication Protocol)
3. PPPoE client 用協議後的認證協定(PAP, CHAP)與 PPPoE server 進行認證。
4. 雙方使用 IPV6CP,協議 link-local IPv6 address 的 interface identifier。雙方各自產生 64-bit interface identifier 傳給對方互相確認,最後將 link-local prefix(fe80) 加上協議後的 64-bit interface identifier 各自產生自己的 link-local IPv6 address。
說明:
     64-bit interface identifier 可以用底下三種方式產生
     a. EUI-48 or EUI-64
     b. 其他具有唯一性的來源 ex: serial number
     c. 隨機號碼 (random number)
 
沒有留言:
張貼留言