Cloud Router Switch VLAN Configuration

Hi. I have a problem.

I am new in Mikrotik. I have a Mikrotik Cloud Router Switch RouterOS v6.42.6 (stable). The Cloud Router Switch has to act LIKE A SWITCH.

I want to create an Inter-vlan routing configuration. I have 2 hosts, 1 is a physical PC with Ubuntu System and the other one is a virtual Machine that uses Windows 10. The virtual machine is into the PC. The PC is connected with the Cloud Router Switch (ether22) and the Cloud Router Switch (ether2) is connected to a Pfsense Firewall. The Firewall will be used as router. The PC has the IP 10.35.10.139 and the virtual machine has the IP 10.35.20.139. I want to communicate them using VLANs 10 and 20 respectively, passing the traffic to the Cloud Router Switch and to the Pfsense.

I have some questions:

  1. Is there a problem when the two hosts, that are on different networks, are connected to the Cloud Router Switch using the same physic cable? (I have to simulate like there are different PCs connected to the Cloud Router Switch)
  2. Do I have to do something in the PC or Virtual Machine for using them in VLAN communication?
  3. What is the default gateway for the PC or the Virtual Machine? The address of the Pfsense Firewall or an IP address of the Cloud Router Switch?
  4. What is the best way to check if the Hosts are communicating to the Cloud Router Switch using VLANs? I used PING but it shows that the hosts doesn’t have communication with the Cloud Router Switch.
  5. What is the correct the correct way to configure VLANs? I used bridges.

Please, help me :frowning: