1 |
On 2019-11-28 04:11, Ralph Seichter wrote: |
2 |
|
3 |
> > But what about connecting to the outside world? For that, the |
4 |
> > link-local address doesn't work. |
5 |
> |
6 |
> It does work, actually. fe80::1 is a perfectly valid way to specify the |
7 |
> default gateway. Remember that NICs have several IPv6 addresses with |
8 |
> different scopes. |
9 |
|
10 |
Sorry, I'm still confused :-( My host has to set the source address |
11 |
field in outgoing packets to something. If it's the link local address |
12 |
the router can't just forward it unmodified, or upstream routers and |
13 |
hosts won't know where it originally came from. What am I missing? |
14 |
|
15 |
wikipedia: |
16 |
|
17 |
In a computer network, a link-local address is a network address that |
18 |
is valid only for communications within the network segment or the |
19 |
broadcast domain that the host is connected to. |
20 |
|
21 |
As for fe80::1 being good as it is ... |
22 |
|
23 |
matica!8 lc$ route -6 |
24 |
Kernel IPv6 routing table |
25 |
Destination Next Hop Flag Met Ref Use If |
26 |
localhost/128 [::] Un 0 2 0 lo |
27 |
fe80::52e5:49ff:fec0:504d/128 [::] Un 0 3 0 enp2s0 |
28 |
fe80::/64 [::] U 256 2 0 enp2s0 |
29 |
ff00::/8 [::] U 256 2 0 enp2s0 |
30 |
[::]/0 [::] !n -1 1 0 lo |
31 |
matica!9 lc$ ping -6 fe80::1 |
32 |
PING fe80::1(fe80::1) 56 data bytes |
33 |
From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=1 Destination unreachable: Address unreachable |
34 |
From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=2 Destination unreachable: Address unreachable |
35 |
From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=3 Destination unreachable: Address unreachable |
36 |
From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=4 Destination unreachable: Address unreachable |
37 |
From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=5 Destination unreachable: Address unreachable |
38 |
From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=6 Destination unreachable: Address unreachable |
39 |
^C |
40 |
--- fe80::1 ping statistics --- |
41 |
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 143ms |
42 |
pipe 3 |
43 |
matica!10 lc$ traceroute -6 fe80::1 |
44 |
traceroute to fe80::1 (fe80::1), 30 hops max, 80 byte packets |
45 |
connect: Invalid argument |
46 |
|
47 |
> > No configuration needed for this ULA thing? How does it happen, then - |
48 |
> > is it implemented entirely in the kernel? |
49 |
> |
50 |
> Before I try to come up with my own explanation, I suggest you search |
51 |
> for terms like Neighbor Discovery Protocol (NDP) and Stateless Address |
52 |
> Autoconfiguration (SLAAC). The latter, for example, is the reason why |
53 |
> DHCPv6 is often not necessary. |
54 |
|
55 |
Ok, I'll do that ... I wonder if those can give me a real address though. |
56 |
|
57 |
-- |
58 |
Please don't Cc: me privately on mailing lists and Usenet, |
59 |
if you also post the followup to the list or newsgroup. |
60 |
To reply privately _only_ on Usenet and on broken lists |
61 |
which rewrite From, fetch the TXT record for no-use.mooo.com. |