/interface/ipipv6
ipipv6
IPIP (IP-in-IP) is a simple tunneling protocol defined in RFC 2003 that encapsulates IP packets within another IP header to transport traffic between two endpoints.
interface/ipipv6
Type: Directory
IPIP (IP-in-IP) is a simple tunneling protocol defined in RFC 2003 that encapsulates IP packets within another IP header to transport traffic between two endpoints.
| 标志 | 名称 | 描述 |
|---|---|---|
X | disabled | 项目是否已禁用。 |
R | running | 接口是否正在运行。 |
| 参数 | 类型 | 描述 |
|---|---|---|
name | string | 接口名称。 |
mtu | num | 三层最大传输单元。 |
local-address | ip6Addr | IPIP 隧道使用的路由器 IP 地址。 |
remote-address * | address (flags=6Dvi) | IPIP 隧道远程端的 IP 地址。 |
keepalive | super { keepalive-interval: time [1 .. ] , [keepalive-retries] [ ,num [1 .. ]] } | keepalive 参数设置即使隧道远端宕机,隧道运行标志仍保持的时间间隔。如果配置的时间和重试次数都不成功,则移除接口运行标志。 参数采用以下格式:KeepaliveInterval,KeepaliveRetries 其中 KeepaliveInterval 是时间间隔,KeepaliveRetries 是重试次数。 默认情况下,keepalive 设置为 10 秒和 10 次重试。 |
dscp | num | 数据包的 DSCP 值。Inherited 表示 DSCP 值继承自隧道流量。 |
clamp-tcp-mss | bool | 控制是否更改接收到的 TCP SYN 数据包的 MSS 大小。启用后,如果当前 MSS 大小超过隧道接口 MTU(考虑 TCP/IP 开销),路由器会更改接收到的 TCP SYN 数据包的 MSS 大小。接收到的封装数据包仍包含原始 MSS,只有在解封装后才会更改 MSS。 |
dont-fragment | bool | 是否在相关数据包中包含 DF 位。 - no - 必要时分片。 - inherit - 使用原始数据包的 DF 标志。 |
ipsec-secret | string | 指定密钥后,路由器会向 remote-address 添加一个动态 IPsec 对等体,并使用预共享密钥和策略(默认情况下 phase2 使用 sha1/aes128cbc)。 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
actual-mtu | num | 隧道的实际最大传输单元。 |
current-remote-address | ip6Addr | 远程端的当前 IP 地址。 |