Config Dynamic Routing RIP OSFP EIGRP

Dynamic Routing มีด้วยกัน 3 วิธี (CCNA)
1.RIP (Routing Internet Protocol)
2.OSPF (Open Shortest Path First)
3.EIGRP (Enhance Interior Gateway Routing Protocol)

- วิธีการ configure RIP สามารถทำได้โดย
R1(config)#router rip
R1(config-router)#network (network ที่อยู่ติดกับตัวเราเตอร์)

---------------------------------------
วิธีการส่งข้อมูลบนระบบเครือข่าย มีด้วยกัน 3 แบบ คือ
1.Unicast ระบุผู้รับปลายทาง
2.Multicast ระบุกลุ่มผู้รับปลายทาง
3.Broadcast ไม่ระบุผู้รับปลายทาง

------------------------------------------------
- RIP รองรับการเชื่อมต่อได้จำกัด 15 hops
- RIP จะพิจารณา hop ซึ่งเป็น Metrix ในการเลือกส่ง packet เส้นทางไหน hop น้อยกว่า
จะเลือกไปเส้นทางนั้น
- RIP มี 2 version คือ version1, version2
- ข้อแตกต่างระหว่าง v1, v2
V1.ใช้ broadcast address (255.255.255.255) update routing table
V2.ใช้ multicast address (224.0.0.9) update routing table
V1. ไม่รองรับ VLSM แต่ V2 สามารถรองรับ classless vlsm ได้
V1 ไม่รองรับการทำ RIP Authentication แต่ V2 รองรับ

---------------------------------------------------------
OSPF (Open Shortest Path First)
วิธีการ configure ospf ทำได้โดย (ทำที่ Global Configuration Mode)
#router ospf (process id)
#network (เครือข่ายที่ติดกับเราเตอร์) (wildcard mask) (area id)
*** wildcard mask เป็นตัวเลขที่ invert กับ subnet mask
- ospf จะดูจากค่า interface cost เป็นค่า matric เส้นทางไหนมีค่าน้อย traffic จะถูกส่งไปเส้นทางนั้น โดยที่มีสูตรคำนวนคือ 10^8/Bandwidth
- ค่า AD = 110
- ospf ไม่จำกัด hop
- ใช้ area เพื่อควบคุมขนาดของเครือข่าย
- รองรับการเชื่อมของเครือข่ายแบบ VLSM

------------------------------
EIGRP (Enhanced Interior Gateway Routing Protocol)
เป็น dynamic routing protocol ที่ถูกคิดค้นโดยบริษัท Cisco และเป็น routing protocol ที่ดีที่สุด ณ ปัจจุบัน
- วิธีการ configure EIGRP ทำที่ Global Configuration Mode
#conf t
#router eigrp (AS number)
#network (เครือข่ายที่อยู่ติดกับเราเตอร์) (Wildcard Mask)

---------------------------
- EIGRP จะ update routing table ก็ต่อเมื่อมีการเปลี่ยนแปลง topology เท่านั้น จะไม่เหมือนกับ RIP ซึ่งจะ update ทุกๆ 30 วินาที
- ค่า Metric จะมีขนาด 32 bit (IGRP 24 bit)
- ค่า AD = 90
- ค่า Metric จะได้จากการคำนวณของค่าสัมประสิทธิ์ทั้งหมด 5 ค่า
*** Bad dog really like meat ***

B - Bandwidth
D - Delay >>> First bit in, Last bit out
R - Reliability >>> ความน่าเชื่อถือ link ไหน ดาวน์บ่อย traffic ก็จะไม่ส่งออกไป link นั้น
L - Load >>>
M - MTU (Maximum Transfer Unit)