Skip to content

Commit e7ecdbb

Browse files
author
marci
committed
Entferne Fußnoten aus der Anleitung zum Linux ip-Befehl für bessere Lesbarkeit
1 parent c3b594a commit e7ecdbb

2 files changed

Lines changed: 41 additions & 41 deletions

File tree

content/posts/linux/Der Linux ip-Befehl_ Umfassende Anleitung .de.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ Der `ip`-Befehl ist das zentrale Werkzeug zur Netzwerkkonfiguration unter Linux
2727

2828
## Was ist der ip-Befehl?
2929

30-
Der `ip`-Befehl ist ein vielseitiges Netzwerkkonfigurationstool aus der iproute2-Sammlung, das ursprünglich von Alexey Kuznetsov entwickelt und heute von Stephen Hemminger gepflegt wird[^1][^2]. Es nutzt die Linux Netlink-Schnittstelle für die direkte Kommunikation mit dem Kernel und bietet damit erweiterte Funktionalitäten, die mit den klassischen net-tools nicht verfügbar sind[^3][^4].
30+
Der `ip`-Befehl ist ein vielseitiges Netzwerkkonfigurationstool aus der iproute2-Sammlung, das ursprünglich von Alexey Kuznetsov entwickelt und heute von Stephen Hemminger gepflegt wird. Es nutzt die Linux Netlink-Schnittstelle für die direkte Kommunikation mit dem Kernel und bietet damit erweiterte Funktionalitäten, die mit den klassischen net-tools nicht verfügbar sind.
3131

3232
## Grundlegende Syntax und Struktur des IP-Befehl
3333

3434
### Allgemeine Syntax
3535

36-
Die grundlegende Syntax des `ip`-Befehls folgt diesem Schema[^5][^6][^7]:
36+
Die grundlegende Syntax des `ip`-Befehls folgt diesem Schema:
3737

