Sunday, April 07, 2024

Re: ipv6 assistance

I'll have to get back to you on this tomorrow, but I JUST got IPv6 working again with Comcast. The short answer: 


Recently Comcast changed how their dhcpv6 servers work in my area and I had to change the dhcpv6-server rule to this

pass in on egress inet6 proto udp \
        from { fe80::/10 2001:558::/32 } port dhcpv6-server \
        to fe80::/10 port dhcpv6-client \
        no state

The difference being adding the 2001:558::/32 address, being Comcast's IPv6 block they talk over. Before this I had v6 working for years until a maintenance window and then it automagically stopped.

Courtney

On Apr 6, 2024, at 8:12 AM, Sonic <sonicsmith@gmail.com> wrote:


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