Capstone: Enterprise WAN Build
CCNP ENARSI 300-410 EVE-NG / GNS3
مقصدObjectiveObjective
اس کیپ اسٹون میں آپ EIGRP، OSPF، BGP اور redistribution کو ایک مکمل enterprise WAN ٹوپولوجی میں جوڑیں گے۔ چیک لسٹ طرز پر ہر حصہ بنائیں اور آخر میں مکمل ٹیسٹ کریں۔Is capstone mein aap EIGRP, OSPF, BGP aur redistribution ko ek mukammal enterprise WAN topology mein jorenge. Check list tarz par har hissa banayein aur aakhir mein mukammal test karein.In this capstone you will combine EIGRP, OSPF, BGP, and redistribution into one complete enterprise WAN topology. Build each part checklist-style and run a full test at the end.
آسان مثالSimple AnalogySimple Analogy
یہ لیب اب تک سیکھے گئے تمام اوزاروں سے پورا گھر بنانے جیسی ہے — EIGRP برانچ کی وائرنگ، OSPF ہیڈ آفس کا ڈھانچہ، BGP باہر کی دنیا سے رابطہ، اور redistribution وہ دروازے جو سب کو جوڑتے ہیں۔Ye lab ab tak seekhe gaye tamam auzaron se poora ghar banane jaisi hai — EIGRP branch ki wiring, OSPF head office ka dhancha, BGP bahar ki duniya se rabta, aur redistribution woh darwaze jo sab ko jorte hain.This lab is like building a whole house with every tool you've learned — EIGRP is the branch wiring, OSPF the HQ structure, BGP the connection to the outside world, and redistribution the doors joining it all.
سیٹ اپLab SetupLab Setup
ٹوپولوجی: Branch1—R1 (EIGRP AS 100) —R2—R3 (OSPF ایریا 0 کور)—R4—R5 (eBGP AS 65002، انٹرنیٹ کی نمائندگی)۔ R2 پر EIGRP↔OSPF redistribution، R4 پر OSPF↔BGP redistribution۔ ہر سائٹ کے پیچھے ایک LAN۔Topology: Branch1—R1 (EIGRP AS 100) —R2—R3 (OSPF area 0 core)—R4—R5 (eBGP AS 65002, internet ki numaindagi). R2 par EIGRP↔OSPF redistribution, R4 par OSPF↔BGP redistribution. Har site ke peeche ek LAN.Topology: Branch1—R1 (EIGRP AS 100) —R2—R3 (OSPF area 0 core)—R4—R5 (eBGP AS 65002, representing the internet). EIGRP↔OSPF redistribution on R2, OSPF↔BGP redistribution on R4. One LAN behind each site.
اقداماتStepsSteps
Step 1
چیک لسٹ 1: EIGRP برانچ۔ R1 اور R2 کے درمیان EIGRP AS 100 نیمڈ موڈ میں چلائیں۔ Branch1 کا LAN (10.1.1.0/24) EIGRP میں advertise ہو۔ نیبر شپ اور راستے چیک کریں۔Check list 1: EIGRP branch. R1 aur R2 ke darmiyan EIGRP AS 100 named mode mein chalayein. Branch1 ka LAN (10.1.1.0/24) EIGRP mein advertise ho. Neighbor ship aur raste check karein.Checklist 1: EIGRP branch. Run EIGRP AS 100 named mode between R1 and R2. Advertise Branch1's LAN (10.1.1.0/24) in EIGRP. Verify neighborship and routes.
configure terminal router eigrp LAB address-family ipv4 unicast autonomous-system 100 network 10.1.1.0 0.0.0.255 network 192.168.12.0 0.0.0.255 exit-address-family exit show eigrp address-family ipv4 neighbors
Step 2
چیک لسٹ 2: OSPF کور۔ R2، R3، R4 کے درمیان OSPF ایریا 0 چلائیں۔ HQ کا LAN (10.3.3.0/24) OSPF میں ہو۔ تمام adjacencies FULL ہونی چاہئیں۔Check list 2: OSPF core. R2, R3, R4 ke darmiyan OSPF area 0 chalayein. HQ ka LAN (10.3.3.0/24) OSPF mein ho. Tamam adjacencies FULL honi chahiye.Checklist 2: OSPF core. Run OSPF area 0 between R2, R3, R4. HQ's LAN (10.3.3.0/24) must be in OSPF. All adjacencies should be FULL.
configure terminal router ospf 1 network 192.168.23.0 0.0.0.255 area 0 network 192.168.34.0 0.0.0.255 area 0 network 10.3.3.0 0.0.0.255 area 0 exit show ip ospf neighbor
Step 3
چیک لسٹ 3: R2 پر redistribution۔ EIGRP↔OSPF mutual redistribution لگائیں، seed metrics اور route tags کے ساتھ (tag 100 برائے EIGRP، tag 200 برائے OSPF)۔Check list 3: R2 par redistribution. EIGRP↔OSPF mutual redistribution lagayein, seed metrics aur route tags ke saath (tag 100 baraye EIGRP, tag 200 baraye OSPF).Checklist 3: redistribution on R2. Configure EIGRP↔OSPF mutual redistribution with seed metrics and route tags (tag 100 for EIGRP, tag 200 for OSPF).
configure terminal route-map E-TO-O permit 10 set tag 100 exit route-map O-TO-E deny 10 match tag 100 exit route-map O-TO-E permit 20 set tag 200 exit router ospf 1 redistribute eigrp 100 subnets route-map E-TO-O exit router eigrp LAB address-family ipv4 unicast autonomous-system 100 topology base redistribute ospf 1 metric 10000 100 255 1 1500 route-map O-TO-E exit exit-address-family exit
Step 4
چیک لسٹ 4: eBGP۔ R4 اور R5 کے درمیان eBGP پیئرنگ (AS 65001 ↔ 65002) بنائیں۔ R5 ایک prefix 203.0.113.0/24 advertise کرے (انٹرنیٹ کی نمائندگی)۔Check list 4: eBGP. R4 aur R5 ke darmiyan eBGP peering (AS 65001 ↔ 65002) banayein. R5 ek prefix 203.0.113.0/24 advertise kare (internet ki numaindagi).Checklist 4: eBGP. Build eBGP peering between R4 and R5 (AS 65001 ↔ 65002). R5 advertises one prefix 203.0.113.0/24 (representing the internet).
configure terminal router bgp 65001 neighbor 192.168.45.5 remote-as 65002 exit show ip bgp summary
Step 5
چیک لسٹ 5: R4 پر OSPF↔BGP redistribution۔ BGP راستے کو OSPF میں اور OSPF راستوں کو BGP میں دیں۔ یہاں بھی route tags استعمال کریں تاکہ loops نہ بنیں۔Check list 5: R4 par OSPF↔BGP redistribution. BGP raste ko OSPF mein aur OSPF raston ko BGP mein dein. Yahan bhi route tags istemal karein taake loops na banein.Checklist 5: OSPF↔BGP redistribution on R4. Feed the BGP route into OSPF and OSPF routes into BGP. Use route tags here too so no loops form.
configure terminal router ospf 1 redistribute bgp 65001 subnets exit router bgp 65001 redistribute ospf 1 exit
Step 6
چیک لسٹ 6: مکمل ٹیسٹ۔ Branch1 کے LAN سے (1) HQ کے LAN تک، (2) R5 کے prefix تک ping کریں۔ دونوں کامیاب ہونے چاہئیں۔ Traceroute سے راستہ دیکھیں کہ وہ متوقع path پر ہے۔Check list 6: mukammal test. Branch1 ke LAN se (1) HQ ke LAN tak, (2) R5 ke prefix tak ping karein. Dono kamyab hone chahiye. Traceroute se rasta dekhein ke woh mutawaqqa path par hai.Checklist 6: full test. From Branch1's LAN ping (1) HQ's LAN, (2) R5's prefix. Both must succeed. Check the path with traceroute to confirm it follows the expected path.
ping 10.3.3.1 source 10.1.1.1 ping 203.0.113.1 source 10.1.1.1 traceroute 203.0.113.1
Step 7
چیک لسٹ 7: صفائی اور دستاویز۔ غیر ضروری debugs بند کریں، running-config save کریں، اور ایک صفحے میں ٹوپولوجی ڈایاگرام + ہر redistribution point کے tags لکھیں۔Check list 7: safai aur dastavez. Ghair zaroori debugs band karein, running-config save karein, aur ek safhe mein topology diagram + har redistribution point ke tags likhein.Checklist 7: cleanup and documentation. Turn off unneeded debugs, save running-config, and write a one-page topology diagram + the tags at each redistribution point.
undebug all write memory
تصدیقVerifyVerify
Branch1 سے HQ اور انٹرنیٹ prefix دونوں تک ping کامیاب ہو۔ ہر راؤٹر کی routing table میں متوقع راستے (D، O، B کوڈز) موجود ہوں اور کوئی routing loop نہ ہو۔Branch1 se HQ aur internet prefix dono tak ping kamyab ho. Har router ki routing table mein mutawaqqa raste (D, O, B codes) mojood hon aur koi routing loop na ho.Ping from Branch1 to both HQ and the internet prefix must succeed. Every router's routing table should hold the expected routes (D, O, B codes) with no routing loop.
show ip route show ip bgp show ip ospf database
خرابی دور کرناTroubleshootingTroubleshooting
⚠️ Branch1 سے انٹرنیٹ prefix تک ping fail ہے مگر HQ تک ٹھیک ہے۔Branch1 se internet prefix tak ping fail hai magar HQ tak theek hai.Ping from Branch1 to the internet prefix fails but HQ works.
✅ R4 پر OSPF↔BGP redistribution چیک کریں — BGP راستہ OSPF میں آیا؟ Seed metric/subnets keyword دیکھیں۔ R5 پر prefix واقعی advertise ہو رہا ہے یا نہیں، show ip bgp سے دیکھیں۔R4 par OSPF↔BGP redistribution check karein — BGP rasta OSPF mein aaya? Seed metric/subnets keyword dekhein. R5 par prefix waqei advertise ho raha hai ya nahi, show ip bgp se dekhein.Check OSPF↔BGP redistribution on R4 — did the BGP route enter OSPF? Check seed metric/subnets keyword. Confirm R5 is really advertising the prefix with show ip bgp.
⚠️ کوئی راستہ دو جگہ سے آ رہا ہے اور loop بن رہا ہے۔Koi rasta do jagah se aa raha hai aur loop ban raha hai.A route is arriving from two places and looping.
✅ دونوں redistribution points پر route-map tags چیک کریں — کہیں deny والا sequence چھوٹ تو نہیں گیا۔ show route-map اور tags کے ساتھ show ip route دیکھیں۔Dono redistribution points par route-map tags check karein — kahin deny wala sequence chhoot to nahi gaya. show route-map aur tags ke saath show ip route dekhein.Check route-map tags on both redistribution points — a deny sequence may be missing. Review with show route-map and show ip route with tags.
انٹرویو سوالاتInterview Q&AInterview Q&A
❓ اس ڈیزائن میں routing loops کیسے روکے گئے؟Is design mein routing loops kaise roke gaye?How were routing loops prevented in this design?
Route tags کے ذریعے: ہر redistribution point پر آنے والے راستوں پر tag لگایا اور واپسی کی سمت میں اس tag کو deny کیا۔ اس کے علاوہ AD کا قدرتی فرق (EIGRP 90/170، OSPF 110، BGP 20/200) بھی مدد کرتا ہے۔Route tags ke zariye: har redistribution point par aane wale raston par tag lagaya aur wapsi ki simt mein is tag ko deny kiya. Is ke ilawa AD ka qudrati farq (EIGRP 90/170, OSPF 110, BGP 20/200) bhi madad karta hai.Via route tags: each redistribution point tags incoming routes and denies that tag in the return direction. The natural AD differences (EIGRP 90/170, OSPF 110, BGP 20/200) also help.
❓ کیپ اسٹون مکمل ہونے کے بعد کون سی چیز سب سے پہلے ٹیسٹ کریں گے؟Capstone mukammal hone ke baad kaun si cheez sab se pehle test karenge?What is the first thing you test after completing the capstone?
End-to-end connectivity: سب سے دور کے LANs کے درمیان ping۔ پھر ہر redistribution point پر tags اور ہر protocol کے neighbors چیک کریں۔End-to-end connectivity: sab se door ke LANs ke darmiyan ping. Phir har redistribution point par tags aur har protocol ke neighbors check karein.End-to-end connectivity: ping between the farthest LANs. Then check tags at each redistribution point and neighbors for each protocol.