ipipv6
interface/ipipv6
Type: Directory
IPIP (IP-in-IP) carries IPv4 packets inside an outer IPv6 header. The outer header uses next header 4 (IPIP), and the inner packet is still IPv4.
| Flag | Name | Description |
|---|---|---|
| X | disabled | Whether an item is disabled. |
| R | running | Whether the interface is running. |
| Argument | Type | Description |
|---|---|---|
| name | string | Interface name. |
| mtu | num | Layer 3 maximum transmission unit of the tunnel. Default: auto, which sets actual-mtu to the MTU of the underlying interface minus 40 bytes for the outer IPv6 header. A fixed value overrides this calculation. |
| local-address | ip6Addr | IPv6 address on the router used by the tunnel. The remote router must reach this address as its remote-address. |
| remote-address ( mandatory ) | address (flags=6Dvi) | IPv6 address of the remote end of the tunnel. The router must have a route to this address that does not use the tunnel itself. |
| keepalive | super { keepalive-interval: time [1 .. ] , [keepalive-retries] [ ,num [1 .. ]] } | Sends keepalive probes to the remote endpoint and keeps the running flag only while the peer answers. The interface running flag is removed after |
| dscp | num | DSCP value set in the outer header of tunnel packets. Default: inherit, which copies the DSCP value from the tunneled packet. A number marks the outer packets with that value instead. |
| clamp-tcp-mss | bool | Controls whether to change the MSS size for received TCP SYN packets. When enabled, the router changes the MSS size for received TCP SYN packets if the current MSS size exceeds the tunnel interface MTU (taking into account the TCP/IP overhead). The received encapsulated packet still contains the original MSS, and only after decapsulation the MSS is changed. Default: yes. |
| dont-fragment | bool | Whether to set the DF bit in the outer header.
|
| ipsec-secret (syscap=security) | string | When a secret is specified, the router adds a dynamic IPsec peer to remote-address with a pre-shared key and a transport-mode policy for the tunnel packets, using the default IPsec proposal. Keepalive packets are protected too. Both ends need the same secret. This menu has no allow-fast-path property, so no FastPath step is needed. |
| Read-only Argument | Type | Description |
|---|---|---|
| actual-mtu | num | Actual maximum transmission unit of the tunnel: the largest inner packet the tunnel accepts. With mtu=auto it follows the MTU of the underlying interface minus the outer header size, and becomes smaller when IPsec is enabled. |
| current-remote-address | ip6Addr | Current IPv6 address of the remote end. |