I try to use my Archer C7 with LEDE 17.01.4 to connect two VLANs (normal + guest wifi) over one ethernet cable to another router (Mikrotik) and split both VLANs to different LAN interfaces on the Mikrotik router.
Without VLAN and only one wifi this setup works.
The actual configuration of the "switch" is this:
Is it ok to change VLAN1/LAN2 to "tagged" for VLAN1 activation?
Off course I need to change settings on the Mikrotik...
You can use VLAN 1 for simple installations where there is no VLAN trunking, but good practice is to not put user data on VLAN 1 in a multi-VLAN environment. VLAN 1 tag is primarily used for management
In the C7 and other typical gigabit routers, two CPU ports and all 5 of the Ethernet ports go into a single 7-port switch chip-- a "jungle" of possible connections from anywhere to anywhere. The default configuration sets up two VLANs to send WAN and LAN traffic through to one CPU port each. In this simple setup, the VLANs are only used internally in the switch, everything entering or leaving is untagged.
Expanding to more than 2 VLANs while having only two CPU ports, it becomes necessary to abandon this simplified setup and tag packets on a CPU port. So change to tagging on the eth1 CPU port so it can handle both LAN and guests. First change eth1 in VLAN1 from untagged to tagged. Also have the switch tag it on your trunk cable. The ports connected to regular LAN devices remain untagged. Then in the LAN network interface physical settings, change from eth1 to eth1.1. It is best to do this while logged in to the router by wifi, in case something gets messed up and Ethernet stops working.
Then you can create a new VLAN for guests. Make it tagged in both the CPU and the trunk port. Create a guest network bridge and attach eth1.3 (if your guest VLAN is 3) to it.
Just an FYI, if you're not using the C7 as a WAN gateway, you can use the WAN sw.port for LAN or other vLANs, removing WAN's network, DHCP, and firewall sections from each respective config. This would essentially make your C7 a managed/smart switch, and is how I have my WRT1900ACS configured since I utilize a Sophos UTM VM as my WAN gateway.
If you configure two separate vLANs for one physical ethernet port (like LAN & Media above), you're likely going to want to add under switch_vlan the option to push the vlan id (pvid) to the network containing the most number of devices.
This enables one of those vLANs to auto route traffic transparently to the vLAN devices of that network (Media above), while the network without that option (LAN above) would need to have all it's devices configured manually with the vLAN tag of the network (1 above)