OpenNSL API Guide and Reference Manual
Tunneling

Tunneling is a mechanism for encapsulating one protocol in another and for transport of a packet across a network that does not support the native protocol of the packet. Opennsl supports IPv4 and IPv6 tunnels.

The incoming IPv4 or IPv6 packets are encapsulated with a respective IPv4 or IPv6 tunnel header and routed as IPv4 packets across the core. At the end, the IPv4 header is removed and the original IP based header is forwarded.