User Tools

Site Tools


настройка_сети_в_linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
настройка_сети_в_linux [2025/06/24 15:51]
val [Команды для диагностики]
настройка_сети_в_linux [2025/10/24 08:50] (current)
val [Файлы конфигурации ifupdown (Debian/Ubuntu<18)]
Line 84: Line 84:
 # ss -tn src :80 or src :443 | tr -s ' ' | cut -d ' ' -f5  | cut -d ':'​ -f1 | sort | uniq -c | sort -n # ss -tn src :80 or src :443 | tr -s ' ' | cut -d ' ' -f5  | cut -d ':'​ -f1 | sort | uniq -c | sort -n
  
 +# отправка UDP пакета
 # echo -n "​hello"​ >/​dev/​udp/​195.19.40.152/​5060 # echo -n "​hello"​ >/​dev/​udp/​195.19.40.152/​5060
 </​code>​ </​code>​
Line 190: Line 191:
 client1# dhclient eth0 client1# dhclient eth0
  
-client1# ​cat /etc/hostname +client1# ​hostnamectl ​hostname client1 
-</​code><​code>​ +
-client1 +
-</​code><​code>​+
 client1# :> /​etc/​resolv.conf client1# :> /​etc/​resolv.conf
 </​code>​ </​code>​
Line 373: Line 372:
 # ifup enp0s3 # ifup enp0s3
 </​code>​ </​code>​
 +
 +==== Файлы конфигурации Alma Linux ====
 +
 +  * [[https://​serverspace.ru/​support/​help/​nastrojka-seti-dlya-alma-linux/​|Настройка сети для Alma Linux]]
  
 ==== Файлы конфигурации Gentoo ==== ==== Файлы конфигурации Gentoo ====
настройка_сети_в_linux.1750769514.txt.gz · Last modified: 2025/06/24 15:51 by val