tldr/pages.de/linux/ip-address.md

29 lines
655 B
Markdown
Raw Permalink Normal View History

# ip address
2021-03-25 16:42:04 +00:00
> IP Adressen Management Unterbefehl.
> Weitere Informationen: <https://manned.org/ip-address>.
2021-03-25 16:42:04 +00:00
- Zeige Netzwerk-Interfaces mit ihren Adressen:
`ip address`
2021-03-25 16:42:04 +00:00
- Zeige nur die aktiven Netzwerk-Interfaces:
`ip address show up`
2021-03-25 16:42:04 +00:00
- Zeige Informationen über ein bestimmtes Interface:
`ip address show dev {{eth0}}`
2021-03-25 16:42:04 +00:00
- Füge eine Adresse zu einem Interface hinzu:
`ip address add {{ip_adresse}} dev {{eth0}}`
2021-03-25 16:42:04 +00:00
- Entferne eine Adresse von einem Interface:
`ip address delete {{ip_adresse}} dev {{eth0}}`
- Entfernt alle IP Adressen in einem speziellen Bereich von einem Interface:
`ip address flush dev {{eth0}} scope {{global|host|link}}`