network layer
The layer that gives machines IP addresses and chooses routes to carry packets between networks.
In more detail
Its questions are is my address and prefix right, and is there a route to the destination? If the route is missing, no port, header or application setting can help. ip address and ip route show this layer on Linux.
Related terms
- IP address — The numeric address, such as 192.168.1.10, that identifies a machine or container on a network.
- routing table — The kernel's list of destination prefixes and where to send packets for each: out of which interface and through which next hop.
- network layer model — A way of splitting networking into layers (link, network, transport, application) so each layer answers one question and can be tested in order.
- packet — A chunk of data with a header giving its source and destination addresses, which the network routes independently towards its destination.
Taught in
- The Layer Model, As Far As It Earns Its Place — Linux Fundamentals & Systems Administration
- IP Addresses, Netmasks And Subnets — Linux Fundamentals & Systems Administration
- Interfaces, Routes And The Default Gateway — Linux Fundamentals & Systems Administration