Skip to content

debian_ip: IPv6 only interfaces not possible #14530

Closed

Description

@arnisoph

salt.modules.debian_ip adds IPv4 configuration to every interface by default, see _parse_settings_eth().

auto eth0
iface eth0 inet

iface eth0 inet6 static
    address 2a03:foo::
    netmask 64
    gateway fe80::1
network_eth0:
  network:
    - managed
    - name: eth0
    - enabled: True
    - type: eth
    - enable_ipv6: True
    - ipv6proto: static
    - ipv6ipaddr: 2a03:foo::
    - ipv6netmask: 64
    - ipv6gateway: fe80::1
# salt-minion --versions
           Salt: 2014.1.0-8580-gf9ec0bf
         Python: 2.7.3 (default, Mar 13 2014, 11:03:55)
         Jinja2: 2.6
       M2Crypto: 0.21.1
 msgpack-python: 0.1.10
   msgpack-pure: Not Installed
       pycrypto: 2.6
        libnacl: Not Installed
         PyYAML: 3.10
          ioflo: Not Installed
          PyZMQ: 13.1.0
           RAET: Not Installed
            ZMQ: 3.2.3

It should be possible to setup IPv6 only network interface configurations.

Activity

  1. arnisoph commented on Jul 26, 2014

    @arnisoph
    ContributorAuthor

    refs #12216

  2. garethgreenaway commented on Jul 26, 2014

    @garethgreenaway
    Contributor

    Would you mind testing the develop branch? There were a lot of bug fixes for the debian_ip module.

  3. arnisoph commented on Jul 26, 2014

    @arnisoph
    ContributorAuthor

    No there weren't any changes. See https://github.com/bechtoldt/salt/commits/develop-arbe/salt/modules/debian_ip.py for the version I'm using. I'm using a fairly new version of the develop branch.

    The version shown in salt-minion --versions is simply garbage (I don't know why). I'm using self-built packages from https://github.com/bechtoldt/salt/tree/develop-arbe.

  4. garethgreenaway commented on Jul 26, 2014

    @garethgreenaway
    Contributor

    Okay. Will take a look.

  5. garethgreenaway commented on Jul 27, 2014

    @garethgreenaway
    Contributor

    I think I'm seeing the same results that you're seeing. Inside the /etc/network/interfaces do you see an entry like this for a ipv4 interface:

    auto eth0
    iface eth0 inet
    
  6. garethgreenaway commented on Jul 28, 2014

    @garethgreenaway
    Contributor

    See the issue. It's in the template we're using. Working on a fix now.

  7. added a commit that references this issue on Jul 28, 2014
  8. garethgreenaway commented on Jul 28, 2014

    @garethgreenaway
    Contributor

    @bechtoldt Would you be able to check latest develop and see if the issue you were seeing is resolved?

  9. arnisoph commented on Jul 28, 2014

    @arnisoph
    ContributorAuthor

    @garethgreenaway yep that works now. thanks!

  10. garethgreenaway commented on Jul 28, 2014

    @garethgreenaway
    Contributor

    Awesome! :) Mind closing the issue?

  11. arnisoph commented on Jul 28, 2014

    @arnisoph
    ContributorAuthor

    do it!

  12. garethgreenaway commented on Jul 28, 2014

    @garethgreenaway
    Contributor

    Well I can't...but you should be able to close it.

  13. arnisoph commented on Jul 28, 2014

    @arnisoph
    ContributorAuthor

    lol sorry, haven't seen the button. done now

  14. garethgreenaway commented on Jul 28, 2014

    @garethgreenaway
    Contributor

    No worries. Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions