Skip to content

Support for CIDR address format #26

Description

@dimagafurov

In Debian 9 Stretch it is possible to set up addresses in CIDR format.

Example

iface eth0 inet static
        address 192.168.99.1/24
        gateway 192.168.99.1
        name eth0

instead of:

iface eth0 inet static
        address 192.168.99.1
        netmask 255.255.255.0
        gateway 192.168.99.1
        name eth0

Debinterfaces currently does not support this and it gives ValueError on validating IP addres when trying to parse interfaces file

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions