V
V
Venot2021-11-24 12:14:35
linux
Venot, 2021-11-24 12:14:35

How does the network interface and ip address appear on the example of linux?

Ip address can be registered on the host itself or obtained using dhcp, is this the essence of the OS kernel? Can it be called a configuration setting? Are the network interface settings coming from the network card driver? It is possible to create virtual network interfaces, is it necessary to have a physical network interface for this? Who in the core or where to read is responsible for the formation of the packet, frame and sending over the network (cable)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2021-11-24
@Venot

Ip адрес можно самому прописать на хосте или получаем с помощью dhcp, эта сущность ядра ОС?

It is possible either way.
This is not the essence of the OS kernel, you can work without a network card at all, or work not via IP but via another protocol. These are the TCP settings.
Can it be called a configuration setting?

Call it whatever you want.
Настройки сетевого интерфейса поступают от драйвера сетевой карты?

Well, how do they do it. Some you send to the network card, some to you. And some network cards can be virtual.
It is possible to create virtual network interfaces, is it necessary to have a physical network interface for this?

Maybe, not necessarily.
Who in the core or where to read is responsible for the formation of the packet, frame and sending over the network (cable)?

The UDP/TCP/IP service driver is responsible for shaping the TCP/UDP/IP packets, and the network card is responsible for framing the network card or whatever. There are different cards, wifi / ethernet / modems
the network card is a device, not the internet.

Naturally

C
CityCat4, 2021-11-24
@CityCat4

Okay, google.
Evie Nemeth System Administration Guide

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question