Important protocols of Network layers: concepts of Data packets and Datagram; Presentation layer protocols (SSL, HTTP, FTP, Telnet)

हर OSI layer का अपना protocols और data के एक chunk के लिए अपना नाम है: network layer networks के बीच packets (datagrams) move करने के लिए IP इस्तेमाल करती है, जबकि ऊपर, SSL data secure करता है और HTTP, FTP, और Telnet जैसे application protocols actual user requests carry करते हैं।

12 min read · 7 cards · 2 checks

Read in: English · हिन्दी · ગુજરાતી


Theory

हर Layer का अपना Protocols है

अब जब आप सात OSI layers जानते हैं, यहाँ next piece है: हर layer का अपना protocols है, उस layer का job करने के agreed rules, और data के एक chunk के लिए इसका अपना नाम भी। एक message हर layer पर same 'thing' नहीं है; यह wrapped और renamed होता है जैसे यह move करता है।

यह lesson network layer के around important protocols देखता है, packets और datagrams का idea, और encryption (SSL) और familiar application protocols (HTTP, FTP, Telnet) upper layers में कैसे बैठते हैं। Protocols को इनकी correct layer से match करना यहाँ key skill है।

Theory

Network Layer: IP, Packets, और Datagrams

Network layer (3) का star protocol IP (Internet Protocol) है। IP logical addressing (IP addresses) provide करता है और routing handle करता है, data को एक network से दूसरे में पहुँचाते हुए। (ICMP, error और status messages जैसे ping के लिए इस्तेमाल होता है, यह भी यहीं रहता है।)

इस layer पर, data का एक chunk एक packet कहलाता है, और अक्सर एक datagram। शब्द overlap करते हैं: 'packet' network-layer unit के लिए general term है, जबकि datagram emphasise करता है कि unit self-contained और connectionless है, हर एक independently route होता है, अपना खुद का address carry करते हुए, कोई pre-established connection नहीं। IP datagrams hop by hop route होते हैं, हर एक अपना रास्ता खुद ढूँढते हुए।

At a glance

ProtocolJobOSI Layer
IPNetworks के बीच logical addressing और routingNetwork (3)
TCP / UDPEnd-to-end delivery; reliable (TCP) या fast/connectionless (UDP)Transport (4)
SSL / TLSData की encryption और secure formattingPresentation role (6)
HTTPWeb pages transfer करता हैApplication (7)
FTPFiles transfer करता हैApplication (7)
Telnetकिसी और machine में remote text loginApplication (7)

Formula

SSL Secure करता है; HTTP, FTP, Telnet Carry करते हैं

इन upper-layer protocols के बारे में precise रहिए। SSL/TLS encryption provide करता है, data को एक secure form में convert करते हुए, जो presentation layer का job है (translation और encryption)। HTTP, FTP, और Telnet application-layer protocols हैं जो actual user work carry करते हैं: web pages, file transfers, remote logins।

ये combine होते हैं: जब HTTP SSL/TLS पर secured चलता है, आपको HTTPS मिलता है। तो SSL/TLS को security wrapper (presentation-layer role) की तरह सोचिए और HTTP/FTP/Telnet को visible work करने वाले application-layer protocols की तरह। हर protocol को इसकी true layer से match करना exactly वह है जो exam questions test करते हैं।

Quiz

IP protocol किस OSI layer पर operate करता है, और इसकी data unit को क्या कहते हैं?

  1. Application layer; unit एक web page है
  2. Network layer (3); unit एक packet है, जिसे datagram भी कहते हैं
  3. Physical layer; unit एक bit है
  4. Transport layer; unit एक frame है
Show the answer

Network layer (3); unit एक packet है, जिसे datagram भी कहते हैं

