Page MenuHomeVyOS Platform

[DHCP-SERVER] error parameter on Failover
Closed, ResolvedPublicBUG

Description

Hi

I've been testing this feature dhcp-server failover , we have an issues regarding the port that it should be listening (on 647)

https://docs.vyos.io/en/equuleus/configuration/service/dhcp-server.html#failover

if we checked the rfc , it said that this port should be initiated over port 647 :

https://datatracker.ietf.org/doc/html/draft-ietf-dhc-failover

All failover TCP connections are initiated over port 647.  Every
server implementing the failover protocol MUST listen on port 647.

this issues is related with default configuration on ISC DHCP :

[email protected]:~$ cat /run/dhcp-server/dhcpd.conf
### Autogenerated by dhcp_server.py ###

# For options please consult the following website:
# https://www.isc.org/wp-content/uploads/2017/08/dhcp43options.html
#
# log-facility local7;


ddns-update-style none;
option rfc3442-static-route code 121 = array of integer 8;
option windows-static-route code 249 = array of integer 8;
option wpad-url code 252 = text;

# DHCP failover configuration
failover peer "testdhcp" {
    primary;
    mclt 1800;
    split 128;
    address 192.168.10.1;
    port 520;
    peer address 192.168.10.2;
    peer port 520;
    max-response-delay 30;
    max-unacked-updates 10;
    load balance max seconds 3;
}

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3.0
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.3.1