3838
```
3939
ip [OPTIONEN] OBJEKT {BEFEHL | help}
@@ -50,20 +50,20 @@ Dabei stehen die einzelnen Komponenten für:
5050

5151
| Option | Beschreibung |
5252
|:------ |:--------------------------------------- |
53-
| `-4` | Nur IPv4-Adressen anzeigen[^8][^9] |
54-
| `-6` | Nur IPv6-Adressen anzeigen[^8][^9] |
55-
| `-c` | Farbige Ausgabe aktivieren[^10][^11] |
56-
| `-s` | Statistiken anzeigen[^8][^10] |
57-
| `-d` | Detaillierte Informationen ausgeben[^6] |
58-
| `-j` | JSON-formatierte Ausgabe[^10] |
59-
| `-h` | Menschenlesbare Werte verwenden[^10] |
60-
| `-br` | Kurze Ausgabe (brief)[^10] |
53+
| `-4` | Nur IPv4-Adressen anzeigen |
54+
| `-6` | Nur IPv6-Adressen anzeigen |
55+
| `-c` | Farbige Ausgabe aktivieren |
56+
| `-s` | Statistiken anzeigen |
57+
| `-d` | Detaillierte Informationen ausgeben |
58+
| `-j` | JSON-formatierte Ausgabe |
59+
| `-h` | Menschenlesbare Werte verwenden |
60+
| `-br` | Kurze Ausgabe |
6161

6262
## HauptoThe Linux IP configuration command ‘ip’bjekte des ip-Befehls
6363

6464
### address (addr, a) - IP-Adressverwaltung mit dem IP-Befehl
6565

66-
Das `address`-Objekt verwaltet IPv4- und IPv6-Adressen auf Netzwerkschnittstellen[^5][^8][^12].
66+
Das `address`-Objekt verwaltet IPv4- und IPv6-Adressen auf Netzwerkschnittstellen.
6767

6868
#### Grundlegende Befehle:
6969

@@ -92,7 +92,7 @@ sudo ip -6 addr add 2001:db8::1/64 dev eth0
9292

9393
### link (l) - Netzwerkschnittstellen-Management mit dem IP-Befehl
9494

95-
Das `link`-Objekt verwaltet die physikalischen und virtuellen Netzwerkschnittstellen auf Layer-2-Ebene[^5][^12][^7].
95+
Das `link`-Objekt verwaltet die physikalischen und virtuellen Netzwerkschnittstellen auf Layer-2-Ebene.
9696

9797
#### Grundlegende Befehle:
9898

@@ -128,7 +128,7 @@ sudo ip link add name br0 type bridge
128128

129129
### route (r) - Routing-Management mit dem IP-Befehl
130130

131-
Das `route`-Objekt verwaltet die Routing-Tabellen des Systems[^5][^8][^12].
131+
Das `route`-Objekt verwaltet die Routing-Tabellen des Systems.
132132

133133
#### Grundlegende Befehle:
134134

@@ -160,7 +160,7 @@ sudo ip route add blackhole 192.168.100.0/24
160160

161161
### neighbour (neigh, n) - ARP/Neighbor-Verwaltung
162162

163-
Das `neighbour`-Objekt verwaltet die ARP-Tabelle (Address Resolution Protocol) und NDISC-Cache[^5][^8][^12].
163+
Das `neighbour`-Objekt verwaltet die ARP-Tabelle (Address Resolution Protocol) und NDISC-Cache.
164164

165165
#### GrunThe Linux IP configuration command ‘ip’dlegende Befehle:
166166

@@ -188,7 +188,7 @@ ip -6 neigh show
188188

189189
### maddress (maddr, m) - Multicast-Verwaltung
190190

191-
Das `maddress`-Objekt verwaltet Multicast-Adressen auf Netzwerkschnittstellen[^12][^4].
191+
Das `maddress`-Objekt verwaltet Multicast-Adressen auf Netzwerkschnittstellen.
192192

193193
#### Grundlegende Befehle:
194194

@@ -200,7 +200,7 @@ Das `maddress`-Objekt verwaltet Multicast-Adressen auf Netzwerkschnittstellen[^1
200200

201201
### rule (ru) - Policy Routing
202202

203-
Das `rule`-Objekt verwaltet Regeln für richtlinienbasiertes Routing[^12][^13].
203+
Das `rule`-Objekt verwaltet Regeln für richtlinienbasiertes Routing.
204204

205205
#### Grundlegende Befehle:
206206

@@ -212,7 +212,7 @@ Das `rule`-Objekt verwaltet Regeln für richtlinienbasiertes Routing[^12][^13].
212212

213213
### tunnel (t) - Tunnel-Management
214214

215-
Das `tunnel`-Objekt verwaltet verschiedene Arten von Netzwerk-Tunneln[^12][^13].
215+
Das `tunnel`-Objekt verwaltet verschiedene Arten von Netzwerk-Tunneln.
216216

217217
#### Grundlegende Befehle:
218218

@@ -227,11 +227,11 @@ Das `tunnel`-Objekt verwaltet verschiedene Arten von Netzwerk-Tunneln[^12][^13].
227227
- **GRE**: Generic Routing Encapsulation
228228
- **IPIP**: IP-in-IP Tunnel
229229
- **SIT**: Simple Internet Transition (IPv6-over-IPv4)
230-
- **VXLAN**: Virtual eXtensible Local Area Network
230+
- **VXLAN**: Virtual extensible Local Area Network
231231

232232
### xfrm (x) - IPSec-Verwaltung
233233

234-
Das `xfrm`-Objekt verwaltet IPSec-Transformationen und -Richtlinien[^6].
234+
Das `xfrm`-Objekt verwaltet IPSec-Transformationen und -Richtlinien.
235235

236236
#### Grundlegende Befehle:
237237

@@ -257,7 +257,7 @@ ip monitor route
257257

258258
#### netns - Network Namespaces
259259

260-
Network Namespaces ermöglichen die Isolation von Netzwerk-Stacks[^6].
260+
Network Namespaces ermöglichen die Isolation von Netzwerk-Stacks.
261261

262262
| Befehl | Beschreibung | Beispiel |
263263
|:------------ |:---------------------------- |:------------------- |
@@ -526,7 +526,7 @@ sudo ip neigh add 192.168.1.1 lladdr aa:bb:cc:dd:ee:ff dev eth0
526526

527527
- **Manpages**: `man ip`, `man ip-address`, `man ip-link`, `man ip-route`
528528
- **Hilfe-System**: `ip help`, `ip addr help`, `ip link help`
529-
- **Online-Dokumentation**: Linux Foundation iproute2 Wiki[^2]
529+
- **Online-Dokumentation**: Linux Foundation iproute2 wiki
530530

531531
### Verwandte Tools
532532

content/posts/linux/Der Linux ip-Befehl_ Umfassende Anleitung .en.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ keywords:
2424
## The modern Linux IP command for network configuration under Linux
2525
The `ip` command is the central tool for network configuration under Linux and has established itself as a modern replacement for outdated commands such as `ifconfig`, `route`, and `arp`. As part of the iproute2 collection, it provides a unified interface for all aspects of network management and is available by default in all modern Linux distributions.
2626
## What is the ip command?
27-
The `ip` command is a versatile network configuration tool from the iproute2 collection, originally developed by Alexey Kuznetsov and now maintained by Stephen Hemminger[^1].[^2]. It uses the Linux Netlink interface for direct communication with the kernel, providing advanced functionality not available with the classic net tools[^3][^4].
27+
The `ip` command is a versatile network configuration tool from the iproute2 collection, originally developed by Alexey Kuznetsov and now maintained by Stephen Hemminger. It uses the Linux Netlink interface for direct communication with the kernel, providing advanced functionality not available with the classic net tools.
2828
## Basic syntax and structure of the IP command
2929
### General syntax
30-
The basic syntax of the `ip` command follows this pattern[^5][^6][^7]:
30+
The basic syntax of the `ip` command follows this pattern:
3131
```
3232
ip [OPTIONS] OBJECT {COMMAND | help}
3333
```
@@ -39,17 +39,17 @@ The individual components stand for:
3939
### Important options
4040
| Option | Description |
4141
|:------ |:--------------------------------------- |
42-
| `-4` | Display IPv4 addresses only[^8][^9] |
43-
| `-6` | Display only IPv6 addresses[^8][^9] |
44-
| `-c` | Enable colored output[^10][^11] |
45-
| `-s` | Display statistics[^8][^10] |
46-
| `-d` | Output detailed information[^6] |
47-
| `-j` | JSON-formatted output[^10] |
48-
| `-h` | Use human-readable values[^10] |
49-
| `-br` | Brief output (brief)[^10] |
42+
| `-4` | Display IPv4 addresses only |
43+
| `-6` | Display only IPv6 addresses |
44+
| `-c` | Enable colored output |
45+
| `-s` | Display statistics |
46+
| `-d` | Output detailed information |
47+
| `-j` | JSON-formatted output |
48+
| `-h` | Use human-readable values |
49+
| `-br` | Brief output |
5050
## Main objects of the ip command
5151
### address (addr, a) - IP address management with the IP command
52-
The `address` object manages IPv4 and IPv6 addresses on network interfaces[^5][^8][^12].
52+
The `address` object manages IPv4 and IPv6 addresses on network interfaces.
5353
#### Basic commands:
5454
| Command | Description | Example |
5555
|:------------ |:---------------------------------------- |:-------------------------------------- |
@@ -69,7 +69,7 @@ sudo ip addr add 192.168.1.100/24 broadcast 192.168.1.255 dev eth0
6969
sudo ip -6 addr add 2001:db8::1/64 dev eth0
7070
```
7171
### link (l) - Network interface management with the IP command
72-
The `link` object manages the physical and virtual network interfaces at Layer 2 level[^5][^12][^7].
72+
The `link` object manages the physical and virtual network interfaces at Layer 2 level.
7373
#### Basic commands:
7474
| Command | Description | Example |
7575
|:------------ |:------------------------------- |:--------------------------------------------- |
@@ -94,7 +94,7 @@ sudo ip link add link eth0 name eth0.100 type vlan id 100
9494
sudo ip link add name br0 type bridge
9595
```
9696
### route (r) - Routing management with the IP command
97-
The `route` object manages the system's routing tables[^5][^8][^12].
97+
The `route` object manages the system's routing tables.
9898
#### Basic commands:
9999
| Command | Description | Example |
100100
|:------------ |:------------------------------- |:----------------------------------------- |
@@ -116,7 +116,7 @@ sudo ip route add 10.0.0.0/8 dev eth1
116116
sudo ip route add blackhole 192.168.100.0/24
117117
```
118118
### neighbor (neigh, n) - ARP/neighbor management
119-
The `neighbor` object manages the ARP table (Address Resolution Protocol) and NDISC cache[^5][^8][^12].
119+
The `neighbor` object manages the ARP table (Address Resolution Protocol) and NDISC cache.
120120
#### Basic commands:
121121
| Command | Description | Example |
122122
|:------------ |:----------------------------- |:------------------------------------------------------------ |
@@ -135,23 +135,23 @@ sudo ip neigh flush dev eth0
135135
ip -6 neigh show
136136
```
137137
### maddress (maddr, m) - Multicast management
138-
The `maddress` object manages multicast addresses on network interfaces[^12][^4].
138+
The `maddress` object manages multicast addresses on network interfaces.
139139
#### Basic commands:
140140
| Command | Description | Example |
141141
|:------------ |:---------------------------- |:----------------------------------------- |
142142
| `show/list` | Display multicast addresses | `ip maddr show` |
143143
| `add` | Add multicast address | `ip maddr add 01:00:5e:00:00:01 dev eth0` |
144144
| `del/delete` | Remove multicast address | `ip maddr del 01:00:5e:00:00:01 dev eth0` |
145145
### rule (ru) - Policy Routing
146-
The `rule` object manages rules for policy-based routing[^12][^13].
146+
The `rule` object manages rules for policy-based routing.
147147
#### Basic commands:
148148
| Command | Description | Example |
149149
|:------------ |:------------------------------ |:------------------------------------------- |
150150
| `show/list` | Display policy routing rules | `ip rule show` |
151151
| `add` | Add routing rule | `ip rule add from 192.168.1.0/24 table 100` |
152152
| `del/delete` | Remove routing rule | `ip rule del from 192.168.1.0/24` |
153153
### tunnel (t) - Tunnel management
154-
The `tunnel` object manages different types of network tunnels[^12][^13].
154+
The `tunnel` object manages different types of network tunnels.
155155
#### Basic commands:
156156
| Command | Description | Example |
157157
|:------------ |:---------------- |:--------------------------------------------- |
@@ -181,7 +181,7 @@ ip monitor address
181181
ip monitor route
182182
```
183183
#### netns - Network Namespaces
184-
Network Namespaces enable the isolation of network stacks[^6].
184+
Network Namespaces enable the isolation of network stacks.
185185
| Command | Description | Example |
186186
|:------------ |:---------------------------- |:------------------- |
187187
| `list` | List network namespaces | `ip netns list` |
@@ -344,7 +344,7 @@ fi
344344
### JSON output for automation
345345
```bash
346346
# JSON-formatted output for further processing
347-
ip -j addr show | jq ‘.[] | select(.ifname==“eth0”) | .addr_info[^0].local’
347+
ip -j addr show | jq ‘.[] | select(.ifname==“eth0”) | .addr_info.local’
348348
# All active interfaces as JSON
349349
ip -j link show | jq ‘.[] | select(.operstate==“UP”) | .ifname’
350350
```
@@ -377,7 +377,7 @@ sudo ip neigh add 192.168.1.1 lladdr aa:bb:cc:dd:ee:ff dev eth0
377377
### Documentation IP command
378378
- **Man pages**: `man ip`, `man ip-address`, `man ip-link`, `man ip-route`
379379
- **Help system**: `ip help`, `ip addr help`, `ip link help`
380-
- **Online documentation**: Linux Foundation iproute2 Wiki[^2]
380+
- **Online documentation**: Linux Foundation iproute2 Wiki
381381
### Related tools
382382
- **ss**: Replacement for `netstat` for socket analysis
383383
- **tc**: Traffic control for QoS and bandwidth management

0 commit comments

Comments
 (0)