IP (Internet Protocol) Network layer (layer 3) पर operate करता है, logical addressing और routing provide करते हुए, और इसकी data unit एक packet है, जिसे datagram भी कहते हैं (एक self-contained, connectionless unit)। Option A ग़लत है: Application layer HTTP जैसे protocols host करती है, IP नहीं; और एक 'web page' IP की data unit नहीं है। Option C ग़लत है: Physical layer raw bits से deal करती है, पर IP एक physical-layer protocol नहीं है। Option D दो errors करता है: IP एक Transport-layer protocol नहीं है (वह TCP/UDP है), और एक 'frame' Data Link layer की unit है, Network layer की नहीं। Units को layers से anchor कीजिए: bits (Physical), frames (Data Link), packets/datagrams (Network, IP), segments (Transport)।

Think first

एक Packet और एक Datagram में Exactly क्या Difference है?

Packet और datagram words अक्सर network-layer data के लिए साथ इस्तेमाल होते हैं। क्या कोई real distinction है? फिर tap कीजिए।

Show the answer

ये ज़्यादातर SAME चीज़ refer करते हैं, network-layer data का unit, पर 'datagram' एक extra emphasis carry करता है: कि unit SELF-CONTAINED और CONNECTIONLESS है। 'Packet' network layer पर data के एक formatted chunk के लिए general, everyday word है। 'Datagram' delivery के एक particular style पर stress करता है: हर datagram INDEPENDENTLY travel करता है, वह सब कुछ carry करते हुए जो इसे चाहिए (जैसे इसका पूरा destination address) खुद route होने के लिए, sender और receiver के बीच कोई pre-arranged connection के बिना और order या arrival के बारे में कोई guarantee के बिना। यह exactly वैसे है जैसे IP काम करता है, IP datagrams network में launch होते हैं और हर एक अपना खुद का path ले सकता है, possibly out of order arrive होते हुए या बिल्कुल नहीं, यही वजह है IP को एक connectionless, best-effort service कहते हैं। (Transport layer पर UDP को भी same reason से datagram protocol कहते हैं।) तो जब कोई कहता है 'IP packet' या 'IP datagram', वे usually same object मतलब रखते हैं; 'datagram' बस इसकी journey की independent, connectionless nature highlight करता है। इसे TCP जैसे एक connection-oriented approach के साथ contrast कीजिए, जो पहले एक connection establish करता है और फिर एक ordered, reliable stream deliver करता है, ऊपर layered एक अलग philosophy। Takeaway: packet general term है, datagram 'independent और connectionless' पर emphasise करता है, और IP की units दोनों हैं।

Summary

Key takeaways

  • हर OSI layer का अपना protocols है और data के एक unit के लिए अपना नाम है।
  • Network layer का main protocol IP है, जो logical addressing (IP addresses) और routing करता है; ICMP भी यहीं रहता है।
  • Network-layer data unit एक packet है, जिसे datagram भी कहते हैं: self-contained और connectionless, independently routed।
  • 'Packet' general term है; 'datagram' independent, connectionless delivery पर emphasise करता है (IP और UDP datagrams की तरह)।
  • SSL/TLS encryption provide करता है, presentation layer का role (6); यह data secure करता है user work carry करने की बजाय।
  • HTTP, FTP, और Telnet application-layer protocols हैं (7) जो web pages, files, और remote logins carry करते हैं; SSL/TLS पर HTTP HTTPS है।
  • Memory hook: layer 3 पर IP और packets/datagrams; SSL secure करता है (presentation), HTTP/FTP/Telnet carry करते हैं (application)।

Study this properly

This page is the lesson to read. In Gri-Learn the same topic is a graded deck: the self-checks are scored and your weak topics are tracked. Free to start.

Start this topic

Already have an account? Sign in

More from Mobile Ad hoc network

Gri-Learn · syllabus-mapped B.C.A. lessons in English, Hindi and Gujarati

Important protocols of Network layers: concepts of Data packets and Datagram; Presentation layer protocols (SSL, HTTP, FTP, Telnet) · Network Technology (Minor-05) · Gri-Learn