Frames & Packets

ईथरनेट फ्रेम

ईथरनेट फ्रेम OSI 7 लेयर मॉडल की डेटा लिंक परत पर रहते हैं। वे आधुनिक आईपी नेटवर्क के आधार नेटवर्क ब्लॉक हैं। जैसा कि सिस्टम भौतिक तार से डेटा खींचता है, ईथरनेट फ्रेम पहली परत है जिसे सूचना पढ़ने से पहले हटा दिया जाना चाहिए या डीकैप्सूल किया जाना चाहिए।.

ईथरनेट फ्रेम

8 Bytes 1 Byte 6 Bytes 6 Bytes 4 Bytes 2 Bytes 9000 Bytes (Jumbo Frames) 4 Bytes
Preamble SFD (Start Frame Delimeter) Destination Address Source Address VLAN TAG Type / Length DATA Frame Check Sequence (CRC)

IPv4 और IPv6

IPv4 और IPv6 दोनों OSI 7 लेयर मॉडल की नेटवर्क लेयर में रहते हैं। वे स्थानीय सबनेट के बाहर संवाद करने के लिए सिस्टम के लिए एड्रेसिंग प्रदान करते हैं। एक बार जब एक सिस्टम ने ईथरनेट फ्रेम को अलग कर दिया है तो सिस्टम प्रस्तुत आईपी सूचना का मूल्यांकन करता है। IPv4 को 1981 में IETF RFC 791 के हिस्से के रूप में बनाया गया था लेकिन पहली बार में तैनात किया गया था1983हालांकि इंटरनेट के रूप में यह स्पष्ट हो गया कि सार्वजनिक IPv4 स्पेस पूरी तरह से उपभोग किया जाएगा जिसने IPv6 के निर्माण को प्रेरित किया। IPv4 एड्रेस स्पेस को आधिकारिक तौर पर बंद कर दिया गया था24 सितंबर 2015।.इस तरह के IPv6 अब सब है कि से खरीदा जा सकता हैएरिनजो इंटरनेट नंबर की अमेरिकन रजिस्ट्री है।.इंडियानाइंटरनेट एड्रेस स्पेस का वैश्विक आयोजक है और अन्य क्षेत्र हैं।.

IPv4 हैडर

IPv4 Header (32 bits)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Version IHL (header Len) Type Of Server (TOS) Total Length
4 Identification IP Flag Fragment Offset
8 Time To Line (TTL) Protocol Header Checksum
12 Source Address
16 Destination Address
20 IP Option (Variable Length, Optional, not common)

IPv6 हैडर

IPv6 Header (128 bits)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Version Traffic Class Flow Label
4 Payload Length Next Header Hop Limit
8-20 Source Address
24 - 36 Destination Address

टीसीपी हैडर

टीसीपी ऑपरेटिंग सिस्टम में प्रवेश करने से पहले अंतिम encapsulation परत में से एक है। सर्वर आम तौर पर कार्य करने के लिए प्रोटोकॉल के लिए एक विशिष्ट बंदरगाह पर सुनेंगे। उदाहरण के लिए एक अनइंक्रिप्टेड वेब सर्वर आम तौर पर टीसीपी पोर्ट 80 पर सुनता है।.

TCP Header (60 Bytes)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Source Port # (16 bits) Destination Port # (16 bits)
4/td> Sequence Number (32 bits)
8 Acknowledgement Number (32 bits)
12 Header Length (4) Reserved (6) URG ACK PSH RST SYN FIN Window Size (16 bits)
16 TCP Checksum (16 bits) Urgent Pointer (16 bit)
20 Options (if any, variable length, padded with 0's)
24 Actual Data Payload

UDP हैडर

यूडीपी उसी स्तर पर टीसीपी के समान है जिसमें ऑपरेटिंग सिस्टम में प्रवेश करने से पहले इसकी अंतिम encapsulation परत में से एक भी है। सर्वर आम तौर पर कार्य करने के लिए प्रोटोकॉल के लिए एक विशिष्ट बंदरगाह पर सुनेंगे। उदाहरण के लिए एक DHCP सर्वर एक DHCP अनुरोध के लिए UDP पोर्ट 67 और 68 पर सूचीबद्ध होगा।.

UDP Header (8 Bytes)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Source Port # (16 bits) Destination Port # (16 bits)
4 Length (16 bits) Checksum (16 bits)

ICMP हैडर

आईसीएमपी टीसीपी और यूडीपी के समान स्तर पर है लेकिन इसका उपयोग एआरपी और पिंग के साथ नेटवर्क नियंत्रण के लिए किया जाता है।.

ICMP Header (8 Bytes)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Type (8 bits) Code (8 bits) Checksum (16 bits)
4 Other Message Specific Information (32 bits)

IGMP हैडर

IGMP TCP और UDP और ICMP के समान स्तर पर है लेकिन इसका उपयोग मल्टीकास्ट संचार के लिए किया जाता है। निम्नलिखित IGMPv1 हेडर है

IGMP हैडर संस्करण 1

IGMP Header Version1 (8 Bytes)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Version (4 bits) Type (4 bits) Unused (8 bits) Checksum (16 bits)
4 Group Address (32 bits)

IGMP हैडर संस्करण 2

IGMP Header Version2 (8 Bytes)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Type (8 bits) Max Response Time (8 bits) Checksum (16 bits)
4 Group Address (32 bits)

इंटरनेट प्रोटोकॉल सुरक्षा (IPSEC) हैडर

IPSEC एक सुरक्षा प्रोटोकॉल सूट है जो IP संचार के लिए बनाया गया है। प्रत्येक पैकेट को संचरण से पहले प्रमाणित और एन्क्रिप्ट किया जाता है।.

IPSEC प्रमाणीकरण हैडर

IPSEC Authentication Header(12 Bytes)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Next Header (8 bits) Payload Length (8 bits) Reserved (16 bits)
4 Security Parameters Index (SPI) (32 bits)
8 Sequence Number (32 bits)
16 Integrity Check Value (ICV) (32 bits or more as required)

IPSEC ESP हैडर

IPSEC Encapsulating Security Payload (ESP) Header
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Security Parameter Index (SPI) (32 bits)
4 Sequence Number (32 bits)
8 Payload Data (32 bits or more)
... Padding (0 - 255 Bytes)
... Padding Length (8 Bytes) Next Header (8 Bytes) Integrity Check Value (ICV) (4 bytes or more)

जेनेरिक रूटिंग एनकैप्सुलेशन (GRE) हैडर

GRE एक टनलिंग प्रोटोकॉल है जो अन्य डेटा को समाहित करता है। एक बार जब डेटा को encapsulated किया जाता है तो यातायात एक अंत उपयोगकर्ता के सामने दिखाई देगा, भले ही वहाँ कई मार्गों कनेक्शन सुरंग traverse हो सकता है। यह एक प्रकार के नेटवर्क को स्थानांतरित करने के लिए उपयोगी हो सकता है, जैसे कि अतिथि यातायात, किसी अन्य नेटवर्क पर, जैसे कि कॉर्पोरेट नेटवर्क, यदि एन्क्रिप्शन की आवश्यकता नहीं है।.

Generic Routing Encapsulation Header(16 Bytes)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Checksum Present (1 bits) Reserved (12 bits) Version Number (3 bits) Protocol Type (16 bits)
4 Checksum (optional) (16 bits) Reserved (optional) (16 bits)

जेनेरिक रूटिंग एनकैप्सुलेशन (GRE) हैडर - विस्तारित

2000 के सितंबर में RFC में IETF2890gRE हेडर में एक्सटेंशन जोड़ा गया।.

Generic Routing Encapsulation Header(32 Bytes)
Starting Byte Byte Byte Byte Byte
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
0 Checksum Present (1 bits) Key Present (1 bits) Sequence Number Present (1 bits) Reserved (12 bits) Version Number (3 bits) Protocol Type (16 bits)
4 Checksum (optional) (16 bits) Reserved (optional) (16 bits)
8 Key (optional) (32 bits)
12 Sequence Number (optional) (32 bits)

OSI 7 लेयर मॉडल

जैसा कि इस लेख का उल्लेख OSI 7 लेयर मॉडल के रूप में किया गया है, इसमें एक रेफरेंस एप्लिकेशन के रूप में शामिल किया गया है।

प्रस्तुति
सत्र
परिवहन
नेटवर्क
डेटा लिंक
भौतिक