New Mikrotik user, Switch,Vlan TRUNK and NATIVE

HI everyone,

I’m a news user of mikrotik

I don’t understand how to configure my network

I have the Hap AC3, the port 1 is for the WAN internet PPPOE and the port 2-> 5 is for the lan

How to configure the all port ether2->5 in switch with vlan tag “2” (for voip phone) and native VLAN 1

I don’t understand if necessary to configure on Bridge, or interface or Switch menu (Chip switch available) because I have the menu vlan on the 3 menu…

Thank’s for you help

RouterOS V7.1.1

So how many subnets will you have ?
How is VOIP managed?
Were you planning vlans or just one subnet…

Hùi thank’s for your reply

Two subnet :

192.168.1.0/24 = DATA computer
192.168.2.0/24 = Voip PHONE

The phone send DSCP for SIG and RTP with VLAN TAG 2 and COS 5

The computer connect directly port on router or behind the VOIP phone

For this example: the voip phone tag your packet but when it’s the pc computer the phone don’t tag packet

There are many ways to accomplish what you want.
You could have the following

OPTION A - separate bridge and vlan
Bridge for ports 2-4 (assuming ether1 is WAN) all using 192.168.1.0/24 subnet
Ether 5 is removed from bridge
Create vlan-VOIP ID:2 interface=ether5
Assuming the voip phone still needs a network on vlan2
then assign the IP address, the IP pool, dhcp server and dhcp server network to interface vlan-VOIP
Put your PCs on ports 2-4

OPTION B all vlans (vlan-home (id:10) , vlan-VOIP)
Create two vlans
interface is the bridge
each vlan gets Ip address, pool, dhcp server dhcp network
Bridge ports all get pvid of vlanhome 10
Bridge vlan interface settings
add bridge=bridge tagged=bridge pvid=10
add bridge=bridge tagged=bridge,ether5 pvid=2

This setup up ports 2-4 as access ports hookup any pcs on the main lan. Port 5 is a hybrid port sending both untagged traffic and vlan2 to the VOIP phone, the phone will read vlan2 tagged traffic and pass the untagged main LAN traffic to a pc behind it.

Probably at least two other options…

It’s OK

I test multi config and now it’s ok

thank(s for your help

just another question

how to view if is use the cpu or switch chip ?