[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!
- [PATCH 04/14] tcp: add window scaling and RTTM support, (continued)
- [PATCH 04/14] tcp: add window scaling and RTTM support, Josef Bacik, 2016/02/10
- [PATCH 01/14] Added net_bootp6 command, Josef Bacik, 2016/02/10
- [PATCH 02/14] UEFI IPv6 PXE support, Josef Bacik, 2016/02/10
- [PATCH 05/14] net: don't free uninitialized sockets in dns, Josef Bacik, 2016/02/10
- [PATCH 07/14] efinet: retransmit if our device is busy, Josef Bacik, 2016/02/10
- [PATCH 03/14] Use UEFI MAC device as default configured by net_bootp6, Josef Bacik, 2016/02/10
- [PATCH 14/14] net: add interfaces when we open a card, Josef Bacik, 2016/02/10
- [PATCH 06/14] net: fix ipv6 routing, Josef Bacik, 2016/02/10
- Re: [PATCH 06/14] net: fix ipv6 routing,
Andrei Borzenkov <=