Tunneling Protocol

Computer networks use a tunneling protocol when one network protocol (the delivery protocol) encapsulates a different payload protocol. By using tunneling one can (for example) carry a payload over an incompatible delivery-network, or provide a secure path through an untrusted network.

Tunneling typically contrasts with a layered protocol model such as those of OSI or TCP/IP. The delivery protocol usually (but not always) operates at a higher level in the model than does the payload protocol, or at the same level.

To understand a particular protocol stack, network engineers must understand both the payload and delivery protocol sets.

As an example of network layer over network layer, Generic Routing Encapsulation (GRE), a protocol running over IP (IP Protocol Number 47), often serves to carry IP packets, with RFC 1918 private addresses, over the Internet using delivery packets with public IP addresses. In this case, the delivery and payload protocols are compatible, but the payload addresses are incompatible with those of the delivery network.

In contrast, an IP payload might believe it sees a data link layer delivery when it is carried inside the Layer 2 Tunneling Protocol (L2TP), which appears to the payload mechanism as a protocol of the data link layer. L2TP, however, actually runs over the transport layer using User Datagram Protocol (UDP) over IP. The IP in the delivery protocol could run over any data-link protocol from IEEE 802.2 over IEEE 802.3 (i.e., standards-based Ethernet) to the Point-to-Point Protocol (PPP) over a dialup modem link.

Tunneling protocols may use data encryption to transport insecure payload protocols over a public network (such as the Internet), thereby providing VPN functionality. IPsec has an end-to-end Transport Mode, but can also operate in a tunneling mode through a trusted security gateway.

Internet protocols
Application layer
  • DHCP
  • DHCPv6
  • DNS
  • FTP
  • HTTP
  • IMAP
  • IRC
  • LDAP
  • MGCP
  • NNTP
  • NTP
  • POP
  • RPC
  • RTP
  • RTSP
  • SIP
  • SMTP
  • SNMP
  • SOCKS
  • SSH
  • Telnet
  • TLS/SSL
  • XMPP
  • (more)
Transport layer
  • TCP
  • UDP
  • DCCP
  • SCTP
  • RSVP
  • (more)
Routing protocols *
  • BGP
  • OSPF
  • RIP
  • (more)
Internet layer
  • IP
    • IPv4
    • IPv6
  • ICMP
  • ICMPv6
  • ECN
  • IGMP
  • IPsec
  • (more)
Link layer
  • ARP/InARP
  • NDP
  • Tunnels
    • L2TP
  • PPP
  • Media access control
    • Ethernet
    • DSL
    • ISDN
    • FDDI
  • (more)
* Not a layer. A routing protocol belongs either to application or network layer.

Read more about Tunneling Protocol:  Secure Shell Tunneling, Tunneling To Circumvent Firewall Policy

Famous quotes containing the word tunneling:

    Our major universities are now stuck with an army of pedestrian, toadying careerists, Fifties types who wave around Sixties banners to conceal their record of ruthless, beaverlike tunneling to the top.
    Camille Paglia (b. 1947)