Community discussions

 
schadom
Member Candidate
Member Candidate
Topic Author
Posts: 139
Joined: Sun Jun 25, 2017 2:47 am
Location: Austria

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
Long time Member
Long time Member
Posts: 595
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: 139
Joined: Sun Jun 25, 2017 2:47 am
Location: Austria

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: 4807
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.
People who quote full posts should be spanked with ethernet cable. Some exceptions for multi-topic threads may apply.
 
User avatar
xvo
Long time Member
Long time Member
Posts: 595
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: No registered users and 35 guests