This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
basic-ipv6 [2023/06/24 19:55] – [Disabled] -resize DHCPv6 with PD screenshot to 773x356 hogwild | basic-ipv6 [2025/01/28 12:39] (current) – pedro | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== IPv6 ====== | + | ====== IPv6 (Configuration) |
- | The IPv6 menu contains setttings | + | This menu has settings |
- | ===== IPv6 Service Type ===== | + | \\ **IPv6 Service Type**: lets you select the Service Type. |
- | IPv6 has a number of services, or modes of operation which it can use. Some partly depend on IPv4 services, and others are run entirely independent | + | IPv6 has several service types, or "modes" |
- | Currently, FreshTomato **does not** support IPv6 in MultiWAN configurations. Only the first WAN interface can use IPv6. | + | Depending on the service type you select, various fields may appear, prompting you for appropriate settings. |
+ | * Disabled * | ||
+ | * DHCP with PD | ||
+ | * Static IPv6 | ||
+ | * 6in4 Anycast Relay | ||
+ | * 6in4 Static Tunnel | ||
+ | * 6rd Relay | ||
+ | * 6rd from DHCPv4 | ||
+ | * Other (Manual Configuration) | ||
- | ==== Disabled ==== | + | \\ |
- | This is the Default state. | + | Currently, |
- | [[https:// | + | \\ |
+ | [Disabled]: IPv6 is disabled by default. IPv6 traffic will still flow if in access point mode. | ||
- | ==== DHCPv6 with Prefix Delegation ==== | + | \\ |
- | This configuration method is one of the most commonly used. It provides native IPv6 connectivity for your network. It allows the ability to assign different IPv6 address ranges for bridge 0 (br0) to 3 (br3) if you're given a prefix | + | [DHCPv6 |
- | **Configuration example for German Telekom | + | 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 that already exist. Check your settings in the [[basic-network|Network]] menu to learn more. |
- | German Telekom, Europe' | + | \\ |
+ | |||
+ | //Example Configuration: | ||
+ | |||
+ | German Telekom supports a dual-stack setup of IPv4 and IPv6. For most consumers, it provides a default | ||
\\ | \\ | ||
- | {{:ft_basic_ipv6_dhcpv6_01.png}} | + | {{:: |
\\ | \\ | ||
Line 33: | Line 46: | ||
\\ | \\ | ||
- | **Extended | + | Other options exist in this mode. If the prefix is smaller than 64, and bridges 1 through 3 exist, you can enable subnets |
+ | |||
+ | See the image below for details: \\ \\ \\ {{:: | ||
\\ | \\ | ||
- | {{: | + | \\ |
+ | [Static IPv6] | ||
- | ==== Static | + | This mode is similar to Static |
- | This mode is similar to the Static IP mode in IPv4. The IP adddess and other info. are set within FreshTomato' | + | \\ |
- | ==== 6to4 Anycast Relay ==== | + | {{:: |
- | tbd. | + | \\ |
- | ==== 6in4 Static Tunnel ==== | + | [6to4 Anycast Relay] |
- | tbd. | + | 6to4 is a transitional protocol for migrating from IPv4 to IPv6. 6to4 acts as a transparent transport layer between IPv6 nodes. It allows IPv6 packets to be transmitted over an IPv4 network, such as the Internet, without having to configure explicit tunnels. 6to4 hosts and networks communicate with native IPv6 networks via Special relay servers, known as "6to4 Anycast Relays" |
- | ==== 6rd Relay ==== | + | Note that 6to4 //does not support communication between IPv4-only hosts and IPv6-only hosts.// |
- | tbd. | + | \\ |
- | ==== 6rd from DHCPv4 (Option 212) ==== | + | {{:: |
- | tbd. | + | \\ |
- | ==== Other (Manual Configuration) ==== | + | 6to4 Anycast Relay performs these functions: |
- | tbd. | + | - Assigns a block of IPv6 address space to any host \\ or network with a global IPv4 address. |
+ | - Encapsulates IPv6 packets inside IPv4 packets for \\ for transmission over an IPv4 network using 6in4. | ||
+ | - Routes traffic between 6to4 and " | ||
- | ===== IPv6 DUID Type ===== | + | \\ |
- | Every DHCP client and server does have a DUID (DHCP Unique Identifier). The DHCP server uses the DUID to identify the clients for the selection of configuration parameters. | + | [6in4 Static Tunnel] |
- | Options: | + | This static VPN tunneling protocol allows IPv6 traffic to be transmitted over IPv4-only infrastructure. It's also known as " |
- | * DUID-LL (default) | + | 6in4 Static tunnels IPv6 packets inside IPv4 packets. It's a transitional protocol, to help us get through the transition to all IPv6. |
- | * DUID-LLT | + | |
- | DUID-LL will use the LAN (eth0) MAC address | + | Generally, 6in4 static uses a tunnel broker, a third-party service that provides an encrypted tunnel between you and your destination |
- | Support for this option is available starting with release 2022.4 | + | \\ |
- | Note: DUID-EN or DUID-UUID or a custom DUID are currently not supported. | + | //Example Configuration through Tunnelbroker.net// |
- | {{: | + | This example uses tunnelbroker.net to create a standard tunnel. |
- | ===== Prefix Length ===== | + | \\ |
- | The network prefix contains | + | - Login to tunnelbroker.net and click " |
+ | - 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. \\ \\ \\ {{:: | ||
+ | - The bar under IPv4 endpoint should display: " | ||
+ | - Select the closest city to your router from the list. | ||
+ | - Click Create Tunnel. | ||
- | (Default: 64 bits). This can be changed to, for example, 56 bits. | + | \\ |
- | ===== Request PD Only ===== | + | \\ |
- | This function | + | You should |
- | ===== Do not allow PD/Address release ===== | + | {{:: |
- | Prevent DHCP6 client to send a release message to the ISP on exit. With this option set, the client is more likely to receive the same allocation with subsequent requests. | + | \\ |
- | Support | + | By default, tunnelbroker.net assigns your routed endpoint a routed IPv6 prefix of /64. This lets your endpoint act as the router |
- | ===== Add default route ::/0 ===== | + | \\ |
- | IPv6 Router | + | Now, enter the corresponding data from Tunnel Details into FreshTomato: |
+ | |||
+ | \\ | ||
+ | |||
+ | - Select the 6in4 Static Tunnel IPv6 Service Type. \\ \\ | ||
+ | - 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. \\ \\ \\ {{:: | ||
+ | - Leave the IPv6 Router | ||
+ | - In the first Static DNS field, enter the Anycast | ||
+ | - 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 | ||
+ | - 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. \\ \\ | ||
+ | - Leave Tunnel MTU and Tunnel TTL at their defaults. Click Save. \\ \\ | ||
+ | - If your IP address is dynamic, you must use DDNS to update the " | ||
+ | |||
+ | \\ | ||
+ | |||
+ | For more details, see tunnelbroker.net' | ||
+ | |||
+ | \\ FIXME \\ | ||
+ | |||
+ | | ||
+ | |||
+ | \\ FIXME \\ | ||
+ | |||
+ | | ||
+ | |||
+ | \\ | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | | ||
+ | |||
+ | **Debug** | ||
+ | |||
+ | Enabling this sets the Logging Detail level to to Debug Level. All messages of debug level or higher will be logged.\\ | ||
+ | |||
+ | | ||
+ | |||
+ | Every DHCP client/ | ||
+ | |||
+ | Options: | ||
+ | |||
+ | * 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/reconnection of the WAN interface. | ||
+ | |||
+ | \\ You can see the DUID type currently used in the [[status-overview|Overview]] menu. | ||
+ | |||
+ | Support for DUID Type started in release 2022.4. Fixed DUID types and custom DUIDS are not supported. | ||
+ | |||
+ | \\ {{ipv6-config.png? | ||
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **Prefix Length** | ||
+ | |||
+ | Other options commonly used include 56 bits. (Default: 64). | ||
+ | |||
+ | \\ **Request PD Only** | ||
+ | |||
+ | \\ **Do not allow PD/Address release** | ||
+ | |||
+ | Enabling this prevents disconnecting DHCP6 clients disconnecting from the ISP from sending a release message. Enabling it makes the client more likely to receive the same allocation on subsequent requests. Support for this option started in release 2022.4. | ||
+ | |||
+ | \\ | ||
- | see also [[https:// | + | **Add default route ::/0** \\ IPv6 Router Advertisements (through IPv6 ICMP on the WAN interface) will add the default route. As a result, this option is usually required. However, some ISPs, such as Snap (NZ), or Internode (AU) may require you to specify the default route / workaround. |
- | ===== Static DNS ===== | + | See also [[https:// |
- | Tomato | + | \\ **Static DNS** \\ FreshTomato |
- | **Examples:** | + | Examples: |
* 2001: | * 2001: | ||
* 2001: | * 2001: | ||
- | ===== Accept RA from ===== | + | \\ **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 |
- | Note: When using DHCPv6 with Prefix Delegation, this option | + | \\ |
+ | |||
+ | When using DHCPv6 with Prefix Delegation, this option | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | ===== IPv6 Notes and Troubleshooting ===== | ||
+ | |||
+ | IPv6 is still new to many people and can be quite different from IPv4. Here are some good sources for learning IPv6 basics: | ||
+ | |||
+ | Network Lessons: Introduction to IPv6 | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | \\ | ||
+ | |||
+ | Professor Messer: Assigning IPv6 addresses | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | \\ | ||