Community discussions

MikroTik App
 
davidreaton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Thu Oct 02, 2014 12:21 am

Assign port to VLAN

Wed Sep 07, 2022 11:52 pm

I have a RB951G I'm using as a switch. I want to assign 3 ports to working VLANs, and maintain the last port with main network access. Using Eth1 as the trunk, ports 2, 3 and 4 properly access their respective VLANs, with IP addresses from the correct pools. Eth5 has no access, and no IP address is assign to attached devices. I'm missing something, but don't know what. My configuration is attached. Help appreciated.

Best Regards,
Dave
You do not have the required permissions to view the files attached to this post.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19099
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Assign port to VLAN

Thu Sep 08, 2022 12:52 am

What is the management or trusted subnet?
 
davidreaton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Thu Oct 02, 2014 12:21 am

Re: Assign port to VLAN

Thu Sep 08, 2022 5:53 pm

The trusted subnet is my main network, 192.168.60.0/24. The VLANs are 172.16.10.0/24, 10.10.0.0/24 and 10.10.1.0/24. The port 1 trunk is connected to my My RB4011 which handles routing the VLANs. Devices connected to ports 2, 3 or 4 connect to the correct VLAN, get IPs for the proper DHCP pool. Devices plugged in to port 5 get no IP address at all.

When I use the 951 as a simple switch, I can access my 192.168.60.0 network from any port. After I assigned selected ports to the VLANs, I can't access the 192.168 network from port 5, which should not be involved with VLANs at all.

Am I missing something basic??
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19099
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Assign port to VLAN

Fri Sep 09, 2022 5:57 am

Just to be clear you dont use a vlan for the main subnet on the rb4011 and you assign that to the bridge of the 4011.

Reason being that mixes apples and oranges, whereas Its much easier in my opinion to give the main subnet a vlan like 11 and keep it simple.

Especially when you are talking about transferring vlans to other smart devices.......... then it becomes smart and simple.
 
davidreaton
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Thu Oct 02, 2014 12:21 am

Re: Assign port to VLAN

Thu Sep 15, 2022 6:56 pm

Thank you for your help. Much Appreciated!

Who is online

Users browsing this forum: aoakeley, gogle, kub1x, sybadi and 87 guests