network config cleanup (/etc/network/interfaces vs OMV GUI)

  • First of all thanks to: gderf, ryecoaaron, gandalf1203 because of your posts I was able to install a 2nd NIC into OMV and get all the config errors cleaned up and the NIC is running.


    BUT... the /etc/network/interfaces vs. GUI config are not matched. Everything works, even after a reboot, but I'm wondering how I can cleanup the GUI so that it matches the actual config.


    here is /etc/network/interfaces:
    (and for the record, enp2s0 could now be deleted, it's the onboard 100mb NIC)


    # Include additional interface stanzas.
    source-directory interfaces.d


    # The loopback network interface
    auto lo
    iface lo inet loopback


    # enp2s0 network interface
    auto enp2s0
    allow-hotplug enp2s0
    iface enp2s0 inet static
    address 192.168.1.2
    netmask 255.255.255.0
    dns-nameservers 192.168.1.3
    dns-search nisi.local
    iface enp2s0 inet6 manual
    pre-down ip -6 addr flush dev $IFACE


    # enp3s0 network interface
    auto enp3s0
    allow-hotplug enp3s0
    iface enp3s0 inet static
    address 192.168.243.2
    gateway 192.168.243.254
    netmask 255.255.255.0
    dns-nameservers 192.168.243.3
    dns-search nisi.local
    iface enp3s0 inet6 manual
    pre-down ip -6 addr flush dev $IFACE



    See attached SNIP from GUI config of OMV.


    Like I said, this all works, but I am concerned that one day the system will get confused and the NIC's will stop working.


    TIA,
    Scott.


    forum.openmediavault.org/wsc/index.php?attachment/11539/

Jetzt mitmachen!

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