Bridge and VLAN

  • Hello,

    i can create a Brigde Interface. When i trie to create a VLAN on the Brigde i get an error:

    Is it possible to create a Vlan on a Brige interface?

  • Hi,


    I also wanted to do this. But got the following message with omv6:


    Zitat

    500 - Internal Server Error
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color systemd-networkd 2>&1' with exit code '1': debian: ---------- ID: remove_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 16:08:15.368985 Duration: 1.238 ms Changes: ---------- file.find: ---------- ID: remove_empty_systemd_networkd_config_files Function: module.run Result: True Comment: file.find: [] Started: 16:08:15.370332 Duration: 0.89 ms Changes: ---------- file.find: ---------- ID: remove_netplan_config_files Function: module.run Result: True Comment: file.find: ['/etc/netplan/10-openmediavault-default.yaml', '/etc/netplan/20-openmediavault-eno1.yaml', '/etc/netplan/60-openmediavault-br0.yaml'] Started: 16:08:15.371312 Duration: 1.168 ms Changes: ---------- file.find: - /etc/netplan/10-openmediavault-default.yaml - /etc/netplan/20-openmediavault-eno1.yaml - /etc/netplan/60-openmediavault-br0.yaml ---------- ID: configure_etc_network_interfaces Function: file.managed Name: /etc/network/interfaces Result: True Comment: File /etc/network/interfaces is in the correct state

    Did you ever solve your issue?


    Thanks Hoppel

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

  • Krisbee I already tried to create bridges per VLAN, but it didn’t work. I think I see what I did wrong, thanks to your screenshots. I will check that later.


    Thanks again

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

  • hoppel118 AFAIK the way netplan works means your have to create a bridge per VLAN and not VLANS on a single bridge. See this thread: OMV + KVM + VLAN not working

    Thanks again, it works as expected. :D

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

  • When creating a VLAN based on BRIDGE (when you need several VLANs on the same physical interface, and untagged traffic is not needed), an error occurs in OMV.

    Decided for myself:

    In the file /srv/salt/omv/deploy/systemd-networkd/netplan/50vlan.sls

    on line 28

    - name: "/etc/netplan/50-openmediavault-{{ interface.devicename }}.yaml"

    changed to

    - name: "/etc/netplan/60-openmediavault-{{ interface.devicename }}.yaml"

    In file /srv/salt/omv/deploy/systemd-networkd/netplan/60bridge.sls

    in line 28 similarly replaced 60 with 50.

    Now netplan creates a bridge before creating VLANs and everything works.

  • ShamanRU If I understand you right, it is possible to create VLANs on a single bridge with your workaround, as long as you do not need untagged traffic to be passed:

    hoppel118 AFAIK the way netplan works means your have to create a bridge per VLAN and not VLANS on a single bridge. See this thread: OMV + KVM + VLAN not working

    Is this true?


    Thanks

    ----------------------------------------------------------------------------------
    openmediavault 6 | proxmox kernel | zfs | docker | kvm
    supermicro x11ssh-ctf | xeon E3-1240L-v5 | 64gb ecc | 8x10tb wd red | digital devices max s8
    ---------------------------------------------------------------------------------------------------------------------------------------

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!