|
|
Zeile 3: |
Zeile 3: |
| ! Befehl !! Beschreibung | | ! Befehl !! Beschreibung |
| |- | | |- |
| | arp || | | | [[arp]] || |
| |- | | |- |
| | arping || | | | [[arping]] || |
| |- | | |- |
| | bmon || | | | [[bmon]] || |
| |- | | |- |
| | bridge || | | | [[bridge]] || |
| |- | | |- |
| | cadaver || | | | [[cadaver]] || |
| |- | | |- |
| | dig || | | | [[dig]] || |
| |- | | |- |
| | ethtool || | | | [[ethtool]] || |
| |- | | |- |
| | ftp || | | | [[ftp]] || |
| |- | | |- |
| | ip || | | | [[ip]] || |
| |- | | |- |
| | nc || | | | [[nc]] || |
| |- | | |- |
| | nethogs || | | | [[nethogs]] || |
| |- | | |- |
| | netstat || | | | [[netstat]] || |
| |- | | |- |
| | netzwerkbefehle || | | | [[netzwerkbefehle]] || |
| |- | | |- |
| | nmap || | | | [[nmap]] || |
| |- | | |- |
| | nslookup || | | | [[nslookup]] || |
| |- | | |- |
| | ping || | | | [[ping]] || |
| |- | | |- |
| | putty || | | | [[putty]] || |
| |- | | |- |
| | route || | | | [[route]] || |
| |- | | |- |
| | rsync || | | | [[rsync]] || |
| |- | | |- |
| | samba/net || | | | [[samba/net]] || |
| |- | | |- |
| | scp || | | | [[scp]] || |
| |- | | |- |
| | ss || | | | [[ss]] || |
| |- | | |- |
| | ssh || | | | [[ssh]] || |
| |- | | |- |
| | ssh-copy-id || | | | [[ssh-copy-id]] || |
| |- | | |- |
| | sshmon || | | | [[sshmon]] || |
| |- | | |- |
| | telnet || | | | [[telnet]] || |
| |- | | |- |
| | traceroute || | | | [[traceroute]] || |
| |- | | |- |
| | wget || | | | [[wget]] || |
| |- | | |- |
| | wireshark || | | | [[wireshark]] || |
| |} | | |} |
|
| |
| == Netzwerkbefehle ==
| |
| {| class="wikitable options big"
| |
| ! Beschreibung !! Linux !! Windows 10 !! MacOS
| |
| |-
| |
| || Informationen zum</br>Netzwerk-Interface
| |
| || ip addr show
| |
| || ipconfig
| |
| || ifconfig
| |
| |-
| |
| || IPv4-Adresse </br>manuel ändern
| |
| || sudo ip addr add <ip-adresse>/<subnetzpräfix> <interface>
| |
| || netsh interface ip set address name=<interface> static <ip-adresse> <netmask> <gateway> (nur mit die Power Shell)
| |
| || ifconfig <interface> <ip-adresse> netmask <subnetmaske>
| |
| |-
| |
| || Hoch-/Runterfahren</br>eines Interfaces
| |
| || ip link set dev <interface> up/down
| |
| || netsh interface set interface <interface> enabled/disabled
| |
| || ifconfig <interface> up/down
| |
| |-
| |
| || IPv4-Adresse</br>zu einem DNS-Name
| |
| || dig A <dns-name>, z.B. dig A heise.de
| |
| || nslookup <dns-name>
| |
| || dig A <dns-name>
| |
| |-
| |
| || IPv6-Adresse</br>zu einem DNS-Name
| |
| || dig AAAA <dns-name>
| |
| || nslookup <dns-name>
| |
| || dig AAAA <dns-name>
| |
| |-
| |
| || Anpingen eines Rechners</br>unter IPv4
| |
| || ping <ip-adresse>, z.B. ping 173.194.116.143
| |
| || ping <ip-adresse>
| |
| || ping <ip-adresse>
| |
| |-
| |
| || Ping beenden
| |
| || <strg><c>
| |
| || n/a
| |
| || <strg><c>
| |
| |-
| |
| || Hilfe zu Ping
| |
| || man ping
| |
| || ping /?
| |
| || man ping
| |
| |-
| |
| || Anpingen eines Rechners</br>mit globaler IPv6-Adresse
| |
| || ping <ipv6-adresse>, z.B. ping 2001:638:408:200::2
| |
| || ping -6 <ipv6-adresse>
| |
| || ping6 <ipv6-adresse>
| |
| |-
| |
| || Anpingen eines Rechner</br>mit link-lokaler IPv6-Adresse
| |
| || ping -I <interface> <link-lokale IPv6-Adresse>, z.B. ping -I eth0 fe80::d8bb:bcff:fefb:57b9
| |
| || ping -6 <link-lokale IPv6-Adresse>
| |
| ||
| |
| |-
| |
| || Anzeige ARP-Cache
| |
| || ip -4 neigh show
| |
| || arp -a
| |
| || arp -a
| |
| |-
| |
| || Löschen aller Einträge</br>im ARP-Cache
| |
| || sudo ip -4 neigh flush all
| |
| || arp -d *
| |
| || arp -ad
| |
| |-
| |
| || Löschen eines IPv4-Eintrages</br>im ARP-Cache
| |
| || sudo ip neigh flush <ipv4-adresse>
| |
| || arp -d <ip-adresse>
| |
| || arp -d <ip-adresse>
| |
| |-
| |
| || Netzwerk neu starten
| |
| || sudo systemctl restart networking
| |
| || netsh interface ip reset
| |
| || ifconfig downifconfig up
| |
| |-
| |
| || Anzeige Neighbor Cache</br>für IPv6
| |
| || ip -6 neigh
| |
| || netsh interface ipv6 show neighbors
| |
| || ndp -an
| |
| |-
| |
| || Löschen aller Einträge</br>im Neighbor Cache für IPv6
| |
| || sudo ip -6 neigh flush all
| |
| || netsh interface ipv6 delete neighbors
| |
| || ndp -c
| |
| |-
| |
| || Löschen eines IPv6-Eintrages</br>im Neighbor-Cache
| |
| || sudo ip neigh flush <ipv6-adresse>
| |
| || netsh interface ipv6 delete address interface="<interface>" address="<adresse>"
| |
| ||
| |
| |-
| |
| || Routing-Tabelle für IPv4
| |
| || route -n
| |
| || route print
| |
| || netstat -nr
| |
| |-
| |
| || Routing-Tabelle für IPv6
| |
| || route -n -6
| |
| || netsh interface ipv6 show route
| |
| ||
| |
| |-
| |
| || Routenverfolgung
| |
| || tracepath <dns-name>
| |
| || tracert <dns-name>
| |
| || traceroute <dns-name>
| |
| |-
| |
| || ARP-/Neighbor-Cache</br>fortlaufend ausgeben
| |
| || watch -n 1 ip -4 neighwatch -n 1 ip -6 neigh
| |
| ||
| |
| ||
| |
| |-
| |
| || Befehl fortlaufend wiederholen
| |
| || watch -n <seconds> <befehl>
| |
| ||
| |
| ||
| |
| |-
| |
| || SSH-Verbindung aufbauen
| |
| || ssh user@ip-adress
| |
| || ssh user@ip-adress
| |
| || ssh user@ip-adress
| |
| |}
| |
|
| |
| [[Kategorie:Netzwerk/Befehl]]
| |