linux:netzwerk
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:netzwerk [2021/05/13 02:55] – gsys | linux:netzwerk [2024/10/04 22:56] (current) – [Nützliche Befehle] gsys | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| - | ===== Debian | + | ===== Nützliche Befehle ===== |
| + | |||
| + | < | ||
| + | sysctl -w net.ipv4.ip_default_ttl=128 | ||
| + | ping 192.168.1.1 | ||
| + | ping -c 4 192.168.1.1 | ||
| + | netstat -npl # offene Ports auflisten | ||
| + | netstat -tulpn | ||
| + | ss -tulpn | ||
| + | lsof -i | grep -e LISTEN | ||
| + | cat < / | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Debian ===== | ||
| + | / | ||
| / | / | ||
| + | |||
| + | < | ||
| + | sudo systemctl restart networking.service | ||
| + | </ | ||
| ==== Static ==== | ==== Static ==== | ||
| Line 19: | Line 38: | ||
| allow-hotplug ens192 | allow-hotplug ens192 | ||
| iface ens192 inet static | iface ens192 inet static | ||
| - | | + | |
| - | gateway | + | |
| - | # | + | |
| - | dns-nameservers | + | dns-domain sweet.home |
| - | dns-search oes.ml-bw.de | + | dns-nameservers |
| </ | </ | ||
| + | < | ||
| + | sudo ip addr add 123.222.111.123 dev ens192 | ||
| + | </ | ||
| ==== DHCP ===== | ==== DHCP ===== | ||
| < | < | ||
| Line 44: | Line 65: | ||
| </ | </ | ||
| + | ===== SLES ===== | ||
| - | ===== Wichtige Dateien | + | ==== Wichtige Dateien ==== |
| ^ Pfad ^ Verantwortlich für ^ | ^ Pfad ^ Verantwortlich für ^ | ||
| Line 56: | Line 78: | ||
| - | ===== Route ===== | + | ==== Route ==== |
| ''/ | ''/ | ||
| Line 65: | Line 87: | ||
| </ | </ | ||
| - | ===== Priorität der Adapter | + | ==== Priorität der Adapter ==== |
| ''/ | ''/ | ||
| Line 78: | Line 100: | ||
| </ | </ | ||
| - | ===== Netzwerkadapter Einstellungen | + | ==== Netzwerkadapter Einstellungen ==== |
| ''/ | ''/ | ||
| Line 118: | Line 140: | ||
| </ | </ | ||
| - | ===== Hostname für FQDN ===== | + | ==== Hostname für FQDN ==== |
| ''/ | ''/ | ||
linux/netzwerk.1620867318.txt.gz · Last modified: (external edit)