Saturday, April 06, 2024

ipv6 assistance

Running -current on my router and finally (after years) decided to move into using ipv6.
I added "inet6 autoconf" to hostname.em0 (also has "inet autoconf") and I get a link local address:
=================================
# ifconfig em0              
em0:    inet6 fe80::2132:31ff:fe0b:7ea4%em0 prefixlen 64 scopeid 0x1
        inet 69.31.273.6 netmask 0xfffffc00 broadcast 69.31.273.255
=================================
And an ipv6 default route:
=================================
Internet6:        
Destination                                 Gateway                                 Flags   Refs      Use   Mtu  Prio Iface
default                                     fe80::301:5bcf:fe75:2646%em0            UGS        0       22     -     8 em0
=================================
Which matches the default router proposal listed by slaacctl:
=================================
em0:
         index:   1 running: yes temporary: yes
        lladdr: 40:62:31:0b:7e:a4
         inet6: fe80::2132:31ff:fe0b:7ea4%em0
        Router Advertisement from fe80::201:5cff:fe75:2646%em0
                received: 2024-04-06 10:49:17; 0s ago
                Cur Hop Limit:   0, M: 1, O: 1, Router Lifetime:  1800s
                Default Router Preference: Medium
                Reachable Time:   3600000ms, Retrans Timer:      1000ms
                prefix: 2001:623:8016:54::/64
                        On-link: 0, Autonomous address-configuration: 0
                        vltime:     604800, pltime:     302400
                prefix: 2001:623:6007:a5::/64
                        On-link: 0, Autonomous address-configuration: 0
                        vltime:     604800, pltime:     302400
                prefix: 2001:623:500e:16::/64
                        On-link: 0, Autonomous address-configuration: 0
                        vltime:     604800, pltime:     302400
                prefix: 2001:623:4020:a5::/64
                        On-link: 0, Autonomous address-configuration: 0
                        vltime:     604800, pltime:     302400
        Default router proposals
                id:    1, state: PROPOSAL_CONFIGURED
                router: fe80::301:5bcf:fe75:2646%em0
                router lifetime:       1800
                Preference: Medium
                updated: 2024-04-06 10:49:17; 0s ago, timeout:       1788s
=================================
However, there's no other ipv6 address on the interface - I suspect an address from one of those 2001: prefix groups needs to be assigned.
Should not dhcpleased handle this?
Most of the web posts I find deal with the pre-dhcpleased days.

I'm on Comcast (Xfinity) in the US.

Thank you,
Chris



No comments:

Post a Comment