Tunnels REFERENCE GUIDE GRE Tunnels IP‐In‐IP Tunnels SIT Tunnels
Total Page:16
File Type:pdf, Size:1020Kb
VYATTA, INC. | Vyatta System Tunnels REFERENCE GUIDE GRE Tunnels IP‐in‐IP Tunnels SIT Tunnels Vyatta Suite 200 1301 Shoreway Road Belmont, CA 94002 vyatta.com 650 413 7200 1 888 VYATTA 1 (US and Canada) COPYRIGHT Copyright © 2005–2012 Vyatta, Inc. All rights reserved. Vyatta reserves the right to make changes to software, hardware, and documentation without notice. For the most recent version of documentation, visit the Vyatta web site at vyatta.com. PROPRIETARY NOTICES Vyatta is a registered trademark of Vyatta, Inc. Hyper‐V is a registered trademark of Microsoft Corporation. VMware, VMware ESX, and VMware server are trademarks of VMware, Inc. XenServer, and XenCenter are trademarks of Citrix Systems, Inc. All other trademarks are the property of their respective owners. RELEASE DATE: October 2012 DOCUMENT REVISION. 6.5R1 v01 RELEASED WITH: 6.5R1 PART NO. A0‐0229‐10‐0013 iii Contents Quick Reference to Commands . v Quick List of Examples . .vi Preface . .viii Intended Audience . ix Organization of This Guide . ix Document Conventions . .x Vyatta Publications . xi Chapter 1 Tunneling Overview . .1 Overview . .2 GRE Tunnels . .2 GRE for Bridging Tunnels . .3 IP‐in‐IP Tunnels . .3 SIT Protocol . .4 Tunnel Interfaces and IPsec . .4 Supported Standards . .5 Chapter 2 Tunnel Configuration Examples . .6 Before You Begin . .7 A Basic GRE Tunnel . .7 Configure WEST . .7 Configure EAST . .9 A More Complex GRE Tunnel . .10 Configure WEST . .10 Configure EAST . .11 Bridging with GRE Tunnels . .13 Tunneling IPv6 Traffic in IPv4 . .13 iv Create SIT tunnel . .14 Chapter 3 Tunnel Commands . .17 clear interfaces tunnel counters . .20 interfaces tunnel <tunx> . .21 interfaces tunnel <tunx> address <ipv4net> . .22 interfaces tunnel <tunx> description <descr> . .24 interfaces tunnel <tunx> disable . .26 interfaces tunnel <tunx> encapsulation . .27 interfaces tunnel <tunx> local‐ip <ipv4> . .29 interfaces tunnel <tunx> mtu <mtu> . .31 interfaces tunnel <tunx> parameters ip key <key> . .33 interfaces tunnel <tunx> parameters ip tos <tos> . .35 interfaces tunnel <tunx> parameters ip ttl <ttl> . .37 interfaces tunnel <tunx> parameters ipv6 encaplimit <limit> . .39 interfaces tunnel <tunx> parameters ipv6 flowlabel <flowlabel> . .41 interfaces tunnel <tunx> parameters ipv6 hoplimit <limit> . .43 interfaces tunnel <tunx> parameters ipv6 tclass <class> . .45 interfaces tunnel <tunx> remote‐ip <ipv4> . ..