How to enable IPv6 support on OMV6?

    • Offizieller Beitrag

    ipv6 is enabled by default at the OS level. Some services managed by OMV will disable ipv6 support if ipv6 is not detected. If your network interface has an ipv6 address, it should just work. I used it for a long time until my ISP dropped support.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Yep

  • I'm running into a similar issue. I cannot enable IPv6. When I attempt to switch and apply, I get the following error message and I am forced to undo the action. IPV6 is supported by my ISP. Maybe I'm missing something super obvious.



    • Offizieller Beitrag

    Is this file installed by an omv-extra.org plugin?

    Nope.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    I would like to see what 20domains looks like if it exists.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I don't know at all what 20domains is. My main issue is that I was getting IPV6 related connection issues. The OMV network page showing IPV6 disabled turned out to be a bit of a red herring. It turns out that I failed to create an AAAA IPV6 entry in my host record for my domains pointing to my local server. I created the records last night for all domains and it tested perfect this morning.


    However, attempting to enable IPV6 in the OMV gui still results in the error. My server is working with IPV6 now. Guess I'll ignore the error.

    ¯\_(ツ)_/¯

    • Offizieller Beitrag

    I don't know at all what 20domains is.

    What is the output of:

    ls -al /srv/salt/omv/deploy/hosts/

    cat /srv/salt/omv/deploy/hosts/20domains.sls

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Interesting. I investigated the entry in this file and noted that it is trying to append some custom hosts in a second hosts file in /etc. The /etc/hosts2 file exists but is empty. I removed the 20domains.sls file and tried once more to enable DHCP for IPV6 in the OMV dashboard. This time it succeeded! Though I wonder where this came from.


    The contents of the 20domains.sls file:


    Code
    {% set hosts = salt['cmd.shell']('cat /etc/hosts2') %} append_custom_hosts: file.append: - name:
    "/etc/hosts"
    - text: "{{ hosts }}"


    Output of ls -al /srv/salt/omv/deploy/hosts/

    Code
    root@microverse:/srv/salt/omv/deploy/hosts# ls -al /srv/salt/omv/deploy/hosts/
    total 24K
    drwxr-xr-x  2 root root 4.0K May 25 09:47 .
    drwxr-xr-x 46 root root 4.0K May 18 11:29 ..
    -rw-r--r--  1 root root 3.2K Apr 25 12:03 10default.sls
    -rw-r--r--  1 root root  133 Apr 21 22:10 20domains.sls
    -rw-r--r--  1 root root 1.1K Feb 24 05:54 default.sls
    -rw-r--r--  1 root root  909 Feb 24 05:54 init.sls
    -rw-r--r--  1 root root 1.1K Feb 24 05:54 default.sls
    -rw-r--r--  1 root root  909 Feb 24 05:54 init.sls
  • This jogged my memory. A long while back I recall learning and dealing with some issues pertaining to the inability to edit /etc/hosts in OMV as it is controlled by OMV. I ran across this blog where a user claimed to have crafted a workaround. Apparently it didn't work or no longer works or something. I was a little careless on this and didn't document what I did for future me to know what the heck past me did.


    OpenMediaVault : Maintain entries in /etc/hosts

    • Offizieller Beitrag

    That explains more. I would delete that file.

    • Offizieller Beitrag

    Here is what votdev told me.


    Maybe there could be an "Extra Options" or something?

    • Offizieller Beitrag

    Here is what votdev told me.


    Maybe there could be an "Extra Options" or something?

    You know my opinion about adding any input fields to give users any tuning options. Those are only added if they make sense for all users, they fit into the OMV concept and do not complicate the administration & configuration experience.

    With openmediavault 6.4.0 i hope that many networking issues will be fixed because some things were misconfigured in older versions. With the fixes done in 6.4.0 systemd-resolved is correctly used.

  • For reference, here's what my system shows (IPv6 enabled and working)

    Bash
    root@nas:~# ls -al /srv/salt/omv/deploy/hosts/
    total 20
    drwxr-xr-x  2 root root 4096 May 21 11:47 .
    drwxr-xr-x 48 root root 4096 May 21 11:47 ..
    -rw-r--r--  1 root root 3231 Apr 25 19:03 10default.sls
    -rw-r--r--  1 root root 1085 Feb 24 12:54 default.sls
    -rw-r--r--  1 root root  909 Feb 24 12:54 init.sls
    root@nas:~# cat /srv/salt/omv/deploy/hosts/20domains.sls
    cat: /srv/salt/omv/deploy/hosts/20domains.sls: No such file or directory
    root@nas:~#


    With openmediavault 6.4.0 i hope that many networking issues will be fixed because some things were misconfigured in older versions.

    These improvements are always appreciated, thanks!

    OMV BUILD - MY NAS KILLER - OMV 6.x + omvextrasorg (updated automatically every week)

    NAS Specs: Core i3-8300 - ASRock H370M-ITX/ac - 16GB RAM - Sandisk Ultra Flair 32GB (OMV), 256GB NVME SSD (Docker Apps), Several HDDs (Data) w/ SnapRAID - Fractal Design Node 304 - Be quiet! Pure Power 11 350W


    My all-in-one SnapRAID script!

Jetzt mitmachen!

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