IP6: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Links) |
|||
Zeile 2: | Zeile 2: | ||
= Links = | = Links = | ||
* https://mirrors.bieringer.de/Linux+IPv6-HOWTO-de/x494.html | |||
* [https://danrl.com/projects/ipv6-workshop/Dan%20L%C3%BCdtke%20-%20IPv6-Workshop%20[Dritte%20Auflage].pdf] | * [https://danrl.com/projects/ipv6-workshop/Dan%20L%C3%BCdtke%20-%20IPv6-Workshop%20[Dritte%20Auflage].pdf] | ||
Version vom 16. September 2022, 16:18 Uhr
Links
Begriffe
- Link: Entität, die IP6-Adresse haben kann, z.B. Interface
Adressen
- scope link: nur lokal ansprechbar: fe80:*
- scope global: global ansprechbar: 2xxx:*
ip addr 2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 8c:16:45:92:9a:c6 brd ff:ff:ff:ff:ff:ff inet 192.168.2.106/24 brd 192.168.2.255 scope global dynamic noprefixroute enp2s0 valid_lft 315350808sec preferred_lft 315350808sec inet6 2003:f2:6702:6800:9874:3612:5ea4:128c/64 scope global dynamic noprefixroute valid_lft 7129sec preferred_lft 1729sec inet6 fe80::d678:f5c8:cbd7:b8ee/64 scope link noprefixroute valid_lft forever preferred_lft forever
Tools
ip neighbor show 10.10.10.1 dev ens18 lladdr 02:63:14:3c:51:cb REACHABLE fe80::dc82:96ff:fe7a:34ba dev ens18 lladdr 02:63:14:3c:51:cb STALE ip link show dev e
Globale Addressierung konfigurieren
- Provider vergibt Präfix, z.B. 2a02:c207:0001:1691:0000:0000:0000:0001/64
- kurz: 2a02:c207:0001:1691::1
Basishost ("Router")
- Temporär
ip addr add 2a02:c207:0001:1691::1/64 dev eno1 ip route add default via fe80::1 dev eno1
- /etc/network/interfaces
iface eno1 inet6 static address 2a02:c207:0001:1691::1 netmask 64 gateway fe80::1 accept_ra 0 autoconf 0 privext 0
VM oder Intranet
- Temporär
ip addr add 2a02:c207:0001:1691:2:04/64 dev eno1 ip route add default via 2a02:c207:0001:1691::1 dev eno1
Sonstiges
- /etc/radvd.conf
interface eth1 { AdvSendAdvert on; MinRtrAdvInterval 15; prefix 2a02:c207:0001:1691:0000:0000:0000:0001; };
- Installation Daemon (braucht obige Konfigurationsdatei)
apt-get install radvd