[riot-users] Creation TUN/TAP interface

Mark Bul markbullaro at gmail.com
Sun Mar 20 21:51:17 CET 2016


Hi martine.

Thank you for your answer. Let's say it's in this way:
1. I create the TUN or TAP interface called tap1
2. sudo ip a a *2001*:*db8*:a0b:12f0::*1*/64 dev tap1
3. sudo ip link set up dev tap1
4.ifconfig 6 add *2001*:*db8*:a0b:12f0::*2*/64

The questions are the same what do they do?
I hope someone can help me.

Thanks.
Mark


On Sun, Mar 20, 2016 at 6:17 PM, Martine Lenders <authmillenon at gmail.com>
wrote:

> Hi Mark,
> you are using IPv4 addresses. RIOT does not have any IPv4 support, only
> IPv6 support.
>
> Cheers,
> Martine
>
> 2016-03-20 15:09 GMT+01:00 Mark Bul <markbullaro at gmail.com>:
>
>> Hello,
>> I've been searching online but I didn't find an enough clear answer to
>> some doubts so I'm posting it here.
>>
>> I'm trying to create a TUN or TAP interface and then it's been told to me
>> to give these commands:
>> 1. I create the TUN or TAP interface called tap1
>> 2. sudo ip a a 192.168.1.1/24 dev tap1
>> 3. sudo ip link set up dev tap1
>> 4.ifconfig 6 add 192.168.1.2/24
>>
>> At the end the 192.168.1.1 is the server and 192.168.1.2 is the client.
>>
>> I don't understand what do exactly do the command 2, 3 and 4. Looking
>> online I got something but I guess I'm doing confusion.
>>
>> Thanks.
>> Mark
>>
>> _______________________________________________
>> users mailing list
>> users at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20160320/f964f16b/attachment.html>


More information about the users mailing list