dhcpcd-discuss

Re: 8.0.4 stopped setting ipv6 default route on FreeBSD 12.0

Roy Marples

Thu Sep 05 09:06:55 2019

Awesome!

I committed a better patch here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=34b14cedc67fc7ee84d9bf17b260e90722217bf3

Basically we need to consider if not the same interface, is the interface forwarding or not.

Any change I can get you to try this one please?

Thanks

Roy

On 05/09/2019 03:31, Athan Papadimitriou wrote:
Yes Roy, the patch helps!
Seems to be working as before after applied.

I'll keep an eye on it for a while and keep you informed if noticed anything wrong.

Thanks,

Athan


Στις Πέμ, 5 Σεπ 2019 στις 04:59 ο χρήστης Roy Marples <roy@xxxxxxxxxxxx <mailto:roy@xxxxxxxxxxxx>> έγραψε:

    Hi Athan

    On 05/09/2019 02:24, Athan Papadimitriou wrote:
     > My FreeBSD 12.0 routing setup stopped setting ipv6 default route
    since
     > yesterday's dhcpcd 8.0.4 release.
     > It used to work fine with all previous 7.xx and 8.xx versions,
    including
     > 8.0.3 which is the one i downgraded to for now.

    8.0.4 has a new feature:
       * inet6: Fon't install a default route if only lladdresses

     >
     > My dhcpcd.conf follows
     >
     > clientid
     > noipv4
     > noipv4ll
     > noipv6rs

    No IPv6RS? Where do you expect the default route to come from?

     > ipv6only
     > release
     > option rapid_commit
     > option interface_mtu
     > option classless_static_routes
     > require dhcp_server_identifier
     >
     > nohook resolv.conf, hostname, ntp, test, dump
     >
     > allowinterfaces ng0 bridge0
     >
     > interface ng0
     >      ipv6rs

    OK, so default route *could* come from here.

     >      ipv6ra_noautoconf

    But no addresses?

     >      iaid 0
     >      ia_pd 0/::/56 bridge0/0/64

    So this is entirely reliant on a global address on another interface?
    Fair enough. Does the attached patch help?

    Roy


Follow-Ups:
Re: 8.0.4 stopped setting ipv6 default route on FreeBSD 12.0Athan Papadimitriou
References:
8.0.4 stopped setting ipv6 default route on FreeBSD 12.0Athan Papadimitriou
Re: 8.0.4 stopped setting ipv6 default route on FreeBSD 12.0Roy Marples
Re: 8.0.4 stopped setting ipv6 default route on FreeBSD 12.0Athan Papadimitriou
Archive administrator: postmaster@marples.name