2024-08-15 07:00:03 +01:00
|
|
|
---
|
|
|
|
title: Internet_Layer_of_Internet_Protocol
|
2024-08-15 08:00:03 +01:00
|
|
|
tags: [network, internet]
|
|
|
|
created: Thursday, August 15, 2024
|
2024-08-15 07:00:03 +01:00
|
|
|
---
|
|
|
|
|
2024-08-15 08:00:03 +01:00
|
|
|
# Internet Layer of the Internet Protocol Suite
|
2024-08-15 07:00:03 +01:00
|
|
|
|
2024-08-15 08:00:03 +01:00
|
|
|
The Internet Layer is concerned with establishing the basis for the connection
|
|
|
|
and communication between hosts accross the internet.
|
2024-08-15 07:00:03 +01:00
|
|
|
|
2024-08-15 08:00:03 +01:00
|
|
|
In order for the data to get from a machine on one local network to a machine on
|
|
|
|
another local network, each machine must have a way of identifying and
|
|
|
|
interfacing with the other.
|
2024-08-15 07:00:03 +01:00
|
|
|
|
2024-08-15 08:00:03 +01:00
|
|
|
The Internet Layer utilises the Internet Protocol to determine how devices will
|
|
|
|
be publicly identified to devices on other networks and how different devices on
|
|
|
|
the same local network will be distinguished from outside of this network. This
|
|
|
|
is achieved through Internet Protocol (IP) addresses.
|
|
|
|
|
|
|
|
## Packets
|
|
|
|
|
|
|
|
Data is sent accross the internet between hosts as _packets_. These packets,
|
|
|
|
when sent and received within the
|
|
|
|
 on the local network, are
|
|
|
|
enclosed within a Link Layer frame (in its payload section):
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
Like a frame, an IP packet has a header and a payload. The payload comprises the
|
|
|
|
data between sent between hosts. The header contains a source IP address and a
|
|
|
|
destination IP address and also specifies which version of the Internet Protocol
|
|
|
|
is being used.
|
|
|
|
|
|
|
|
// Separate entry on anatomy of IP address
|