📝 Section Review: Switching & VLANs

اہم نکاتKey TakeawaysKey Takeaways

خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)

یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.

❓ Practice: VLAN کیا ہے، اور کیا مختلف VLANs کے ڈیوائسز راؤٹر کے بغیر بات کر سکتے ہیں؟Practice: VLAN kya hai, aur kya mukhtalif VLANs ke devices router ke baghair baat kar sakte hain?Practice: What is a VLAN, and can devices in different VLANs talk without a router?

Practice: VLAN ایک physical سوئچ کو کئی logical نیٹ ورکس میں تقسیم کرتا ہے۔ مختلف VLANs کے ڈیوائسز راؤٹر کے بغیر آپس میں بات نہیں کر سکتے۔Practice: VLAN aik physical switch ko kai logical networks mein taqseem karta hai. Mukhtalif VLANs ke devices router ke baghair aapas mein baat nahi kar sakte.Practice: VLANs divide one physical switch into multiple logical networks. Devices in different VLANs cannot talk without a router.

❓ Practice: Access پورٹ اور trunk پورٹ میں کیا فرق ہے؟Practice: Access port aur trunk port mein kya farq hai?Practice: What is the difference between an access port and a trunk port?

Practice: Access پورٹ صرف ایک VLAN کا ٹریفک اٹھاتا ہے۔ Trunk پورٹ 802.1Q tags کے ذریعے کئی VLANs کا ٹریفک اٹھاتا ہے۔Practice: Access port sirf aik VLAN ka traffic uthata hai. Trunk port 802.1Q tags ke zariye kai VLANs ka traffic uthata hai.Practice: An access port carries traffic of only one VLAN. A trunk port carries traffic of multiple VLANs using 802.1Q tags.

❓ Practice: Native VLAN کیا ہے، اور ٹرنک کے دونوں سرے پر ایک جیسا کیوں ہونا چاہیے؟Practice: Native VLAN kya hai, aur trunk ke dono siray par same kyun hona chahiye?Practice: What is the native VLAN, and why must it match on both ends of a trunk?

Practice: Native VLAN ٹرنک پر untagged VLAN ہوتا ہے (بائی ڈیفالٹ VLAN 1)۔ Native VLAN ٹرنک کے دونوں سرے پر ایک جیسا ہونا چاہیے ورنہ mismatch ہو جاتا ہے۔Practice: Native VLAN trunk par untagged VLAN hota hai (by default VLAN 1). Native VLAN trunk ke dono siray par same hona chahiye warna mismatch ho jata hai.Practice: Native VLAN is the untagged VLAN on a trunk (VLAN 1 by default). Native VLAN must match on both ends of the trunk or you get a mismatch.

❓ Practice: Router-on-a-stick VLANs کے درمیان ٹریفک کی روٹنگ کیسے کرتا ہے؟Practice: Router-on-a-stick VLANs ke darmiyan traffic ki routing kaise karta hai?Practice: How does router-on-a-stick route traffic between VLANs?

Practice: Router-on-a-stick میں ایک ہی physical راؤٹر انٹرفیس پر ہر VLAN کے لیے sub-interface بنتا ہے، اور single trunk پر VLANs کے درمیان روٹنگ ہوتی ہے۔Practice: Router-on-a-stick mein aik hi physical router interface par har VLAN ke liye sub-interface banta hai, aur single trunk par VLANs ke darmiyan routing hoti hai.Practice: Router-on-a-stick uses one physical router interface with sub-interfaces, one per VLAN, to route between VLANs over a single trunk.