[6bone-pl] Re: Dziwny adres
Rafal Maszkowski
rzm w icm.edu.pl
Czw, 7 Maj 1998, 13:20:00 MEST
Andrzej Nakonieczny writes:
> Wojciech Slusarczyk wrote:
> > tylko:fe80::280:c8ff:fe2f:dbb7/10 Scope: Link i to w dodatku na każdym
> Ooops, sorry za pomyłkę ...
> > hoście z wkompilowaną
> > obsługą IPv6. Po prostu po zbootowaniu kompa pojawia się w ifconfigu i
> > kropka... Nawet jeżeli
> > nie konfiguruję sieci v6 on już jest... Po prostu przyzwyczaiłem się do
> > tej anomalii...
> To pora się odzwyczaić - Linux to nie winda Panie Kolego ... ;)
Mówiłem, że RFC, tylko nie miałem kiedy wygrzebać, pouczmy się razem. To jest
draft-ietf-ipngwg-addr-arch-v2-06.txt (widzę, że pub/doc/internet-drafts są
niezbyt aktualne, zaraz poprawię, może jest nowsza wersja), i tam:
All interfaces are required to have at least one link-local unicast
address (see section 2.8 for additional required addresses). A
single interface may also be assigned multiple IPv6 addresses of any
type (unicast, anycast, and multicast) or scope. Unicast addresses
with scope greater than link-scope are not needed for interfaces that
are not used as the origin or destination of any IPv6 packets to or
from non-neighbors. This is sometimes convenient for point-to-point
interfaces. There is one exception to this addressing model:
...
A slightly sophisticated host (but still rather simple) may
additionally be aware of subnet prefix(es) for the link(s) it is
attached to, where different addresses may have different values for
n:
| n bits | 128-n bits |
+------------------------------------------------+----------------+
| subnet prefix | interface ID |
+------------------------------------------------+----------------+
...
Interface identifiers in IPv6 unicast addresses are used to identify
interfaces on a link. They are required to be unique on that link.
They may also be unique over a broader scope. In many cases an
interface's identifier will be the same as that interface's link-
layer address. The same interface identifier may be used on multiple
interfaces on a single node.
...
This use of the universal/local bit in the IEEE EUI-64 identifier is
to allow development of future technology that can take advantage of
interface identifiers with global scope.
...
The link-unique interface identifier should be generated in a manner
that it does not change after a reboot of a node or if interfaces are
added or deleted from the node.
...
APPENDIX A : Creating EUI-64 based Interface Identifiers
...
- Added text to allow interface identifier to be used on more than
one interface on same node.
Wynika z tego chyba, że
- muszą być takie identifiers (zapewne wyłączenie opcji EUI-64 przy kompilacji
spowoduje, że nie będą, nie jestem pewien)
- mogą zawierać różne ciekawe informacje - np. długośc maski (tylko skąd ma
ją znać moduł v6 przez skonfigurowaniem?)
- taki id może być używany zamiast nazwy interfejsu np. w firewallu
- kilka interfejsów może mieć jeden id (load balancing?)
Przy okazji jest tez o ::/0:
2.5.2 The Unspecified Address
The address 0:0:0:0:0:0:0:0 is called the unspecified address. It
must never be assigned to any node. It indicates the absence of an
address. One example of its use is in the Source Address field of
any IPv6 packets sent by an initializing host before it has learned
its own address.
The unspecified address must not be used as the destination address
of IPv6 packets or in IPv6 Routing Headers.
Więc nie można go użyć jako defaulta - chyba?
R.
Więcej informacji o liście dyskusyjnej 6BONE-PL