Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

interfaces tunnel <tunx> parameters ipv6 hoplimit <hoplimit>

Sets the hop-limit value to write into the IPv6 header of a tunnel packet.

set interfaces tunnel tunx parameters ipv6 hoplimit 0-255
delete interfaces tunnel tunx parameters ipv6 hoplimit [ 0-255 ]
show interfaces tunnel tunx parameters ipv6 hoplimit

The default hop limit is 64.

tunx
The identifier of a tunnel interface. The identifier ranges from tun0 through tunx, where x is a nonnegative integer.
0-255
The value to write into the hop-limit field in the IPv6 header of a tunnel packet (the carrier packet). The value ranges from 0 through 255, where 0 means a tunnel packet copies the value from the packet being encapsulated (the passenger packet).

Configuration mode


interfaces {
	tunnel tunx {
		parameters { 
			ipv6 {
				hoplimit 0-255
			}
		}
	}
}

The hop-limit byte of the encapsulated packet is copied into the hop-limit byte of the IPv6 header of a tunnel packet.

Use this command to set the value to write into the hop-limit field of the IPv6 header for a packet that traverses a tunnel interface. The hop-limit field of the IPv6 heder of a packet limits the lifetime of an IPv6 packet and prevents indefinite packet looping.

Use the set form of this command to set the hop-limit value to write into the IPv6 header of a tunnel packet.

Use the delete form of this command to restore the default behavior for the hoplimit field, that is, the hop-limit byte of the encapsulated packet is copied into the IPv6 header of the tunnel packet.

Use the show form of this command to display the current hop-limit value to write into the IPv6 header of a tunnel packet.