grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 06/14] net: fix ipv6 routing


From: Andrei Borzenkov
Subject: Re: [PATCH 06/14] net: fix ipv6 routing
Date: Thu, 25 Feb 2016 22:39:40 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

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!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]