MIkrotik and Proxmox vlan

serafimko

New Member
Aug 8, 2018
1
0
1
33
Hello!
Sorry for my english, I use an interpreter.
Mikrotik (24 ports) 192.168.1.0/24
Proxmox eth24 server 192.168.1.31 in Mikrotik
address 10.10.2.0/28 Vlan eth24.110 tag = 110

On the Proxmox Server

Code:
 / etc / network / interfaces

iface lo inet loopback

iface enp2s0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.31
        netmask 255.255.255.0
        gateway 192.168.1.1
        bridge-ports enp2s0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

The guest OS

Code:
 / etc / network / interfaces
auto ens18
iface ens18 inet static
        address 10.10.2.10/28
        gateway 10.10.2.1

This configuration of vlan does not work.
tried through ovs

Code:
allow-vmbr0 enp2s0
 iface enp2s0 inet manual
    ovs_type OVSPort
    ovs_bridge vmbr0

 auto vmbr0
 iface vmbr0 inet static
    address 192.168.1.31
    netmask 255.255.255.0
    gateway 192.168.1.1
    ovs_type OVSBridge
    ovs_ports enp2s0 vlan110

allow-vmbr0 vlan110
iface vlan110 inet manual
    ovs_type OVSIntPort
    ovs_bridge vmbr0
    ovs_options tag = 110

Also does not work.
If Vlan110 write ip from the network 10.10.2.0/28 then there is no connection with the VM.
If the bridge remove ip, then the connection to the VM appears.
Knocking to Proxmox or a guest with Mikrotik is not possible on the network 10.10.2.0/28

https://pve.proxmox.com/wiki/Network_Model#Create_VLAN
not work
ifup: /etc/network/interfaces:17: unknown or no address type and no inherits keyword specified

17 it iface enp2s0.110

auto vlan110
iface vlan110 inet manual
vlan_raw_device enp2s0

not work
ifup: /etc/network/interfaces:18: unknown or no address type and no inherits keyword specified

18 iface vlan110 inet manual
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!