Help with pmx vlan and mikrotik

guletz

Distinguished Member
Apr 19, 2017
1,650
299
153
Brasov, Romania
Hello to all,

I think a lot if is the best way to get some help. I do not want to disturb this forum or the pmx stuff with this not usually request.
I am living in a country where money are very hard to get even if I work 12 hours/day - lucky me ;)
I want if someone will to trust me, to help for a setup where:
- I use pmx a cluster(with zfs)
- I have a dedicated pmx storage network
- I also have a clients lan (and some others servers
- all my network use only mikrorik devices

I have some knowledge about linux and networking, but no experience regarding Vlans (only some basic knowledge about, like trunking, access port, q in q)

I want if is someone have want to try to teach me how to implement vlans in this enviroment. And because I can not pay for this kind of service (as I think is normal), I can offering for this anything as I know regarding Linux, zfs, proxmox and many others topics as compensation .
Plese send me your intention and I will answer at any message.

Also I kindly escuse me the PMX fourum admins if this request is not OK.

Thx. in advance
 
Code:
# /etc/networking/interfaces
auto vmbr0
iface vmbr0 inet manual
bridge_ports bond0
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes
If you know how to set VLANs on your mikrotik, then you can add the "bridge_vlan_aware" to your bridge(s) and set the VLAN on you the VM config (edit network interface).
 
Thx. for your response. So if I understand, for example now I have the vmbr0(with only a single ethX iface), so I will need something like this:

1.

Code:
# /etc/networking/interfaces
auto vmbr0
iface vmbr0 inet manual
bridge_ports ethY
bridge_stp off
bridge_fd 0
bridge_vlan_aware yes


2.
Next, I will need to add for any VMs a VLAN Tagg = yyy / whatever vlan tag ID

3.
On switch/Mikrotik(where ethY is plug in) port I will also need to setup the same vlan tag ID

Thx. a lot!
 
Exactly. And then subsequently you can route traffic between your VLANs on the router side (gateway).
 
  • Like
Reactions: guletz