New We are sorting MAX channels into categories and territories. Read the news
Public channel ID 76989105838120

Linux: Системный администратор

Здесь вы найдете полезные советы, практические материалы и интересные инсайты по администрированию Linux. Погружаемся в мир команд, скриптов и серверов вместе! 🚀

Авторский канал действующего админа 👨🏼‍💻

Channels in category
89
This channel's rank
№ 89
Open category →
Open in MAX

Posts for the period

By reactions

Search and the whole feed — after free registration. Custom dates — with a subscription; the channel owner sees them for free. Sorting by reactions — with a subscription. Sign up

Loading…

🚧 systemd-networkd: быстрый дебаг сетевых настроек

Настроил systemd-networkd, но интерфейс не поднимается как надо? Не спеши лезть в journalctl. Есть встроенные инструменты, которые быстрее выявят проблему.

🔧 Пошагово:

1. Проверить статус интерфейса:


networkctl status eth0

Покажет текущую привязку .network-файла, состояние DHCP, IP и ошибки.

2. Посмотреть логи конкретного интерфейса:


journalctl -u systemd-networkd -g eth0

Фильтрация по интерфейсу сразу отсечёт мусор.

3. Проверить парсинг конфигов:


networkd-analyze verify

Покажет, где опечатка или конфликт в .network, .netdev, .link.

4. Активировать трассировку событий (для упёртых багов):


SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-networkd

(только временно, вручную, в debug-сессии)

⚠️ Важно: systemd-networkd не обрабатывает интерфейсы, управляемые NetworkManager или ifupdown. Проверь networkctl list — если интерфейс в статусе unmanaged, он не под контролем systemd.

💡 Фича: networkd-dispatcher — хук-система на события сетевых интерфейсов, аналог if-up.d. Удобно для автоматических действий при получении IP.

Сохрани, пригодится при следующей миграции на systemd-networkd 🛠

#Linux@linux_odmin #LinuxTips@linux_odmin #Команды@linux_odmin

👉 @channel_linux_admin
Views: 272
Go to post Open in MAX Report an inaccuracy
VKontakte Telegram Odnoklassniki
Favorites at datool.ru

Follow the channel in your account

Sign up at datool.ru to add the channel “Linux: Системный администратор” to favorites and track its metrics.

Sign up
For channel owners

Verify your channel

Sign in or sign up at datool.ru, then add our bot to the channel following the instructions in your account. Once ownership is verified, the lock disappears and channel management becomes available.

Sign in or sign up

Report an inaccuracy

Describe what needs fixing. If you have a source, add a link.

You are leaving datool.ru

The link leads to an external website. datool.ru is not responsible for its content — check the address before entering passwords or payment details.

Redirecting in 10 s

Go