[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <690336d7-0478-e555-a49b-143091e6e818@gmail.com>
Date: Sat, 2 Nov 2019 09:11:28 -0600
From: David Ahern <dsahern@...il.com>
To: Francesco Ruggeri <fruggeri@...sta.com>
Cc: David Miller <davem@...emloft.net>, shuah@...nel.org,
netdev <netdev@...r.kernel.org>, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH net-next 2/2] selftest: net: add icmp reply address test
On 11/2/19 9:08 AM, Francesco Ruggeri wrote:
> On Sat, Nov 2, 2019 at 7:34 AM David Ahern <dsahern@...il.com> wrote:
>>
>> It would be better to combine both of these into a single test script;
>> the topology and setup are very similar and the scripts share a lot of
>> common code.
>
> Sure, I can do that.
>
>> Also, you still have these using macvlan devices. The intent is to use
>> network namespaces to mimic nodes in a network. As such veth pairs are a
>> better option for this intent.
>>
>
> I am only using macvlans for N1 in the ipv6 test, where there are 3 nodes.
> How do I use veths for that?
checkout the connect_ns function. It uses veth to connect ns1 to ns2.
Powered by blists - more mailing lists