linux:netzwerk
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:netzwerk [2023/11/11 22:29] – gsys | linux:netzwerk [2024/10/04 22:56] (current) – [Nützliche Befehle] gsys | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| < | < | ||
| - | sysctl -w net.ipv4.ip_default_ttl=128 | + | sysctl -w net.ipv4.ip_default_ttl=128 |
| - | ping 192.168.1.1 | + | ping 192.168.1.1 |
| - | ping -c 4 192.168.1.1 | + | ping -c 4 192.168.1.1 |
| - | netstat -npl #offene Ports auflisten | + | netstat -npl |
| - | lsof -i | grep -e LISTEN | + | netstat -tulpn |
| - | cat < / | + | ss -tulpn |
| + | lsof -i | grep -e LISTEN | ||
| + | cat < / | ||
| </ | </ | ||
| ===== Debian ===== | ===== Debian ===== | ||
| - | / | + | / |
| / | / | ||
| < | < | ||
| - | service networking | + | sudo systemctl |
| </ | </ | ||
| Line 46: | Line 48: | ||
| sudo ip addr add 123.222.111.123 dev ens192 | sudo ip addr add 123.222.111.123 dev ens192 | ||
| </ | </ | ||
| - | |||
| ==== DHCP ===== | ==== DHCP ===== | ||
| < | < | ||
linux/netzwerk.1699738175.txt.gz · Last modified: (external edit)