From the course: Exploring Linux Internals: Advanced Insights and Practical Applications

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Transforming data into packets

Transforming data into packets

- Let's talk a bit more about how data is transformed into packets. So applications generate data, and to send this data over the network, bits are needed, and different protocols define how. SSH, for instance, as a protocol example, is used at a process application layer, and it generates an SSH payload. And this payload is sent to TCP. TCP ensures reliable and guaranteed delivery. The TCP Datagram is next sent to the IP layer, which takes care of proper addressing. And the IP layer sends the data to ethernet in local networks, which packages into frames that are sent to the appropriate MAC address. And then at the other site, the receiver is going to receive at the IP layer, reach the packet header, finds the IP data, passes it up to TCP stack until it can be read by SSH. Let me make a drawing to show you how this process is working. Alright, so what are the ingredients in networking? Well first, there is the network. (marker squeaking) Let this be the network, ethernet network with…

Contents