Community discussions

MikroTik App
 
em2397a
just joined
Topic Author
Posts: 19
Joined: Sun Sep 11, 2022 5:03 pm

Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Mon Oct 09, 2023 3:13 pm

Hello, I have the following configuration: an ESXi 6.7 server running vCenter 6.7, connected directly to the CCR2004-1G-2XS-PCIe router via SFP ports (trunk). Private VLAN is configured on the server (screenshots of the settings in the attachment), virtual machines are added to this group of ports (Isolated 100, 1001). Task: block all connections between virtual machines, but allow connections to the gateway (VLAN 100 interface on the router). A Google search only offers instructions on how to configure Private VLAN on switches. Is it possible to set up such a scheme?
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13038
Joined: Thu Mar 03, 2016 10:23 pm

Re: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Mon Oct 09, 2023 3:19 pm

This is rather question for DSwitch ... traffic within same VLAN between those VMs will not even reach CRS. And if it does, it won't go back. Routing between the two VLANs is different topic though.
 
em2397a
just joined
Topic Author
Posts: 19
Joined: Sun Sep 11, 2022 5:03 pm

Re: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Mon Oct 09, 2023 4:14 pm

Thank you for your answer, I found the information on the vmware website: "For this reason, it is a requirement that each physical switch, where ESX with PVLANs are connected, must be PVLAN aware.", but in my case the router does not have a switch chip, is it possible to configure this?

https://kb.vmware.com/s/article/1010691
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13038
Joined: Thu Mar 03, 2016 10:23 pm

Re: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Mon Oct 09, 2023 11:23 pm

Every ROS device is capable of VLANs. Either use bridge with vlan-filtering enabled (read this tutorial to get inspiration) or, if your CRS is pure router, configure VLAN interfaces directly off physical ports. Which oštion is the right one depends on topology of the rest of network.
 
em2397a
just joined
Topic Author
Posts: 19
Joined: Sun Sep 11, 2022 5:03 pm

Re: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Tue Oct 10, 2023 8:22 am

Perhaps we misunderstand each other, I have classic VLANs configured and working, but I need to configure a Private VLAN (when one VLAN contains several others, but they are all located on the same IP network).
I found information only about switches: https://wiki.mikrotik.com/wiki/Manual:S ... ivate_VLAN
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13038
Joined: Thu Mar 03, 2016 10:23 pm

Re: Private VLAN ESXi (vCenter 6.7) CCR2004-1G-2XS-PCIe

Tue Oct 10, 2023 8:46 am

Again: since all VMs are behind single CRS port, it's not something to be done on CRS ... it's ESXi Dswitch that has to perform it.
If there were multiple ESXi hosts, connected to same CRS (via multiple physical ports, members of same bridge), then you would have to set horizon property on affected bridge ports to separate different ESXi machines.

Who is online

Users browsing this forum: No registered users and 83 guests