Wide Area Network (WAN) Note

WAN မွာ သံုးတဲ့ Protocol  3 မ်ိဳးရွိတယ္ (Frame Type) -

  1. HDLC (High Level Data Link Control)
  2. PPP (Point to Point Protocol)
  3.  Frame Relay (Packet Switching/Share Bandwidth)

WAN Protocol ေတြက Data Link Layer နဲ႔ physical Layer မွာပဲအလုပ္လုပ္တယ္
HDLC နဲ႔ PPP က Point to Point Protocol (Deticate Line)  ျဖစ္ၿပီး၊
 WAN မွာ Serial Cable ကိုပဲသံုးၿပီး Serial Cable မွာ DTE Side နဲ႔ DCE  Side ပါတယ္
DTE (Data Terminal Equiment) –Customer Side, DCE (Data  Circuit-Terminating Equiment)-ISP Side
(DCE ဘက္မွာ Clock Rate ထည့္ရမယ္)


HDLC (High-Level Data-link Control)
HDLC  က Cisco Router ေတြမွာပဲသံုးလို႕ရၿပီး အျခား Vendors ေတြမွာသံုးလို႕မရ Cisco Router ေတြမွာ Default ပါ
Router ေတြမွာ ကိုယ္တပ္ထားတဲ့ Serial ရဲ႕ အမ်ိဳးအစားကိုၾကည့္ခ်င္ရင္ သံုးတဲ့ Command က
R2#show controllers serial 0/0 (or) R2#show interfaces serial 0/0



*HDLC ခ်ိတ္မယ္ဆို 2 ဖက္လံုး HDLC Frame Type တူမွရမယ္
*Frame Type ေျပာင္းခ်င္ရင္သံုးတဲ့ Command က R1(config-if)#encapsulation  hdlc or ppp or frame-relay 
PPP (Point-to-Point Protocol)
PPP က Open Standard ျဖစ္ေသာေၾကာင့္ အမ်ိဳးအစားမတူတဲ့ Router ေတြကိုခ်ိတ္လို႔ရတယ္ PPP protocol က Data Link layer (Layer 2) မွာ အလုပ္လုပ္ျပီးေတာ့ Data Link Layer ကို NCP နဲ႔ LCP ဆိုျပီး ခြဲထားသည္။
LCP (Link Control Protocol)
 LCP က Point to Point  ခ်ိတ္ဆက္ထားတဲ့  Router 2 လံုးၾကားမွာရွိတဲ့ link up ျဖစ္လားမျဖစ္လားဆိုတာ စစ္ေဆးေပးျပီးေတာ့၊ အဲ့ Router ေတြၾကားမွာ Authenticaton enable လုပ္ထားခဲ့မယ္ဆိုရင္လဲ Authentication ကို ဂရုစိုက္ေပးမွာျဖစ္ပါတယ္။
NCP (Network Control Protocol)
NCP ကေတာ့ PPP Link ေပၚမွာ IPv4, IPv6, IPX, CDP, Apple Talk အစရွိတဲ့ protocol ေတြျဖတ္သြားလို႔ရေအာင္ လုပ္ေဆာင္ေပးတယ္


PPP Authenication သံုးမယ္ဆို ေရြးခ်ယ္စရာ 2 မ်ိဳးရွိပါသည္။

  • PAP(Password Authentication Protocol): This is plaintext! It will send the username and password over the PPP link and the router on the other side will check it.
  • CHAP (Challenge Authentication Protocol): Instead of sending the password in plaintext we are going to send a "challenge" which is a hash of the password. This is far more secure 

PAP (Password Authentication Protocol)
PAP မွာ PAP Server နဲ႔ PAP Client ဆိုၿပီးရွိတယ္ PAP  server ထဲမွာ PAP client ေတြ ရဲ႕ Username နဲ႔ Password ေတြကိုသိမ္း
ဆည္းတယ္၊ PAP Client ေတြကေတာ့ Username နဲ႕ Password ကို PAP server ကိုပို႕တယ္။ Two Way Handshake နဲ႔ အလုပ္လုပ္
ျပီးေတာ့Clear text နဲ႕သြားတယ္
ျပီးေတာ့Clear text နဲ႕သြားတယ္

PAP Configure လုပ္ပံု-
CHAP (Challenge Handshake Authentication Protocol)
CHAP က PAP ထက္ ပိုျပီး လံုျခံဳမွဳရွိသည္။ 3 way handshake နဲ႔အလုပ္လုပ္ျပီးေတာ့ Password ကို CHAP မွာ Router တိုင္း Password တစ္မ်ိဳးပဲထားရမယ္။ ဥပမာ R1 နဲ႔ R2 ဆိုျပီးေတာ့ Router 2 လံုးရွိမယ္ဆိုရင္  R1 မွာ username ကို R2 လို႕ထည့္၊  R2 မွာ username ကို R1 လို႕ထည့္ရမွာျဖစ္ျပီး ၊ Password ကေတာ့ ၂ ဖက္လံုးမွာ အတူတူပဲ ထည့္ရမွာ ျဖစ္ပါတယ္။ password မတူရင္မရပါဘူး ဒီအေၾကာင္းကို CCNA Exam မွာ တစ္ပုဒ္ပါသြားပါတယ္။

Frame Relay
WAN Technology မွာ Frame Relay သည္အသံုးအမ်ားဆံုးျဖစ္သည္။Network ၾကီးလာတာနဲ႕ Decticated Line ေတြမ်ားလာမယ္၊ Decticated Line ေတြကို ေလ်ာ့ခ်ဖို႔ Frame Relay ကိုသံုးသည္။Frame Relay သံုးမယ္ဆို Frame Relay Switch လိုမယ္။ Frame Relay သည္ Point to Point လဲသံုးႏိုင္သလို Multipoint ေကာ Mesh Typology ေကာရသည္။ 
Frame Relay သည္ Data Link Layer မွာအလုပ္လုပ္သည္။ Layer 2 ေပၚမွာ MAC Adress နဲ႔ အလုပ္လုပ္တာ မဟုတ္ပဲVirtual Circuit ေပၚမွာ DLCI (Data Link Connection Identifer) နဲ႕အလုပ္လုပ္တယ္။ Virtual Circuit ေတြနဲ႕သံုးတယ္ PVC (Permament Virtual Circuit) လို႕လဲေခၚသည္။ Virtual Circuit တစ္ခုစီတုိင္းမွာ DLCI Number ရွိသည္။ Virtual Circuit မွာသြားမဲ့ Signally Method က LMI နဲ႕
LMI (Local Mangement Interface)
LMI ရဲ႕အဓိကလုပ္ေဆာင္ခ်က္ ၂ ခ်က္ရွိသည္။

  • It’s a keepalive mechanism.
  • It tells us if the PVC is active or inactive.
  • It also gives us a DLCI (Data Link Connection Identifier). I'll get back to this in a bit

LMI type 3 မ်ိဳးရွိသည္

  • Cisco
  • ANSI T l.617 Annex D
  • ITU-T Q.933 Annex A

*Type 3 မ်ိဳးထဲက ဘယ္Type ကိုသံုးသံုး Device 2 ခုၾကားမွာ LMI type တူမွရမယ္။



No comments:

Post a Comment