Details
Details
Hello,
if i'm not wrong DHCP Faliover/Clustering not implemented currently in CLI
Just wondering how hard it will be to implement?
Answers
Answers
DHCP-failover is implemented in VyOS:
ewald@jeff# show service dhcp-server disabled false global-parameters "option unifi-address code 43 = string;" shared-network-name int-mgmt { authoritative disable subnet 172.20.0.96/27 { default-router 172.20.0.97 dns-server 172.20.0.97 failover { local-address 172.20.0.98 name int-mgmt peer-address 172.20.0.99 status secondary } lease 86400 start 172.20.0.100 { stop 172.20.0.126 } subnet-parameters "option unifi-address 01:04:AC:14:01:2C;" } }
Beware if you are trying to get failover working and you are serving DHCP for multiple subnets. There doesn't appear to be a way currently to set failover options at a global level for DHCP, it is set at the subnet level. If you want to enable failover for more than one subnet the dhcpd.conf file will be invalid as it will contain multiple declarations for the same fail over group.
I filed a bug on the Bugzilla bug tracker a while ago, it is here: http://bugzilla.vyos.net/show_bug.cgi?id=634
New Answer
New Answer