11.02.2016 00:21, Josef Bacik пишет: > ipv6 routing in grub2 is broken, we cannot talk to anything outside our local > network or anything that doesn't route in our global namespace. This patch > fixes this by doing a couple of things > > 1) Read the router information off of the router advertisement. If we have a > router lifetime we need to take the source address and create a route from it. > > 2) Changes the routing stuff slightly to allow you to specify a gateway _and_ > an > interface. Since the router advertisements come in on the link local address > we > need to associate it with the global address on the card. So when we are > processing the router advertisement, either use the SLAAC interface we create > and add the route to that interface, or loop through the global addresses we > currently have on our interface and associate it with one of those addresses. > We need to have a special case here for the default route so that it gets > used, > we do this by setting the masksize to 0 to mean it encompasses all networks. > The routing code will automatically select the best route so if there is a > closer match we will use that. > > With this patch I can now talk to ipv6 addresses outside of my local network. > Thanks, >
Committed. Thanks! _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel