Skip to content

[BUG] network declaration for dhcp peer #422

Closed
@cm91

Description

@cm91

Please prefix your issue title with one of the following: [BUG], [ISSUE], [FEATURE REQUEST], [MODULE REQUEST], [OTHER].

Replace everything between stars with current version of your facileManager and module installations:
fM Version : *3.2
{fmdhcp} Version : 0.2

In raising this issue, I confirm the following (please check boxes, eg [X]):

  • [] I have read and understood the contributors guide.
  • [] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
  • [] I have checked that the issue I'm posting isn't already reported.
  • [] I have checked that the issue I'm posting isn't already solved and no duplicates exist in closed issues and opened issues
  • [] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

(BUG | ISSUE) Expected Behavior:

network has to be declared befor the pool.

shared-network testlan {
authoritative;
default-lease-time 3600;
max-lease-time 3600;
option routers 10.10.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.0.255;
option domain-name "test.lan";

    subnet 10.10.0.0 netmask 255.255.255.0 {

    pool {
            range 10.10.0.100 10.10.0.200;
            failover peer "dhcp-test";
    }

    }

}

(BUG | ISSUE) Actual Behavior:

When using dhcp peer option i have declared:

  1. shared network
  2. network
  3. pool

I assigned the network and the pool to the shared network and it looks like this:

shared-network testlan {
authoritative;
default-lease-time 3600;
max-lease-time 3600;
option routers 10.10.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 10.10.0.255;
option domain-name "test.lan";

    pool {
            range 10.10.0.100 10.10.0.200;
            failover peer "dhcp-test";
    }

    subnet 10.10.0.0 netmask 255.255.255.0 {
    }

}

The Problem is, that the pool is declared before the network declaration --> isc.dhcp fails!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions