Frames & Packets

Ethernet Frames

(أثيرنت فريمز) تقيم في طبقة (داتا لينك) من نموذج (أوسي 7 لاير) وهي مجموعة شبكات الشبكة الأساسية للشبكات الحديثة IP. بينما يسحب النظام البيانات من السلك الفيزيائي، فطر (إيثرنت) هو أول طبقة يجب إزالتها أو تطهيرها قبل قراءة المعلومات.

Ethernet Frame

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 and IPv6

Both IPv4 and IPv6 reside at the Network layer of the OSI 7 Layer model. وهي توفر وسائل الاتصال لنظم الاتصال خارج الشبكة الفرعية المحلية. وبمجرد أن يفرغ النظام من مصيدة " Ethernet Frame " يقوم النظام بتقييم المعلومات المقدمة من IP. IPv4 was created in 1981 as part of IETF RFC 791 but was first deployed in1983غير أنه مع تزايد شبكة الإنترنت، أصبح من الواضح أن مساحة IPv4 العامة ستستهلك بالكامل مما دفع إلى إنشاء IPv6. IPv4 عنوان الفضاء استنفذ رسميا24 أيلول/سبتمبر 2015.As such IPv6 is now all that can be purchased fromARINوهو السجل الأمريكي لأرقام الإنترنت.IANAهو المنظم العالمي لحيز عنوان الإنترنت وهناك مناطق أخرى.

IPv4 Header

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 Header

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

TCP Header

TCP is one of the final encapsulation layer before it enters the operating system. وعادة ما يستمع الخادم إلى ميناء محدد ليعمل فيه بروتوكول. فعلى سبيل المثال، يستمع خادم غير مشفّر للشبكة عادة إلى ميناء TCP 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 Header

كما أن الناتج المحلي الإجمالي على نفس مستوى الفينول الخماسي الكلور من حيث أنه أيضاً من طبقة الفرز النهائية قبل أن يدخل نظام التشغيل. وعادة ما يستمع الخادم إلى ميناء محدد ليعمل فيه بروتوكول. For example a DHCP server will listed on UDP port 67 and 68 for a DHCP request.

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 Header

ICMP is at the same level as TCP and UDP but is used for network control with ARP and ping.

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 Header

IGMP is at the same level as TCP and UDP and ICMP but is used for multicast communications. وفيما يلي العنوان: IGMPv1

IGMP Header Version 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 Header Version 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 is a security protocol suite built for IP communications. كل حزمة موثقة ومشفوعة قبل الإرسال.

IPSEC Authentication Header

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 Header

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 هو بروتوكول نفق الذي يلخص البيانات الأخرى. وحالما يتم تجميع البيانات، يبدو أن حركة المرور ستظهر أن المستعمل النهائي هو نقطة لربطها على الرغم من أنه قد تكون هناك عدة وصلات مرسلة عبر مسارات النفق. It can be useful to transfer one type of network, such as guest traffic, over another network, such as a corporate network, if encryption is not required.

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)

رأس الكفاءات العامة

In September of 2000 the IETF in RFC2890(إضافات إلى رأس (جري.

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 Layer Model

As this article referances the OSI 7 Layer model its being included as a referance Application

عرض
الدورة
النقل
الشبكة
Data Link
جسدي