fix typos

Signed-off-by: Marek Küthe <m.k@mk16.de>
This commit is contained in:
Marek Küthe 2023-01-03 16:06:18 +01:00
parent d2ce3b2213
commit 202ff90cd4
No known key found for this signature in database
GPG Key ID: 7E869146699108C7
1 changed files with 5 additions and 10 deletions

View File

@ -25,12 +25,7 @@ ip link del <interface>
To assign an IP address to the interface, you can use the following command:
```
ip link del <interface>
```
To assign an IP address to the interface, you can use the following command:
```
ip addr add dev <interface> <ll>
ip addr add dev <interface> <ll>/64
```
Replace `<ll>` with your own link-local address.
@ -41,7 +36,7 @@ If you want to start the GRE tunnel automatically, you can use an ifupdown templ
auto <interface>
iface <interface> inet6 manual
pre-up ip link add <interface> type gre remote <remote> local <local> ttl 255
up ip addr add dev <interface> <ll>
up ip addr add dev <interface> <ll>/64
post-down ip link del <interface>
```
@ -55,7 +50,7 @@ ifdown <interface>
## GRETAP
GRETAP tunnels operate on layer 2 of the ISO/OSI model. To use a GRETAP tunnel, you only have to change the mode: For IPv4 `gretap` and for IPv6 `ip6gretap`.
GRETAP tunnels on layer 2 of the ISO/OSI model. To use a GRETAP tunnel, you only have to change the mode: For IPv4 `gretap` and for IPv6 `ip6gretap`.
## Simple Internet Transition (SIT)
@ -70,8 +65,8 @@ For VXLAN the type is changed to `vxlan`. Furthermore there are two additional p
```
ip link add <interface> type vxlan id <vni> remote <remote> local <local> dstport <dstport>
```
`<vni>` (**V**irtual Extensible LA**N** **ID** ) is the ID of the VLAN. This can range from 1 to 16777216 (2^24). It must be the same for both peers and must not already be used.
`<dstport>` is the port which is used for the VXLAN connection. It must be open on UDP. The port must be the same for both peers. Officially VXLAN has port 4789, but for historical reasons Linux uses port default 8472. If you specify a 0 as port, the default port default 8472 is used. If you don't specify a port, you get a warning.
`<vni>` (**V**irtual Extensible LA**N** **ID**) is the ID of the VLAN. This can range from 1 to 16777216 (2^24). It must be the same for both peers and must not already be used.
`<dstport>` is the port which is used for the VXLAN connection. It must be open on UDP. The port must be the same for both peers. Officially VXLAN has port 4789, but for historical reasons Linux uses the port 8472. If you specify 0 as port, the default port 8472 is used. If you don't specify a port, you get a warning.
## IP tunnel over UDP