اس تھیوری لیب میں آپ MPLS کے بنیادی تصورات (labels، LDP)، VRF، اور L3VPN میں RD/RT کا کردار سمجھیں گے۔
Is theory lab mein aap MPLS ke bunyadi tasawwurat (labels, LDP), VRF, aur L3VPN mein RD/RT ka kirdar samjhenge.
In this theory lab you will understand MPLS basics (labels, LDP), VRFs, and the role of RD/RT in L3VPNs.
MPLS ایسا ہے جیسے کورئیر کمپنی کا ہب سسٹم — ہر پارسل پر صرف ایک چھوٹا ٹیگ (label) لگا ہوتا ہے، اور ہب اسے پورا پتہ پڑھے بغیر آگے بھیج دیتا ہے۔ VRF ایک ہی راؤٹر کے اندر الگ الگ ڈاک خانے ہیں — ہر گاہک کا اپنا الگ routing table۔ RD ہر گاہک کے پتے کو منفرد بناتا ہے، RT بتاتا ہے کہ کون سا پتہ کس گاہک تک پہنچے۔
MPLS aisa hai jaise courier company ka hub system — har parcel par sirf ek chhota tag (label) laga hota hai, aur hub ise poora pata parhe baghair aage bhej deta hai. VRF ek hi router ke andar alag alag daak khane hain — har gahak ka apna alag routing table. RD har gahak ke pate ko munfarid banata hai, RT batata hai ke kaun sa pata kis gahak tak pahunche.
MPLS is like a courier hub system — each parcel carries just a small tag (label), and the hub forwards it without reading the full address. A VRF is separate post offices inside one router — each customer gets its own routing table. RD makes each customer's address unique; RT decides which address reaches which customer.

تھیوری لیب: کوئی کنفیگریشن نہیں۔ تصوراتی ٹوپولوجی: دو کسٹمر سائٹس (Cust-A) دو PE راؤٹرز سے جڑی ہیں، درمیان میں P راؤٹرز کا MPLS کور ہے۔
Theory lab: koi configuration nahi. Tasawwurati topology: do customer sites (Cust-A) do PE routers se juri hain, darmiyan mein P routers ka MPLS core hai.
Theory lab: no configuration. Conceptual topology: two customer sites (Cust-A) attach to two PE routers, with an MPLS core of P routers in between.
MPLS label کا تصور سمجھیں۔ IP routing ہر hop پر پورا IP header دیکھتی ہے۔ MPLS میں ingress راؤٹر پیکٹ پر ایک چھوٹا label لگاتا ہے، اور core راؤٹرز صرف label دیکھ کر swap کر کے آگے بھیجتے ہیں — تیز اور آسان۔
MPLS label ka tasawwur samjhein. IP routing har hop par poora IP header dekhti hai. MPLS mein ingress router packet par ek chhota label lagata hai, aur core routers sirf label dekh kar swap kar ke aage bhejte hain — tez aur aasan.
Understand the MPLS label concept. IP routing inspects the full IP header at every hop. In MPLS the ingress router pushes a small label onto the packet, and core routers just swap labels to forward — fast and simple.
LDP کا کردار جانیں۔ Label Distribution Protocol پڑوسی MPLS راؤٹرز کے درمیان labels بانٹتا ہے۔ ہر راؤٹر بتاتا ہے: اس prefix کے لیے یہ label استعمال کرو۔ LDP کے بغیر labels کا کوئی مطلب نہیں۔
LDP ka kirdar janein. Label Distribution Protocol parosi MPLS routers ke darmiyan labels bant-ta hai. Har router batata hai: is prefix ke liye ye label istemal karo. LDP ke baghair labels ka koi matlab nahi.
Learn LDP's role. The Label Distribution Protocol distributes labels between neighboring MPLS routers. Each router says: use this label for that prefix. Without LDP, labels mean nothing.
VRF سمجھیں۔ Virtual Routing and Forwarding ایک ہی راؤٹر پر کئی الگ routing tables بناتی ہے۔ کسٹمر A کا 10.0.0.0/8 اور کسٹمر B کا 10.0.0.0/8 آپس میں ٹکرائے بغیر ایک ہی PE پر رہ سکتے ہیں۔
VRF samjhein. Virtual Routing and Forwarding ek hi router par kai alag routing tables banati hai. Customer A ka 10.0.0.0/8 aur customer B ka 10.0.0.0/8 aapas mein takraye baghair ek hi PE par reh sakte hain.
Understand VRF. Virtual Routing and Forwarding creates multiple separate routing tables on one router. Customer A's 10.0.0.0/8 and customer B's 10.0.0.0/8 can coexist on one PE without colliding.
Route Distinguisher (RD) جانیں۔ جب دو کسٹمرز کے ایک جیسے prefixes MPLS کور میں BGP کے ذریعے جائیں تو RD انہیں منفرد بناتا ہے (مثلاً 65001:100:10.0.0.0/8)۔ RD صرف منفرد بنانے کے لیے ہے، پالیسی کے لیے نہیں۔
Route Distinguisher (RD) janein. Jab do customers ke ek jaise prefixes MPLS core mein BGP ke zariye jayein to RD inhein munfarid banata hai (masalan 65001:100:10.0.0.0/8). RD sirf munfarid banane ke liye hai, policy ke liye nahi.
Learn the Route Distinguisher (RD). When two customers' identical prefixes travel the MPLS core via BGP, the RD makes them unique (e.g. 65001:100:10.0.0.0/8). RD is only for uniqueness, not policy.
Route Target (RT) سمجھیں۔ RT ایک extended community ہے جو بتاتی ہے کہ یہ VPN route کس VRF میں import ہو۔ Export RT لگاتا ہے، import RT قبول کرتا ہے — اسی سے hub-spoke جیسی ٹوپولوجیز بنتی ہیں۔
Route Target (RT) samjhein. RT ek extended community hai jo batati hai ke ye VPN route kis VRF mein import ho. Export RT lagata hai, import RT qabool karta hai — isi se hub-spoke jaisi topologies banti hain.
Understand the Route Target (RT). RT is an extended community declaring which VRF imports a VPN route. Export attaches it, import accepts it — this is how hub-spoke topologies are built.
L3VPN کا مکمل بہاؤ دہرائیں۔ CE سے PE تک عام routing، PE پر VRF میں route، RD لگ کر MP-BGP میں، label لگ کر MPLS کور سے گزر کر دوسرے PE تک، وہاں RT کی بنیاد پر صحیح VRF میں — اور پھر CE تک۔
L3VPN ka mukammal bahao dohraein. CE se PE tak aam routing, PE par VRF mein route, RD lag kar MP-BGP mein, label lag kar MPLS core se guzar kar doosre PE tak, wahan RT ki bunyad par sahi VRF mein — aur phir CE tak.
Recap the full L3VPN flow. Normal routing from CE to PE, route lands in the VRF, RD is attached into MP-BGP, labels carry it across the MPLS core to the far PE, RT places it in the right VRF — then on to the CE.
اپنے الفاظ میں بیان کریں: label کہاں لگتا ہے، LDP کیا بانٹتا ہے، RD اور RT میں کیا فرق ہے۔ یہی اس لیب کی کامیابی ہے۔
Apne alfaz mein bayan karein: label kahan lagta hai, LDP kya bant-ta hai, RD aur RT mein kya farq hai. Yehi is lab ki kamyabi hai.
Explain in your own words: where the label is imposed, what LDP distributes, and the difference between RD and RT. That is this lab's success criterion.