Frames & Packets

กรอบ Etronet

Etronet กรอบอยู่ในชั้นเชื่อมโยงข้อมูล ของรุ่น OSI 7 เลเยอร์ มันเป็นบล็อกพื้นฐานของเครือข่าย IP ที่ทันสมัย ขณะที่ระบบดึงข้อมูลออกจากลวดหลัก กรอบ Ethernet เป็นชั้นแรกที่จะต้องลบออกหรือถอดออกก่อนที่จะอ่านข้อมูล.

กรอบ Etronet

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 เลเยอร์ พวก เขา ให้ การ พูด ถึง ระบบ ต่าง ๆ เพื่อ ติด ต่อ สื่อ ความ นอก เครือ ข่าย ท้อง ถิ่น. เมื่อระบบมีการลดระดับเฟรม Etronet ระบบประเมินข้อมูล IP IPv4 ถูกสร้างขึ้นในปี 1981 เป็นส่วนหนึ่งของ IETF RFC 7491 แต่เริ่มใช้ครั้งแรกในปี ค.ศ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

ส่วนหัว TCP

TCP เป็นหนึ่งในชั้นการวางจําหน่ายสุดท้าย ก่อนจะเข้าสู่ระบบปฏิบัติการ เครื่องแม่ข่ายจะรอรับการเชื่อมต่อกับพอร์ตเฉพาะสําหรับโพรโทคอลที่จะทํางาน ตัวอย่างเช่น เซิร์ฟเวอร์เว็บที่ไม่มีการเข้ารหัส โดยปกติแล้วจะได้ยินเมื่อพอร์ต 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

UDP อยู่ระดับเดียวกับ TCP ในระดับนั้น นอกจากนี้ยังเป็นหนึ่งในชั้นการวางจําหน่ายสุดท้าย ก่อนที่จะเข้าสู่ระบบปฏิบัติการ เครื่องแม่ข่ายจะรอรับการเชื่อมต่อกับพอร์ตเฉพาะสําหรับโพรโทคอลที่จะทํางาน ตัวอย่างเช่น เซิร์ฟเวอร์ DHCP จะแสดงบนพอร์ต UDP 67 และ 68 สําหรับการร้องขอ DHCP.

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 อยู่ระดับเดียวกับ TCP และ UDP แต่ใช้สําหรับควบคุมเครือข่ายด้วย ARP และ 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)

ส่วนหัวแบบ IPMP

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)

ความปลอดภัยทางอินเทอร์เน็ต (IPSC) ส่วนหัว

ISPEC เป็นชุดรักษาความปลอดภัย ที่สร้างขึ้นสําหรับการสื่อสาร 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

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)

หัวจดหมาย

เกรียเป็นขั้นตอนการเจาะอุโมงค์ ที่ครอบคลุมข้อมูลอื่น ๆ เมื่อข้อมูลถูกรวมเข้ากับการจราจร จะปรากฏเป็นผู้ใช้ที่สิ้นสุด จะเป็นจุดเชื่อมโยงแม้ว่าจะมีการเชื่อมต่อหลายเส้นทาง อาจ เป็น ประโยชน์ ที่ จะ ถ่ายโอน เครือ ข่าย ชนิด หนึ่ง เช่น การ ติด ต่อ กับ แขก, เครือ ข่าย อื่น, เช่น เครือ ข่าย ของ บริษัท, หาก ไม่ จําเป็น ต้อง มี การ เข้ารหัส.

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)

ลบทั้งเธรด

ใน เดือน กันยายน 2000 IETF ใน RFC2890เพิ่มนามสกุลไปยังส่วนหัว GRE.

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 เลเยอร์ ถูกรวมเป็นโปรแกรมอ้างอิง

การนําเสนอ
วาระ
การส่งจดหมาย
เครือข่าย
เชื่อมโยงข้อมูล
กายภาพ