fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:netzwerk

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:netzwerk [2023/11/11 22:33] – [Static] gsyslinux:netzwerk [2026/08/23 09:40] (current) – [Ubuntu] gsys
Line 4: Line 4:
  
 <code> <code>
-sysctl -w net.ipv4.ip_default_ttl=128   #TTL temp. setzen 128 = Windows default +sysctl -w net.ipv4.ip_default_ttl=128   # TTL temp. setzen 128 = Windows default 
-ping 192.168.1.1                        #Dauerping +ping 192.168.1.1                        # Dauerping 
-ping -c 4 192.168.1.1                   #4 Pings +ping -c 4 192.168.1.1                   # 4 Pings 
-netstat -npl                            #offene Ports auflisten +netstat -npl                            # offene Ports auflisten 
-lsof -i | grep -e LISTEN                #offene Ports auflisten +netstat -tulpn                          # offene Ports auflisten 
-cat < /dev/tcp/127.0.0.1/22             #Teste Ports mit cat+ss -tulpn                               # offene Ports auflisten 
 +lsof -i | grep -e LISTEN                # offene Ports auflisten 
 +cat < /dev/tcp/127.0.0.1/22             # Teste Ports mit cat
  
 </code> </code>
  
 ===== Debian ===== ===== Debian =====
-/etc/network/interfaces.d \\ +''/etc/network/interfaces.d'' \\ 
-/etc/network/interfaces+''/etc/network/interfaces''
  
 <code> <code>
Line 61: Line 63:
 iface ens192 inet dhcp iface ens192 inet dhcp
  
 +</code>
 +
 +===== Ubuntu =====
 +
 +''/etc/netplan'' \\
 +''/etc/netplan/50-cloud-init.yaml''
 +
 +<code>
 +netplan status -a
 +netplan apply
 </code> </code>
  
linux/netzwerk.1699738433.txt.gz · Last modified: (external edit)