[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: handle route information option (#16568)

benpicco notifications at github.com
Mon Jun 28 10:04:05 CEST 2021


@benpicco commented on this pull request.



> @@ -174,6 +174,17 @@ void dhcpv6_client_conf_prefix(unsigned iface, const ipv6_addr_t *pfx,
             gnrc_rpl_root_init(CONFIG_GNRC_RPL_DEFAULT_INSTANCE, &addr, false, false);
         }
     }
+
+    /* start advertising subnet */
+    gnrc_ipv6_nib_change_rtr_adv_iface(netif, true);
+}
+
+void dhcpv6_client_conf_done(unsigned iface)
+{
+    gnrc_netif_t *netif = gnrc_netif_get_by_pid(iface);
+
+    /* inform upstream about subnets */

But the border router has it's own subnet for the 6LoWPAN too.
If the upstream router manages a /56 and hands the border router a /62 for use in the WPAN, nodes in the upstream network still have to route via the border router if the destination is in the /62 subnet, they must not assume the host is on-link. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16568#discussion_r659565891
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210628/41bfa767/attachment.htm>


More information about the notifications mailing list