6in4
6in4, sometimes referred to as SIT, is an IPv6 transition mechanism for migrating from Internet Protocol version 4 (IPv4) to IPv6.[src] It is a tunneling protocol that encapsulates IPv6 packets on specially configured IPv4 links according to the specifications of .[src] The IP protocol number for 6in4 is 41, per IANA reservation.[src] The 6in4 packet format consists of the IPv6 packet preceded by an IPv4 packet header.[src] Thus, the encapsulation overhead is the size of the IPv4 header of 20 bytes.[src] On Ethernet with a maximum transmission unit (MTU) of 1500 bytes, IPv6 packets of 1480 bytes may therefore be transmitted without fragmentation.[src] 6in4 tunneling is also referred to as proto-41 static because the endpoints are configured statically.[src] Although 6in4 tunnels are generally manually configured, the utility AICCU can configure tunnel parameters automatically after retrieving information from a Tunnel Information and Control Protocol (TIC) server.[src] The similarly named methods 6to4 or 6over4 describe a different mechanism.[src] The 6to4 method also makes use of proto-41, but the endpoint IPv4 address information is derived from the IPv6 addresses within the IPv6 packet header, instead of from static configuration of the endpoints.[src]
6in4, sometimes referred to as SIT, is an IPv6 transition mechanism for migrating from Internet Protocol version 4 (IPv4) to IPv6.[src] It is a tunneling protocol that encapsulates IPv6 packets on specially configured IPv4 links according to the specifications of .[src] The IP protocol number for 6in4 is 41, per IANA reservation.[src] The 6in4 packet format consists of the IPv6 packet preceded by an IPv4 packet header.[src] Thus, the encapsulation overhead is the size of the IPv4 header of 20 bytes.[src] On Ethernet with a maximum transmission unit (MTU) of 1500 bytes, IPv6 packets of 1480 bytes may therefore be transmitted without fragmentation.[src] 6in4 tunneling is also referred to as proto-41 static because the endpoints are configured statically.[src] Although 6in4 tunnels are generally manually configured, the utility AICCU can configure tunnel parameters automatically after retrieving information from a Tunnel Information and Control Protocol (TIC) server.[src] The similarly named methods 6to4 or 6over4 describe a different mechanism.[src] The 6to4 method also makes use of proto-41, but the endpoint IPv4 address information is derived from the IPv6 addresses within the IPv6 packet header, instead of from static configuration of the endpoints.[src] ==Dynamic 6in4 tunnels and heartbeat== Even though 6in4 tunnels are static in nature, with the help of for example the heartbeat protocol one can still have dynamic tunnel endpoints.[src] The heartbeat protocol signals the other side of the tunnel with its current endpoint location.[src] A tool such as AICCU can then update the endpoints, in effect making the endpoint dynamic while still using the 6in4 protocol.[src] Tunnels of this kind are generally called 'proto-41 heartbeat' tunnels.[src] ==Security issues== The 6in4 protocol has no security features, thus one can inject IPv6 packets by spoofing the source IPv4 address of a tunnel endpoint and sending it to the other endpoint.[src] This problem can partially be solved by implementing network ingress filtering (not near the exit point but close to the true source) or with IPsec.[src] The mentioned packet injection loophole of 6in4 was exploited for a research benefit in a method called IPv6 Tunnel Discovery which allowed the researchers to discover operating IPv6 tunnels around the world.[src] ==Specifications== , Transition Mechanisms for IPv6 Hosts and Routers, R.[src] Gilligan and E.[src] Nordmark, 1996 , Transition Mechanisms for IPv6 Hosts and Routers, R.[src] Gilligan and E.[src] Nordmark, 2000 , Basic Transition Mechanisms for IPv6 Hosts and Routers, R.[src] Gilligan and E.[src] Nordmark, 2005 ==See also== IP in IP: the equivalent protocol encapsulating IPv4 in IPv4 ==References== ==External links== How do I configure my machine to set up an IPv6 in IPv4 tunnel 6in4 and other tunnel setups on Debian 6in4 setup on Plan9 OS[src]
34 sentences · 34 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"6in4." encyclopegia.org, 2026, https://encyclopegia.org/wiki/6in4. Accessed 02 December 2026.
Chicago
"6in4." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/6in4.
APA
encyclopegia.org. (2026). 6in4. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/6in4
Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON