Community discussions

MikroTik App
 
schadom
Member Candidate
Member Candidate
Topic Author
Posts: 156
Joined: Sun Jun 25, 2017 2:47 am

6in4 endpoint

Fri Oct 19, 2018 12:45 am

hi,
is it possible to configure a 6in4 (SIT) tunnel server / endpoint in ROS?
not as client for a tunnelbroker like HE, but rather to act as a tunnelbroker itself.

with iproute2 on linux this works with something like
ip tunnel add tun-6in4 mode sit remote <client ipv4 addr> local <local ipv4> 
ip link set tun-6in4  up
ip addr add <local ipv6> dev tun-6in4

thanks
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: 6in4 endpoint

Fri Oct 19, 2018 1:06 am

Yes, you can.
 
schadom
Member Candidate
Member Candidate
Topic Author
Posts: 156
Joined: Sun Jun 25, 2017 2:47 am

Re: 6in4 endpoint

Fri Oct 19, 2018 2:27 am

Yes, you can.
maybe anyone has an example?

I know that ROS has /interface 6to4 but since 6in4 (STI) and 6to4 (STF) are NOT the same, the wiki article is misleading:
https://wiki.mikrotik.com/wiki/Manual:I ... 29_tunnels
https://en.wikipedia.org/wiki/6to4
https://en.wikipedia.org/wiki/6in4
 
Sob
Forum Guru
Forum Guru
Posts: 9121
Joined: Mon Apr 20, 2009 9:11 pm

Re: 6in4 endpoint

Fri Oct 19, 2018 5:15 am

It depends what addresses you use, but it's the same type of tunnel (IPv6 in protocol 41 IPv4). You can have either 6to4 with public IPv6 subnet from 2002::/16 derived from public IPv4 address, or just regular point to point tunnel as you want.
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1237
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: 6in4 endpoint

Fri Oct 19, 2018 11:16 am

Yes, you can.
maybe anyone has an example?

I know that ROS has /interface 6to4 but since 6in4 (STI) and 6to4 (STF) are NOT the same, the wiki article is misleading:
https://wiki.mikrotik.com/wiki/Manual:I ... 29_tunnels
https://en.wikipedia.org/wiki/6to4
https://en.wikipedia.org/wiki/6in4
It seems that "6to4 tunnel" in ROS is actually what is usually called 6in4 - a simple IPv4 tunnel to carry IPv6.
For it to become 6to4 you need to set 2002:: address manually, like in this article:
https://wiki.mikrotik.com/wiki/Setting_ ... l_via_6to4

Who is online

Users browsing this forum: jason9456402, Rendy and 50 guests