| Next revision | Previous revision Next revisionBoth sides next revision |
| zh:docs:guide-user:network:ipv6_ipv4_transitioning [2020/04/25 11:57] – created guyezi | zh:docs:guide-user:network:ipv6_ipv4_transitioning [2021/09/27 04:13] – [Protocol 6to4 (IPv6-in-IPv4 Tunnel)] vgaetera |
|---|
| |
| ====== IPv4/IPv6 过渡技术 ====== | ====== IPv4/IPv6 过渡技术 ====== |
| | |
| | {{section>meta:infobox:howto_links#config-network-device&noheader&nofooter&noeditbutton}} |
| | |
| 可以使用具有相同名称的包来安装转换技术.\\ | 可以使用具有相同名称的包来安装转换技术.\\ |
| IPv6-in-IPv4隧道的设置和管理: ''6rd'', ''6to4'', ''6in4''.\\ | IPv6-in-IPv4隧道的设置和管理: ''6rd'', ''6to4'', ''6in4''.\\ |
| | ''ip6prefix'' | IPv6 prefix | no | //(none)// | Routed IPv6 prefix for downstream interfaces (Barrier Breaker and later only) | | | ''ip6prefix'' | IPv6 prefix | no | //(none)// | Routed IPv6 prefix for downstream interfaces (Barrier Breaker and later only) | |
| | ''tunlink'' | Logical Interface | no | //(none)// | Tunnel base interface | | | ''tunlink'' | Logical Interface | no | //(none)// | Tunnel base interface | |
| | ''sourcerouting'' | boolean | no | ''1'' | Whether to route only packets from delegated prefixes (Barrier Breaker and later only) | | |
| | ''defaultroute'' | boolean | no | ''1'' | Whether to create an IPv6 default route over the tunnel | | | ''defaultroute'' | boolean | no | ''1'' | Whether to create an IPv6 default route over the tunnel | |
| | ''ttl'' | integer | no | ''64'' | TTL used for the tunnel interface | | | ''ttl'' | integer | no | ''64'' | TTL used for the tunnel interface | |
| :!: One of the ustream SSL Library variants (package ''libustream-*'') should be installed for HE.net endpoint update to be performed over **https**. (optional for https: install packages ''ca-certificates'' and ''ca-bundle'' for server certificate validation.) Otherwise endpoint update will be performed over **http**. | :!: One of the ustream SSL Library variants (package ''libustream-*'') should be installed for HE.net endpoint update to be performed over **https**. (optional for https: install packages ''ca-certificates'' and ''ca-bundle'' for server certificate validation.) Otherwise endpoint update will be performed over **http**. |
| |
| :!: although ip6prefix isn't required, sourcerouting, enabled by default, will prevent forwarding of packets unless ip6prefix is specified. | :!: Although ''ip6prefix'' isn't required, ''sourcefilter'' is enabled by default and prevents forwarding of packets unless ''ip6prefix'' is specified. |
| |
| ===== 6rd Tunnel (ISP-Provided IPv6 Transition) ===== | ===== 6rd Tunnel (ISP-Provided IPv6 Transition) ===== |
| | <del>''adv_preferred_lifetime''</del> | <del>integer</del> | <del>no</del> | <del>''120''</del> | **deprecated** <del>Overrides the advertised preferred prefix lifetime, in seconds (used with radvd)</del> | | | <del>''adv_preferred_lifetime''</del> | <del>integer</del> | <del>no</del> | <del>''120''</del> | **deprecated** <del>Overrides the advertised preferred prefix lifetime, in seconds (used with radvd)</del> | |
| |
| :!: This protocol type does not need an ''ifname'' option set in the interface section. The interface name is derived from the section name, e.g. ''config interface wan6'' would result in an interface named ''6to4-wan6''. \\ | :!: This protocol type does not need an ''ifname'' option set in the interface section. The interface name is derived from the section name, e.g. ''config interface wan6'' would result in an interface named ''6to4-wan6''. |
| | |
| :!: <del>If radvd is installed and enabled, the 6to4 scripts will add a temporary prefix and interface declaration to the //radvd// uci configuration and perform a daemon restart if required. </del> (**deprecated**) | |
| |
| ===== Dual-Stack Lite tunnel (ds-lite IPv4 in IPv6) ===== | ===== Dual-Stack Lite tunnel (ds-lite IPv4 in IPv6) ===== |