IP6: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:Netzwerk = Links = * [https://danrl.com/projects/ipv6-workshop/Dan%20L%C3%BCdtke%20-%20IPv6-Workshop%20[Dritte%20Auflage].pdf] = Begriffe = * L…“) |
|||
Zeile 20: | Zeile 20: | ||
inet6 fe80::d678:f5c8:cbd7:b8ee/64 scope link noprefixroute | inet6 fe80::d678:f5c8:cbd7:b8ee/64 scope link noprefixroute | ||
valid_lft forever preferred_lft forever | valid_lft forever preferred_lft forever | ||
</pre> | |||
= Tools = | |||
<pre>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 | |||
</pre> | |||
= Globale Addressierung konfigurieren = | |||
* Provider vergibt Präfix, z.B. 2a02:c207:0001:1691:0000:0000:0000:0001/64 | |||
* /etc/network/interfaces | |||
<pre>iface eno1 inet6 static | |||
address 2a02:c207:0001:1691::1 | |||
netmask 64 | |||
gateway fe80::1 | |||
accept_ra 0 | |||
autoconf 0 | |||
privext 0 | |||
</pre> | |||
* /etc/radvd.conf | |||
<pre>interface eth1 { | |||
AdvSendAdvert on; | |||
MinRtrAdvInterval 15; | |||
prefix 2a02:c207:0001:1691:0000:0000:0000:0001; | |||
}; | |||
</pre> | |||
* Installation Daemon (braucht obige Konfigurationsdatei) | |||
<pre> apt-get install radvd | |||
</pre> | </pre> |
Version vom 26. Juni 2020, 13:43 Uhr
Links
- [Dritte%20Auflage.pdf]
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
- /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
- /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