This is an old revision of the document!
FreshTomato supports Virtual LAN (VLAN) configurations that conform to the 802.1Q standard. The user can create up to 16 VLANs. A VLAN can use a VID between 1 and 4094.
If you are new to VLANs, here is an excellent introductory video:
Practical Networking - What are VLANs
For VLANs to work properly on ARM and MIPS routers, please use r2021.8 or later. See the examples for more details.
Note that since r20261, the VLAN display has changed. There is now only one symbol per cell to enable/disable tagging. The “tag” column has been removed.
Configuration example: German Telekom ISP
GT supports a dual-stack setup (IPv4 & IPv6). For the WAN Port, a VLAN tag with a value of 7 (VID 7) is required.
This section contains assignments of wireless interfaces to various LAN bridges, as well as the ability to disable ports not in use.
Always check/verify the correct settings on the Virtual Wireless and Network menus to ensure proper VLAN operation.
The following settings are also mandatory:
For VLANs to function properly, use Freshtomato r2021.8 or later. Older forks like AdvancedTomato, or Toastman may not work as expected. These are usually unsafe, deprecated and should not be used in live environments.
PPPoE Connections with FreshTomato r2021.7 and older.
PPPoE connections work only when the following workaround is implemented:
Example 1: Connecting to German Telekom using FreshTomato r2021.7
ISP German Telekom uses PPPoE with VID: “7”.
⇒ you must use VLAN: “7” using VID: “7” (a “traditional” VLAN/VID mapping).
Example 2: Connecting to Freedom Internet using FreshTomato r2021.7
Freedom uses PPPoE , and VLAN: “6” using VID: “6”
See: FreshTomato-ARM - development discussion only - Freedom.nl PPPoE
Example 3: Connecting to Vivo FTTH (Brazil) using FreshTomato r2021.7
Vivo use PPPoE, and VLAN: “10” using VID: “10”
See Tomato Forums: R7000 - VLAN issue on FTTH provider
Since r2021.8, you can select/use any VLAN from 0 to 15. (See example in above picture for 1 (Telekom ISP), now using VLAN 5 with VID 7).