MIkrotik and Proxmox vlan

Discussion in 'Proxmox VE: Networking and Firewall' started by serafimko, Aug 8, 2018.

  1. serafimko

    serafimko New Member

    Joined:
    Aug 8, 2018
    Messages:
    1
    Likes Received:
    0
    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
     
    #1 serafimko, Aug 8, 2018
    Last edited: Aug 9, 2018
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice