Capstone: Enterprise Core Build
CCNP ENCOR 350-401 v1.2 EVE-NG / GNS3
مقصدObjectiveObjective
اس capstone میں آپ اب تک کے اسباق جوڑ کر ایک مکمل enterprise core بنائیں گے — OSPF backbone، eBGP uplink، اور مانیٹرنگ۔ چیک لسٹ انداز میں قدم بہ قدم۔Is capstone mein aap ab tak ke asbaaq jor kar ek mukammal enterprise core banayenge — OSPF backbone, eBGP uplink, aur monitoring. Check list andaaz mein qadam ba qadam.In this capstone you will combine the lessons so far to build a complete enterprise core — OSPF backbone, eBGP uplink, and monitoring. Step by step in checklist style.
آسان مثالSimple AnalogySimple Analogy
اب آپ مستری سے ٹھیکیدار بن رہے ہیں۔ الگ الگ لیبز اینٹیں تھیں — اب ان سے پوری عمارت (enterprise core) بنانی ہے۔ ہر چیک لسٹ آئٹم ایک منزل ہے۔Ab aap mistri se thekedar ban rahe hain. Alag alag labs eenten theen — ab un se poori imarat (enterprise core) banani hai. Har check list item ek manzil hai.Now you're going from mechanic to contractor. The separate labs were bricks — now you must build the whole building (enterprise core) from them. Each checklist item is one floor.
سیٹ اپLab SetupLab Setup
R1-R2-R3 OSPF Area 0 core، R3-R4 eBGP (AS 65001 سے AS 65002) بطور ISP uplink۔ R1 اور R4 کے پیچھے LANs۔ ڈیوائسز: 4x روٹر 2911 (R1-R4)، 2x سوئچ، 4x پی سی۔ R1 LAN: 192.168.10.0/24، R4 LAN: 192.168.40.0/24، کور لنکس: 192.168.20.0/24، 192.168.21.0/24، uplink: 203.0.113.0/24۔R1-R2-R3 OSPF Area 0 core, R3-R4 eBGP (AS 65001 se AS 65002) as ISP uplink. R1 aur R4 ke peeche LANs. Devices: 4x Router 2911 (R1-R4), 2x Switch, 4x PC. R1 LAN: 192.168.10.0/24, R4 LAN: 192.168.40.0/24, core links: 192.168.20.0/24, 192.168.21.0/24, uplink: 203.0.113.0/24.R1-R2-R3 OSPF Area 0 core, R3-R4 eBGP (AS 65001 to AS 65002) as ISP uplink. LANs behind R1 and R4. Devices: 4x Router 2911 (R1-R4), 2x Switch, 4x PC. R1 LAN: 192.168.10.0/24, R4 LAN: 192.168.40.0/24, core links: 192.168.20.0/24, 192.168.21.0/24, uplink: 203.0.113.0/24.
اقداماتStepsSteps
Step 1
چیک 1 — ایڈریسنگ پلان لکھیں۔ ہر لنک اور LAN کو IP دیں (اوپر setup دیکھیں)۔ بغیر پلان کے بڑا نیٹ ورک نہیں بنتا۔Check 1 — addressing plan likho. Har link aur LAN ko IP do (upar setup dekho). Baghair plan ke bara network nahi banta.Check 1 — write the addressing plan. Give IPs to every link and LAN (see setup above). No large network is built without a plan.
R1 G0/0: 192.168.10.1/24 | R1 S0/0/0: 192.168.20.1/30 R2 S0/0/0: 192.168.20.2/30 | R2 S0/0/1: 192.168.21.1/30 R3 S0/0/1: 192.168.21.2/30 | R3 S0/1/0: 203.0.113.1/30 R4 S0/1/0: 203.0.113.2/30 | R4 G0/0: 192.168.40.1/24
Step 2
چیک 2 — R1، R2، R3 پر OSPF Area 0 لگائیں۔ تینوں کے router-id الگ ہوں۔ R2/R3 پر اپنے IPs اور router-id 2.2.2.2 / 3.3.3.3 کے ساتھ دہرائیں۔Check 2 — R1, R2, R3 par OSPF Area 0 lagao. Teenon ke router-id alag hon. R2/R3 par apne IPs aur router-id 2.2.2.2 / 3.3.3.3 ke saath dohrayen.Check 2 — configure OSPF Area 0 on R1, R2, R3. All three must have different router-ids. Repeat on R2/R3 with their own IPs and router-ids 2.2.2.2 / 3.3.3.3.
enable configure terminal router ospf 1 router-id 1.1.1.1 network 192.168.10.0 0.0.0.255 area 0 network 192.168.20.0 0.0.0.3 area 0 exit exit
Step 3
چیک 3 — OSPF verify کریں۔ تینوں روٹرز پر neighbors Full ہوں اور ہر روٹر کی table میں دوسروں کے routes ہوں۔Check 3 — OSPF verify karo. Teenon routers par neighbors Full hon aur har router ki table mein doosron ke routes hon.Check 3 — verify OSPF. Neighbors should be Full on all three routers, and each router's table should have the others' routes.
show ip ospf neighbor show ip route ospf
Step 4
چیک 4 — R3 (AS 65001) اور R4 (AS 65002) کے درمیان eBGP لگائیں۔ R3 اپنی LAN اور core networks advertise کرے۔ R4 پر آئینے والی کانفگ کریں۔Check 4 — R3 (AS 65001) aur R4 (AS 65002) ke darmiyan eBGP lagao. R3 apni LAN aur core networks advertise kare. R4 par aaine wali config karo.Check 4 — configure eBGP between R3 (AS 65001) and R4 (AS 65002). R3 advertises its LAN and core networks. Do the mirror config on R4.
configure terminal router bgp 65001 neighbor 203.0.113.2 remote-as 65002 network 192.168.10.0 mask 255.255.255.0 network 192.168.20.0 mask 255.255.255.252 network 192.168.21.0 mask 255.255.255.252 exit exit
Step 5
چیک 5 — R1 کے PC سے R4 کے PC تک ping کریں۔ راستہ: OSPF core سے R3، پھر eBGP سے R4۔ traceroute سے راستہ دیکھیں۔Check 5 — R1 ke PC se R4 ke PC tak ping karo. Raasta: OSPF core se R3, phir eBGP se R4. traceroute se raasta dekho.Check 5 — ping from R1's PC to R4's PC. Path: OSPF core to R3, then eBGP to R4. View the path with traceroute.
show ip bgp summary traceroute 192.168.40.10
Step 6
چیک 6 — core روٹرز پر SNMPv3 اور syslog لگائیں۔ Capstone کا مطلب صرف routing نہیں — نگرانی بھی۔Check 6 — core routers par SNMPv3 aur syslog lagao. Capstone ka matlab sirf routing nahi — nigrani bhi.Check 6 — configure SNMPv3 and syslog on the core routers. A capstone is not just routing — monitoring too.
configure terminal snmp-server group NETADMIN v3 priv snmp-server user admin NETADMIN v3 auth sha AUTH-PASS priv aes 128 PRIV-PASS logging host 192.168.10.100 logging trap informational exit
Step 7
چیک 7 — حتمی جانچ: سارے neighbors up، سارے LANs ایک دوسرے کو ping کریں، لاگز سرور پر آ رہے ہوں۔ سب ٹک ہو تو capstone مکمل۔Check 7 — hatmi jaanch: saare neighbors up, saare LANs ek doosre ko ping karein, logs server par aa rahe hon. Sab tick ho to capstone mukammal.Check 7 — final validation: all neighbors up, all LANs pinging each other, logs arriving at the server. If everything ticks, the capstone is complete.
show ip ospf neighbor show ip bgp summary show logging | include 192.168.10.100
تصدیقVerifyVerify
R1 کے PC سے R4 کے PC تک ping کامیاب، سارے OSPF neighbors Full، BGP Established — تینوں ہوں تو capstone مکمل۔R1 ke PC se R4 ke PC tak ping kamyab, saare OSPF neighbors Full, BGP Established — teenon hon to capstone mukammal.Ping from R1's PC to R4's PC succeeds, all OSPF neighbors Full, BGP Established — if all three hold, the capstone is complete.
show ip ospf neighbor show ip bgp summary
خرابی دور کرناTroubleshootingTroubleshooting
⚠️ R1 کا PC، R4 کے PC کو ping نہیں کر پا رہا۔R1 ka PC, R4 ke PC ko ping nahi kar pa raha.R1's PC cannot ping R4's PC.
✅ پہلے OSPF چیک کریں (neighbors Full؟)، پھر BGP (Established؟)، پھر R3 پر routes advertise ہو رہے ہیں یا نہیں۔Pehle OSPF check karo (neighbors Full?), phir BGP (Established?), phir R3 par routes advertise ho rahe hain ya nahi.Check OSPF first (neighbors Full?), then BGP (Established?), then whether routes are being advertised on R3.
⚠️ BGP Established ہے لیکن R4 کو LAN routes نہیں مل رہے۔BGP Established hai lekin R4 ko LAN routes nahi mil rahe.BGP is Established but R4 is not receiving the LAN routes.
✅ network کمانڈ والی networks routing table میں ہونی چاہئیں۔ R3 پر show ip route سے چیک کریں۔network command wali networks routing table mein honi chahiye. R3 par show ip route se check karo.The networks in the network commands must be in the routing table. Check with show ip route on R3.
انٹرویو سوالاتInterview Q&AInterview Q&A
❓ OSPF اور BGP ایک ہی نیٹ ورک میں کیوں؟OSPF aur BGP ek hi network mein kyun?Why use OSPF and BGP in the same network?
OSPF اندرونی routing کے لیے تیز اور آسان ہے۔ BGP باہر (ISP) سے بات کے لیے ہے — policy کنٹرول اور internet scale اسی میں ہے۔OSPF androoni routing ke liye tez aur aasan hai. BGP bahar (ISP) se baat ke liye hai — policy control aur internet scale isi mein hai.OSPF is fast and simple for internal routing. BGP is for talking to the outside (ISP) — policy control and internet scale live there.
❓ Capstone میں monitoring کیوں شامل کی؟Capstone mein monitoring kyun shamil ki?Why include monitoring in the capstone?
اصل نیٹ ورک صرف چلتا نہیں — اس کی نگرانی بھی ہوتی ہے۔ SNMP/syslog کے بغیر مسئلہ آنے پر آپ اندھے ہیں۔Asal network sirf chalta nahi — uski nigrani bhi hoti hai. SNMP/syslog ke baghair masla aane par aap andhe hain.A real network doesn't just run — it is monitored. Without SNMP/syslog you're blind when a problem hits.