sit
Síť
Seznam síťových zařízení a jejich adresy.
ip address
hostname
Výpis
hostnamectl status
Změna hostname
hostnamectl set-hostname Nove-Jmeno hostnamectl set-hostname "Nove Jmeno"
Restart hostname služby
systemctl restart systemd-hostnamed
NetworkManager
nmcli device status nmcli connection show
RockyLinux 9
NetworKmanager –print-config
/etc/NetworkManager/NetworkManager.conf
Umístění nastavení připojení
/etc/NetworkManager/system-connections/*.nmconnection
Vytvořit bridge nmcli connection add type bridge ifname br0 con-name br0 ipv4.method manual ipv4.addresses „10.0.1.1/24“ nmcli con up vbr0
nmcli con add type tun ifname tap0 con-name tap0 mode tap owner 0 ip4 0.0.0.0/24
nmcli con add type bridge-slave ifname tap0 master br0
IP kalkulačka
ipcalc ipcalc 192.168.0.135 -s 15 15 (vytvořit 2x15)
wavemon
wireless network monitor
apt install wavemon
bridge
# brctl # commands: addbr <bridge> add bridge delbr <bridge> delete bridge addif <bridge> <device> add interface to bridge delif <bridge> <device> delete interface from bridge setageing <bridge> <time> set ageing time setbridgeprio <bridge> <prio> set bridge priority setfd <bridge> <time> set bridge forward delay sethello <bridge> <time> set hello time setmaxage <bridge> <time> set max message age setpathcost <bridge> <port> <cost> set path cost setportprio <bridge> <port> <prio> set port priority show show a list of bridges showmacs <bridge> show a list of mac addrs showstp <bridge> show bridge stp info stp <bridge> <state> turn stp on/off
sit.txt · Poslední úprava: 2023/03/03 22:00 autor: uranusak