tech-net archive

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

Re: RFC: nexthop cache separation



On Fri, Mar 11, 2016 at 8:43 PM, Roy Marples <roy%marples.name@localhost> wrote:
> On 11/03/2016 11:25, Joerg Sonnenberger wrote:
>> On Fri, Mar 11, 2016 at 05:40:42PM +0900, Ryota Ozaki wrote:
>>> - route -xresolve and route -[no]cloned are
>>>   removed
>>>   - -[no]cloning remains because it seems
>>>     there are users
>>>   - -[no]connected is introduced and recommended
>>>     to be used instead of -[no]cloning
>>
>> One special case that needs to remain supported is the equivalent of the
>> following:
>>
>>     route add -net $gateway/32 -link -cloning -iface wm0
>>     route add default $gateway -ifa $myip
>>
>> where $gateway and $myip are not in the same IP range.
>
> From a cursory review, this should still work?

Yes. I wrote a test for the case (tests/net/route/t_route.sh)
and it still passed with the patch.

  ozaki-r


Home | Main Index | Thread Index | Old Index