This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
basic-ipv6 [2024/09/30 02:28] – [IPv6 Notes and Troubleshooting] hogwild | basic-ipv6 [2025/01/28 12:39] (current) – pedro | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== IPv6 (Configuration) ====== | ====== IPv6 (Configuration) ====== | ||
- | This menu has settings for configuring basic IPv6 routing functionality | + | This menu has settings for configuring basic IPv6 routing functionality. Settings here affect //only routed packets//. Generally, IPv6 packets always travel through a FreshTomato router' |
- | \\ **IPv6 Service Type**: | + | \\ **IPv6 Service Type**: |
+ | |||
+ | IPv6 has several service types, or " | ||
Depending on the service type you select, various fields may appear, prompting you for appropriate settings. | Depending on the service type you select, various fields may appear, prompting you for appropriate settings. | ||
Line 22: | Line 24: | ||
\\ | \\ | ||
- | Disabled: IPv6 is disabled by default. IPv6 traffic will still flow if in access point mode. | + | [Disabled]: IPv6 is disabled by default. IPv6 traffic will still flow if in access point mode. |
\\ | \\ | ||
- | DHCPv6 with Prefix Delegation | + | [DHCPv6 with Prefix Delegation] |
- | This is the most commonly-used Service Type. It provides native IPv6 connectivity to your network. If your ISP gives you a prefix with length smaller than 64, this mode allows | + | The most commonly-used Service Type, this provides native IPv6 connectivity to your network. If your ISP gives you a prefix with length smaller than 64, this mode lets you assign different IPv6 address ranges to bridges 0 (br0) through bridge 3 (br3). Other common prefixes are 56 or 60. The option to assign IPv6 address ranges for bridge 1 (br1) through 3 (br3) is available only for bridges |
\\ | \\ | ||
Line 44: | Line 46: | ||
\\ | \\ | ||
- | In this mode, extended options exist. If the prefix is lower than 64, and bridges 1 (br1) through 3 (br3) exist, you can enable subnets for all those bridges, as below. | + | Other options exist in this mode. If the prefix is smaller |
- | \\ {{:: | + | See the image below for details: \\ \\ \\ {{:: |
\\ | \\ | ||
Line 52: | Line 54: | ||
\\ | \\ | ||
- | Static IPv6 | + | [Static IPv6] |
- | This mode is similar to Static IP mode in IPv4. With this service type, you enter the IP address and other settings into FreshTomato' | + | This mode is similar to Static IP mode in IPv4. You must enter the IP address and other settings into this menu. Your ISP provides these settings. |
\\ | \\ | ||
Line 62: | Line 64: | ||
\\ | \\ | ||
- | 6to4 Anycast Relay | + | [6to4 Anycast Relay] |
- | 6to4 is a transition | + | 6to4 is a transitional |
Note that 6to4 //does not support communication between IPv4-only hosts and IPv6-only hosts.// | Note that 6to4 //does not support communication between IPv4-only hosts and IPv6-only hosts.// | ||
Line 76: | Line 78: | ||
6to4 Anycast Relay performs these functions: | 6to4 Anycast Relay performs these functions: | ||
- | - Assigns a block of IPv6 address space to any host or network | + | - Assigns a block of IPv6 address space to any host \\ or network with a global IPv4 address. |
- | - Encapsulates IPv6 packets inside IPv4 packets for transmission | + | - Encapsulates IPv6 packets inside IPv4 packets for \\ for transmission |
- Routes traffic between 6to4 and " | - Routes traffic between 6to4 and " | ||
\\ | \\ | ||
- | 6in4 Static Tunnel | + | [6in4 Static Tunnel] |
- | 6in4 is a static VPN tunneling protocol | + | This static VPN tunneling protocol allows IPv6 traffic to be transmitted over IPv4-only infrastructure. It' |
6in4 Static tunnels IPv6 packets inside IPv4 packets. It's a transitional protocol, to help us get through the transition to all IPv6. | 6in4 Static tunnels IPv6 packets inside IPv4 packets. It's a transitional protocol, to help us get through the transition to all IPv6. | ||
Line 92: | Line 94: | ||
\\ | \\ | ||
- | Example Configuration through Tunnelbroker.net | + | //Example Configuration through Tunnelbroker.net// |
This example uses tunnelbroker.net to create a standard tunnel. | This example uses tunnelbroker.net to create a standard tunnel. | ||
- | | + | \\ |
- | - On the " | + | |
+ | | ||
+ | - On the " | ||
- Tunnelbroker.net tries to detect your current IPv4 WAN address, and displays it\\ after the words: “You are viewing from:”. If it's correct, copy and paste it into the \\ “IPv4 Endpoint address” field. \\ \\ \\ {{:: | - Tunnelbroker.net tries to detect your current IPv4 WAN address, and displays it\\ after the words: “You are viewing from:”. If it's correct, copy and paste it into the \\ “IPv4 Endpoint address” field. \\ \\ \\ {{:: | ||
- The bar under IPv4 endpoint should display: " | - The bar under IPv4 endpoint should display: " | ||
Line 119: | Line 123: | ||
Now, enter the corresponding data from Tunnel Details into FreshTomato: | Now, enter the corresponding data from Tunnel Details into FreshTomato: | ||
- | | + | \\ |
- | - Copy the Routed /64 address from Tunnel details and paste it in the\\ FreshTomato Assigned/ | + | |
+ | | ||
+ | - Copy the Routed /64 address from Tunnel details and paste it in the\\ FreshTomato Assigned/ | ||
- Select a Prefix Length of 64. You can sign up for other prefix lengths. \\ \\ \\ {{:: | - Select a Prefix Length of 64. You can sign up for other prefix lengths. \\ \\ \\ {{:: | ||
- | - Leave the IPv6 Router LAN Address at the Default. | + | - Leave the IPv6 Router LAN Address at the Default. |
- | - In the first Static DNS field, enter the Anycast IPv6 Caching Nameserver address in Tunnel Details. | + | - In the first Static DNS field, enter the Anycast IPv6 Caching Nameserver address in Tunnel Details. |
- | - In the second Static DNS field, you can (optionally) enter an external DNS server address. | + | - In the second Static DNS field, you can (optionally) enter an external DNS server address. |
- | - If you want clients on your LAN to be able to autoconfigure IPv6 addresses, check that \\ IPv6 Router Advertisements are enabled in [[advanced-dhcpdns|DHCP/ | + | - If you want clients on your LAN to be able to autoconfigure IPv6 addresses, check that \\ IPv6 Router Advertisements are enabled in [[advanced-dhcpdns|DHCP/ |
- | - From Tunnel Details, copy the Server IP4 address and paste it the Tunnel Remote Endpoint field. | + | - From Tunnel Details, copy the Server IP4 address and paste it the Tunnel Remote Endpoint field. |
- | - From Tunnel Details, copy the Client IPv6 address and paste it the Tunnel Client IPv6 address field. | + | - From Tunnel Details, copy the Client IPv6 address and paste it the Tunnel Client IPv6 address field. |
- | - Leave Tunnel MTU and Tunnel TTL at their defaults. Click Save. | + | - Leave Tunnel MTU and Tunnel TTL at their defaults. Click Save. \\ \\ |
- | - If your IP address is dynamic, you will need to use DDNS to update | + | - If your IP address is dynamic, you must use DDNS to update |
\\ | \\ | ||
- | For more details, see tunnelbroker.net' | + | For more details, see tunnelbroker.net' |
- | | + | |
- | | + | |
- | Fix Me. \\ | + | \\ FIXME \\ |
- | | + | |
\\ | \\ | ||
Line 151: | Line 157: | ||
**Debug** | **Debug** | ||
- | Checking | + | Enabling |
| | ||
- | Every DHCP client/ | + | Every DHCP client/ |
Options: | Options: | ||
* DUID-LL (default) - uses the LAN (eth0) MAC address and will not \\ change over time. | * DUID-LL (default) - uses the LAN (eth0) MAC address and will not \\ change over time. | ||
- | * DUID-LLT - uses the LAN MAC address, but in addition, will include \\ time value, and will change on every reboot | + | * DUID-LLT - uses the LAN MAC address, but in addition, will include \\ time value, and will change on every reboot/reconnection of the WAN interface. |
- | \\ You can see the DUID type currently | + | \\ You can see the DUID type currently |
- | Support for DUID Type started | + | Support for DUID Type started |
\\ {{ipv6-config.png? | \\ {{ipv6-config.png? | ||
Line 172: | Line 178: | ||
\\ | \\ | ||
- | **Prefix Length** | + | **Prefix Length** |
- | Other options commonly used in include 56 bits. (Default: 64). | + | Other options commonly used include 56 bits. (Default: 64). |
- | | + | \\ **Request PD Only** |
- | | + | \\ **Do not allow PD/Address release** |
- | Enabling this prevents DHCP6 clients from sending a release message | + | Enabling this prevents |
- | + | ||
- | Support for this option started in release 2022.4. | + | |
\\ | \\ | ||
Line 190: | Line 194: | ||
See also [[https:// | See also [[https:// | ||
- | | + | \\ **Static DNS** \\ FreshTomato users can specify DNS server addresses. For example, if you are using DHCPv6 with PD on the ISP German Telekom, DHCP will automatically provide two IPv6 DNS server addresses. However, you can still manually add static DNS addresses if you wish. \\ |
- | **Static DNS** | + | |
- | \\ | + | |
- | FreshTomato users can add/specify DNS server addresses. For example, if you are using DHCPv6 with PD on the ISP German Telekom, DHCP will automatically provide two IPv6 DNS server addresses. However, you can still manually add static DNS addresses if you wish. | + | |
- | \\ | + | |
Examples: | Examples: | ||
- | | + | |
* 2001: | * 2001: | ||
* 2001: | * 2001: | ||
- | + | | |
- | **Accept RA from** | + | |
This function will cause Tomato to accept IPv6 Router Advertisements. | This function will cause Tomato to accept IPv6 Router Advertisements. | ||
- | Options: | + | Options: |
- | \\ | + | |
- | * WAN - Tomato | + | * WAN - FreshTomato |
- | * LAN - Tomato | + | * LAN - FreshTomato |
\\ | \\ | ||
- | When using DHCPv6 with Prefix Delegation, this option | + | When using DHCPv6 with Prefix Delegation, this option |
\\ | \\ | ||
+ | |||
===== IPv6 Notes and Troubleshooting ===== | ===== IPv6 Notes and Troubleshooting ===== | ||
Line 228: | Line 229: | ||
Professor Messer: Assigning IPv6 addresses | Professor Messer: Assigning IPv6 addresses | ||
- | [[https:// | + | [[https:// |
+ | |||
+ | \\ | ||
- | |