Saturday, November 02, 2024

Re: Configuring IPv6 addresses using dhcp6leased(8)

On 11/2/24 15:32, Brian Conway wrote:
> On Sat, Nov 2, 2024, at 7:09 AM, Christian Schulte wrote:
>> Hello misc@,
>>
>> x500$ cat /etc/hostname.iwm0
>> nwid "FLSTR81WHG6DG" wpa wpakey "xyz"
>> inet autoconf
>> inet6 autoconf
>>
>> Does "inet6 autoconf" with dhcp6leased(8) already work the same way
>> "inet autoconf" with dhcpleased(8) works so far? "inet autoconf"
>> makes
>
> No, it is used for DHCPv6-PD. See the man pages for
> dhcp6leased[.conf].
>
> 'inet6 autoconf' is handled by slaacd.

Thank you. So there must be something else I am doing wrong. Why can't
I ping6 IPv6 addresses? Other devices like smartphones or tablets get
different addresses from the fritz box than the OpenBSD laptop and IPv6
is working flawlessly with them. The fritz box seems to only support
DHCPv6 for handing out IPv6 addresses.

Script started on Sat Nov 2 16:17:57 2024
x500$ slaacctl show interface
iwm0:
index: 2 running: yes temporary: yes
lladdr: e8:b1:fc:51:73:7c
inet6: fe80::eab1:fcff:fe51:737c%iwm0
Router Advertisement from fe80::6b4:feff:fe18:9cab%iwm0
received: 2024-11-01 20:14:47; 72199s ago
Cur Hop Limit: 255, M: 1, O: 1, Router Lifetime: 1800s
Default Router Preference: Medium
Reachable Time: 0ms, Retrans Timer: 0ms
MTU: 1492 bytes
prefix: fd20:3eea:92dd::/64
On-link: 1, Autonomous address-configuration: 1
vltime: 7200, pltime: 3600
prefix: 2001:16b8:814d:7f00::/64
On-link: 1, Autonomous address-configuration: 1
vltime: 7200, pltime: 3600
rdns: 2001:16b8:814d:7f00:6b4:feff:fe18:9cab, lifetime: 1200
rdns: fd20:3eea:92dd:0:6b4:feff:fe18:9cab, lifetime: 1200
x500$ dig www.openbsd.org AAAA

; <<>> dig 9.10.8-P1 <<>> www.openbsd.org AAAA
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17979
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.openbsd.org. IN AAAA

;; ANSWER SECTION:
www.openbsd.org. 28713 IN AAAA 2620:3d:c000:178::80

;; Query time: 1 msec
;; SERVER: 10.0.0.1#53(10.0.0.1)
;; WHEN: Sat Nov 02 16:18:34 CET 2024
;; MSG SIZE rcvd: 72

x500$ ping6 2620:3d:c000:178::80
PING 2620:3d:c000:178::80 (2620:3d:c000:178::80): 56 data bytes
ping6: sendmsg: No route to host
ping: wrote 2620:3d:c000:178::80 64 chars, ret=-1
ping6: sendmsg: No route to host
ping: wrote 2620:3d:c000:178::80 64 chars, ret=-1
ping6: sendmsg: No route to host
ping: wrote 2620:3d:c000:178::80 64 chars, ret=-1
ping6: sendmsg: No route to host
ping: wrote 2620:3d:c000:178::80 64 chars, ret=-1

--- 2620:3d:c000:178::80 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
x500$ ^D

Script done on Sat Nov 2 16:18:49 2024

--
Christian

No comments:

Post a Comment