Tunnel interface 380 ^tun[0-9]+$ tunnel interface must be named tunN tunN Tunnel interface name #include #include #include #include #include #include #include #include Local IP address for this tunnel ipv4 Local IPv4 address for this tunnel ipv6 Local IPv6 address for this tunnel [NOTICE: unavailable for mGRE tunnels] Remote IP address for this tunnel ipv4 Remote IPv4 address for this tunnel ipv6 Remote IPv6 address for this tunnel Physical Interface used for underlaying traffic 6rd network prefix ipv6 IPv6 address and prefix length 6rd relay prefix ipv4net IPv4 prefix of interface for 6rd dhcp interface interface DHCP interface that supplies the local IP address for this tunnel ^(en|eth|br|bond|gnv|vxlan|wg|tun)[0-9]+$ Encapsulation of this tunnel interface gre gre-bridge ip6gre ip6ip6 ipip ipip6 sit gre Generic Routing Encapsulation gre-bridge Generic Routing Encapsulation bridge interface ip6gre GRE over IPv6 network ip6ip6 IP6 in IP6 encapsulation ipip IP in IP encapsulation ipip6 IP in IP6 encapsulation sit Simple Internet Transition encapsulation ^(gre|gre-bridge|ip6gre|ip6ip6|ipip|ipip6|sit)$ Invalid encapsulation, must be one of: gre, gre-bridge, ipip, sit, ipip6, ip6ip6, ip6gre Multicast operation over tunnel enable disable enable Enable Multicast disable Disable Multicast (default) ^(enable|disable)$ Must be 'disable' or 'enable' Tunnel parameters IPv4 specific tunnel parameters Disable path MTU discovery Time to live (default: 0) 0 Copy value from original IP header 1-255 Time to Live TTL must be between 0 and 255 0 Type of Service (default: 0) inherit 0 Copy value from original IP header 1-99 Type of Service (TOS) TOS must be between 0 and 99 0 Tunnel key u32 Tunnel key Key must be in range 0-4294967295 IPv6 specific tunnel parameters Encaplimit field 0-255 Encaplimit (default: 4) key must be between 0-255 4 Flowlabel 0x0-0x0FFFFF Tunnel key, 'inherit' or hex value (0x){0,1}(0?[0-9A-Fa-f]{1,5}) Must be 'inherit' or a number inherit Hoplimit 0-255 Hoplimit (default 64) hoplimit must be between 0-255 64 Traffic class (Tclass) 0x0-0x0FFFFF Traffic class, 'inherit' or hex value (0x){0,1}(0?[0-9A-Fa-f]{1,2}) Must be 'inherit' or a number inherit