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 :

vyos@vyos:~$ 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

Version
VyOS 1.3.0
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

fernando renamed this task from [DHCP-SERVER] error paramater on Failover to [DHCP-SERVER] error parameter on Failover.Feb 18 2022, 6:37 PM
c-po moved this task from Need Triage to 1.3.1 on the VyOS 1.3 Equuleus board.
c-po edited projects, added VyOS 1.3 Equuleus ( 1.3.1); removed VyOS 1.3 Equuleus.
c-po triaged this task as Normal priority.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus ( 1.3.1) board.