SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow Notes in Hindi & English : SDN (सॉफ्टवेयर-डिफाइंड नेटवर्किंग): कंट्रोल व डेटा प्लेन और OpenFlow और 20 महत्वपूर्ण MCQ प्रश्न (India IT Exam)

Post a Comment

UGC-NET, GATE, NIELIT (O/A/B Level), KVS/NVS Computer Teacher, PGDCA, BCA, MCA, B-Tech व All India IT Exam विशेष नोट्स: इस अध्याय में हम SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow (SDN (सॉफ्टवेयर-डिफाइंड नेटवर्किंग): कंट्रोल व डेटा प्लेन और OpenFlow) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और राष्ट्रीय स्तर की परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।

Overview: Software-Defined Networking (SDN) decouples the network Control Plane from the Data Plane, centralizing routing intelligence in a software-based SDN Controller. OpenFlow is the standard Southbound API protocol that allows the controller to program flow tables inside switches and routers.

अध्याय सार: सॉफ्टवेयर-डिफाइंड नेटवर्किंग (SDN) नेटवर्क कंट्रोल प्लेन को डेटा प्लेन से अलग करती है, जिससे रूटिंग इंटेलिजेंस एक सॉफ्टवेयर-आधारित SDN कंट्रोलर में केंद्रीकृत हो जाती है। OpenFlow मानक साउथबाउंड API प्रोटोकॉल है जो कंट्रोलर को स्विच और राउटर के भीतर फ्लो टेबल प्रोग्राम करने की अनुमति देता है।

SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow: Detailed Notes & Architecture (SDN (सॉफ्टवेयर-डिफाइंड नेटवर्किंग): कंट्रोल व डेटा प्लेन और OpenFlow)

1. Control Plane vs Data Plane Decoupling (कंट्रोल प्लेन बनाम डेटा प्लेन डिकपलिंग)

[EN] In traditional networks, every router and switch runs both the Control Plane (routing protocols like OSPF/BGP) and the Data Plane (packet forwarding ASICs). SDN extracts the Control Plane into a logically centralized SDN Controller, leaving switches as fast, programmable forwarding devices in the Data Plane. This enables global network visibility and rapid policy updates.

[HI] पारंपरिक नेटवर्क में, प्रत्येक राउटर और स्विच कंट्रोल प्लेन (OSPF/BGP जैसे रूटिंग प्रोटोकॉल) और डेटा प्लेन (पैकेट फॉरवर्डिंग ASICs) दोनों चलाता है। SDN कंट्रोल प्लेन को एक तार्किक रूप से केंद्रीकृत SDN कंट्रोलर में निकालता है, जिससे स्विच डेटा प्लेन में तेज़, प्रोग्रामेबल फॉरवर्डिंग डिवाइस बन जाते हैं।

2. SDN Three-Layer Architecture & APIs (SDN तीन-स्तरीय आर्किटेक्चर और APIs)

[EN] SDN consists of three layers: Application Layer (firewalls, load balancers, traffic engineering), Control Layer (SDN Controller like OpenDaylight, ONOS, Ryu), and Infrastructure/Data Layer (physical/virtual switches). Northbound APIs (typically REST) connect Applications to the Controller, while Southbound APIs (OpenFlow, NETCONF) connect the Controller to switches.

[HI] SDN में तीन परतें होती हैं: एप्लिकेशन लेयर (फ़ायरवॉल, लोड बैलेंसर), कंट्रोल लेयर (OpenDaylight, ONOS, Ryu जैसे SDN कंट्रोलर), और इंफ्रास्ट्रक्चर/डेटा लेयर (स्विच)। नॉर्थबाउंड API (आमतौर पर REST) एप्लिकेशन को कंट्रोलर से जोड़ते हैं, जबकि साउथबाउंड API (OpenFlow, NETCONF) कंट्रोलर को स्विच से जोड़ते हैं।

3. OpenFlow Protocol and Flow Tables (OpenFlow प्रोटोकॉल और फ्लो टेबल्स)

[EN] OpenFlow is the pioneering Southbound protocol defined by the Open Networking Foundation (ONF). An OpenFlow switch contains one or more Flow Tables, where each entry has three parts: Match Fields (L2-L4 headers), Counters (packet/byte stats), and Actions (Forward, Drop, Modify, or Send to Controller). If no rule matches (Table-Miss), the packet is sent to the controller via Packet-In.

[HI] OpenFlow, ONF द्वारा परिभाषित एक प्रमुख साउथबाउंड प्रोटोकॉल है। एक OpenFlow स्विच में एक या अधिक फ्लो टेबल्स होती हैं, जहाँ प्रत्येक प्रविष्टि में तीन भाग होते हैं: मैच फ़ील्ड्स (L2-L4 हेडर), काउंटर्स, और एक्शन (Forward, Drop, Modify, या Send to Controller)। यदि कोई नियम मेल नहीं खाता (Table-Miss), तो पैकेट Packet-In के माध्यम से कंट्रोलर को भेजा जाता है।

4. SDN Benefits and Use Cases (SDN के लाभ और उपयोग के मामले)

[EN] SDN enables Network Function Virtualization (NFV), automated cloud multi-tenancy, and dynamic traffic engineering (such as Google's B4 WAN). Because policies are written in software, administrators can deploy zero-trust micro-segmentation without manually configuring hundreds of CLI-based switches.

[HI] SDN नेटवर्क फ़ंक्शन वर्चुअलाइजेशन (NFV), स्वचालित क्लाउड मल्टी-टेनेंसी और डायनामिक ट्रैफ़िक इंजीनियरिंग (जैसे Google का B4 WAN) को सक्षम बनाता है। चूंकि नीतियां सॉफ्टवेयर में लिखी जाती हैं, प्रशासक सैकड़ों CLI-आधारित स्विच को मैन्युअल रूप से कॉन्फ़िगर किए बिना ज़ीरो-ट्रस्ट माइक्रो-सेगमेंटेशन तैनात कर सकते हैं।

Syntax, Formula & Technical Example (SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow)

# OpenFlow Flow Table Rule via ovs-ofctl (Open vSwitch)
# Drop all TCP traffic on port 23 (Telnet) at switch s1
ovs-ofctl add-flow s1 "priority=100,tcp,tp_dst=23,actions=drop"
# Forward HTTP traffic (port 80) out of port 2
ovs-ofctl add-flow s1 "priority=90,tcp,tp_dst=80,actions=output:2"
# Dump current flow table entries
ovs-ofctl dump-flows s1

SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow Quick Reference & Comparison Table

SDN ComponentLayer / InterfaceKey Exam Fact
SDN ControllerControl PlaneLogically centralized brain (e.g., ONOS, Ryu, ODL)
OpenFlowSouthbound APIPrograms switch flow tables; TCP port 6653
REST APINorthbound APIConnects SDN apps to the Controller
Open vSwitch (OVS)Data PlaneProgrammable virtual switch supporting OpenFlow

SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow Top 20 Bilingual MCQs with Answers

Q1. What is the core architectural principle of Software-Defined Networking (SDN)?

(सॉफ्टवेयर-डिफाइंड नेटवर्किंग (SDN) का मुख्य आर्किटेक्चरल सिद्धांत क्या है?)

(A) Moving routing into DNS

(B) Eliminating all physical switches

(C) Replacing TCP/IP with UDP

(D) Decoupling the Control Plane from the Data Plane

Correct Answer: (D)

[EN] SDN separates control logic (Controller) from packet forwarding (Data Plane).

[HI] SDN कंट्रोल लॉजिक (कंट्रोलर) को पैकेट फॉरवर्डिंग (डेटा प्लेन) से अलग करता है।

Q2. Which interface connects the SDN Controller to the network switches?

(कौन सा इंटरफ़ेस SDN कंट्रोलर को नेटवर्क स्विच से जोड़ता है?)

(A) Southbound API

(B) Eastbound API

(C) Westbound API

(D) Northbound API

Correct Answer: (A)

[EN] Southbound APIs (like OpenFlow) communicate between the Controller and Data Plane switches.

[HI] साउथबाउंड API (जैसे OpenFlow) कंट्रोलर और डेटा प्लेन स्विच के बीच संचार करते हैं।

Q3. Which protocol is the most widely recognized Southbound API in SDN?

(SDN में सबसे व्यापक रूप से मान्यता प्राप्त साउथबाउंड API प्रोटोकॉल कौन सा है?)

(A) SNMP

(B) HTTP/3

(C) BGP

(D) OpenFlow

Correct Answer: (D)

[EN] OpenFlow allows the SDN controller to directly manipulate switch flow tables.

[HI] OpenFlow, SDN कंट्रोलर को सीधे स्विच फ्लो टेबल्स में हेरफेर करने की अनुमति देता है।

Q4. What are the three main components of an OpenFlow Flow Table entry?

(OpenFlow फ्लो टेबल प्रविष्टि के तीन मुख्य घटक क्या हैं?)

(A) Source IP, MAC, and TTL

(B) Match Fields, Counters, and Actions

(C) Header, Payload, and CRC

(D) Key, Value, and Hash

Correct Answer: (B)

[EN] Each flow entry matches packet headers, updates counters, and executes actions.

[HI] प्रत्येक फ्लो प्रविष्टि पैकेट हेडर से मेल खाती है, काउंटर्स अपडेट करती है और एक्शन निष्पादित करती है।

Q5. What happens when an incoming packet does not match any rule in an OpenFlow switch (Table-Miss)?

(जब कोई आने वाला पैकेट OpenFlow स्विच में किसी भी नियम से मेल नहीं खाता (Table-Miss) तो क्या होता है?)

(A) It is sent to the DNS server

(B) The switch reboots

(C) It is encapsulated in a Packet-In message and sent to the Controller

(D) It is automatically broadcast to all ports

Correct Answer: (C)

[EN] A Table-Miss typically triggers a Packet-In event to ask the controller how to handle the flow.

[HI] Table-Miss आमतौर पर कंट्रोलर से पूछने के लिए Packet-In संदेश भेजता है।

Q6. Which API connects SDN applications (like load balancers) to the SDN Controller?

(कौन सा API SDN एप्लिकेशन (जैसे लोड बैलेंसर) को SDN कंट्रोलर से जोड़ता है?)

(A) Northbound API

(B) Southbound API

(C) BIOS API

(D) Physical Layer API

Correct Answer: (A)

[EN] Northbound APIs (usually RESTful) expose network abstractions to applications.

[HI] नॉर्थबाउंड API (आमतौर पर RESTful) एप्लिकेशन को नेटवर्क एब्स्ट्रैक्शन प्रदान करते हैं।

Q7. What is the default IANA-assigned TCP port for OpenFlow?

(OpenFlow के लिए डिफ़ॉल्ट IANA-असाइन किया गया TCP पोर्ट क्या है?)

(A) 8080

(B) 6653

(C) 443

(D) 22

Correct Answer: (B)

[EN] OpenFlow 1.3+ uses TCP port 6653 (historically 6633 was used).

[HI] OpenFlow 1.3+ TCP पोर्ट 6653 का उपयोग करता है।

Q8. Which of the following is a popular Python-based SDN Controller?

(निम्नलिखित में से कौन सा एक लोकप्रिय Python-आधारित SDN कंट्रोलर है?)

(A) Ryu

(B) Wireshark

(C) Apache Kafka

(D) Nginx

Correct Answer: (A)

[EN] Ryu is a lightweight, component-based SDN framework written in Python.

[HI] Ryu Python में लिखा गया एक हल्का SDN फ्रेमवर्क है।

Q9. In SDN, what is the role of the Data Plane?

(SDN में डेटा प्लेन की क्या भूमिका है?)

(A) Hosting web applications

(B) Forwarding packets based on flow table rules

(C) Authenticating users via RADIUS

(D) Computing shortest paths globally

Correct Answer: (B)

[EN] The Data Plane performs high-speed packet forwarding as instructed by the Controller.

[HI] डेटा प्लेन कंट्रोलर के निर्देशानुसार उच्च गति से पैकेट फॉरवर्डिंग करता है।

Q10. Which organization standardizes OpenFlow?

(OpenFlow का मानकीकरण किस संगठन द्वारा किया जाता है?)

(A) ISO

(B) W3C

(C) IEEE 802.3

(D) Open Networking Foundation (ONF)

Correct Answer: (D)

[EN] The Open Networking Foundation (ONF) manages the OpenFlow specification.

[HI] ओपन नेटवर्किंग फाउंडेशन (ONF) OpenFlow स्पेसिफिकेशन का प्रबंधन करता है।

Q11. What is an East-Westbound API in SDN used for?

(SDN में ईस्ट-वेस्टबाउंड API का उपयोग किस लिए किया जाता है?)

(A) Encrypting Wi-Fi frames

(B) Connecting switches to hosts

(C) Managing power supplies

(D) Communication between multiple SDN Controllers

Correct Answer: (D)

[EN] East-West APIs synchronize state across distributed SDN controllers for scalability.

[HI] ईस्ट-वेस्ट API स्केलेबिलिटी के लिए वितरित SDN कंट्रोलर्स के बीच स्थिति सिंक्रनाइज़ करते हैं।

Q12. Which command-line tool is used to manage flow tables in Open vSwitch?

(Open vSwitch में फ्लो टेबल्स को प्रबंधित करने के लिए किस कमांड-लाइन टूल का उपयोग किया जाता है?)

(A) netstat

(B) ifconfig

(C) ovs-ofctl

(D) iptables

Correct Answer: (C)

[EN] ovs-ofctl adds, deletes, and dumps OpenFlow rules in Open vSwitch.

[HI] ovs-ofctl Open vSwitch में OpenFlow नियमों को जोड़ता, हटाता और डंप करता है।

Q13. Which Google WAN project famously deployed SDN to achieve near-100% link utilization?

(Google के किस WAN प्रोजेक्ट ने लगभग 100% लिंक उपयोग प्राप्त करने के लिए SDN को तैनात किया?)

(A) B4

(B) QUIC

(C) Project Loon

(D) gRPC

Correct Answer: (A)

[EN] Google's B4 private WAN used OpenFlow/SDN for centralized traffic engineering.

[HI] Google के B4 प्राइवेट WAN ने केंद्रीकृत ट्रैफ़िक इंजीनियरिंग के लिए OpenFlow/SDN का उपयोग किया।

Q14. Which of the following is NOT an SDN Controller?

(निम्नलिखित में से कौन सा SDN कंट्रोलर नहीं है?)

(A) Floodlight

(B) OpenSSL

(C) OpenDaylight

(D) ONOS

Correct Answer: (B)

[EN] OpenSSL is a cryptography library, not an SDN controller.

[HI] OpenSSL एक क्रिप्टोग्राफी लाइब्रेरी है, SDN कंट्रोलर नहीं।

Q15. How does SDN improve network security compared to traditional networks?

(पारंपरिक नेटवर्क की तुलना में SDN नेटवर्क सुरक्षा को कैसे बेहतर बनाता है?)

(A) Centralized policy enforcement and rapid flow-level isolation

(B) By disabling encryption

(C) By using coaxial cables

(D) By removing IP addresses

Correct Answer: (A)

[EN] Controllers can instantly push drop rules to all switches to quarantine compromised hosts.

[HI] कंट्रोलर समझौता किए गए होस्ट को क्वारंटाइन करने के लिए सभी स्विच पर तुरंत ड्रॉप नियम भेज सकते हैं।

Q16. In OpenFlow, which message does the Controller send to push a new rule to a switch?

(OpenFlow में, स्विच पर नया नियम भेजने के लिए कंट्रोलर कौन सा संदेश भेजता है?)

(A) Flow-Mod

(B) Echo-Request

(C) Packet-In

(D) ARP-Reply

Correct Answer: (A)

[EN] OFPT_FLOW_MOD (Flow-Mod) adds, modifies, or deletes flow entries.

[HI] OFPT_FLOW_MOD (Flow-Mod) फ्लो प्रविष्टियों को जोड़ता, संशोधित करता या हटाता है।

Q17. Within SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow, which sdn component directly maps to: "Control Plane"?

(SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow में कौन सा SDN Component सीधे "Control Plane" से संबंधित है?)

(A) Open vSwitch (OVS)

(B) REST API

(C) OpenFlow

(D) SDN Controller

Correct Answer: (D)

[EN] In SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow, 'SDN Controller' handles 'Control Plane' (Logically centralized brain (e.g., ONOS, Ryu, ODL)).

[HI] SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow में 'SDN Controller' का कार्य/विवरण 'Control Plane' (Logically centralized brain (e.g., ONOS, Ryu, ODL)) है।

Q18. Which option accurately describes 'OpenFlow' in SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow?

(SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow के संदर्भ में 'OpenFlow' की सही विशेषता कौन सी है?)

(A) Control Plane

(B) Southbound API

(C) Northbound API

(D) Data Plane

Correct Answer: (B)

[EN] 'OpenFlow' provides 'Southbound API' — key point: Programs switch flow tables; TCP port 6653.

[HI] 'OpenFlow' का मुख्य विवरण 'Southbound API' है (Programs switch flow tables; TCP port 6653)।

Q19. In SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow, identify the correct parameter for the specification: "Northbound API".

(SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow में "Northbound API" विवरण किस विकल्प के लिए सही है?)

(A) OpenFlow

(B) Open vSwitch (OVS)

(C) SDN Controller

(D) REST API

Correct Answer: (D)

[EN] 'REST API' corresponds to 'Northbound API' (Connects SDN apps to the Controller).

[HI] 'REST API' का संबंध 'Northbound API' (Connects SDN apps to the Controller) से है।

Q20. Considering SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow, what key behavior defines 'Open vSwitch (OVS)'?

(SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow में 'Open vSwitch (OVS)' की मुख्य भूमिका या मान क्या है?)

(A) Northbound API

(B) Southbound API

(C) Data Plane

(D) Control Plane

Correct Answer: (C)

[EN] 'Open vSwitch (OVS)' represents 'Data Plane' (Programmable virtual switch supporting OpenFlow).

[HI] 'Open vSwitch (OVS)' का अर्थ/मान 'Data Plane' है (Programmable virtual switch supporting OpenFlow)।

SDN (Software-Defined Networking): Control Plane vs Data Plane & OpenFlow — Exam FAQs

Q1: Does SDN replace physical switches and routers?

क्या SDN भौतिक स्विच और राउटर को प्रतिस्थापित करता है?

[EN] No, SDN still uses physical or virtual switches for the Data Plane, but removes their autonomous routing software.

[HI] नहीं, SDN अभी भी डेटा प्लेन के लिए भौतिक या वर्चुअल स्विच का उपयोग करता है, लेकिन उनके स्वायत्त रूटिंग सॉफ्टवेयर को हटा देता है।

Q2: What is the difference between SDN and NFV?

SDN और NFV में क्या अंतर है?

[EN] SDN separates control and data planes to program the network, while NFV virtualizes network functions (firewalls, NAT) onto standard servers.

[HI] SDN नेटवर्क को प्रोग्राम करने के लिए कंट्रोल और डेटा प्लेन को अलग करता है, जबकि NFV नेटवर्क फ़ंक्शंस (फ़ायरवॉल, NAT) को मानक सर्वर पर वर्चुअलाइज करता है।

Q3: What happens if the SDN Controller goes offline?

यदि SDN कंट्रोलर ऑफलाइन हो जाए तो क्या होगा?

[EN] Switches continue forwarding traffic using existing cached flow rules, but new unknown flows cannot be programmed until a backup controller takes over.

[HI] स्विच मौजूदा कैश्ड फ्लो नियमों का उपयोग करके ट्रैफ़िक फॉरवर्ड करना जारी रखते हैं, लेकिन बैकअप कंट्रोलर के आने तक नए अज्ञात फ्लो प्रोग्राम नहीं किए जा सकते।

Related Posts

  • Loading related posts...

Post a Comment

Search Topic Notes & 20 MCQs (Hindi / English)