Hi everyone!
I am trying to get the DHCP server working on the bridge interface.
show version
~$ show version
Version: VyOS 1.5-rolling-202410010007
Release train: current
Release flavor: generic
Built by: autobuild@vyos.net
Built on: Tue 01 Oct 2024 00:07 UTC
Build UUID: 819a0a01-f7dc-41a6-bb0c-0f366842dca2
Build commit ID: a0deb45ac8367e
Architecture: x86_64
Boot via: installed image
System type: bare metal
Secure Boot: disabled
Hardware vendor: Default string
Hardware model: Default string
Hardware S/N: Default string
Hardware UUID: 03000200-0400-0500-0006-000700080009
$ show interfaces
~$ show interfaces
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface IP Address MAC VRF MTU S/L Description
----------- --------------- ----------------- ------- ----- ----- -------------
bond0 - ae:6c:d9:7f:1b:28 default 1500 u/u
br0 10.10.0.1/24 52:c6:8b:2f:60:e6 default 1500 u/u LAN
eth0 10.0.0.195/24 a8:b8:e0:05:c5:a1 default 1500 u/u WAN
eth1 192.168.10.1/24 a8:b8:e0:05:c5:a2 default 1500 u/D TEMP
eth2 - ae:6c:d9:7f:1b:28 default 1500 u/u
eth3 - ae:6c:d9:7f:1b:28 default 1500 u/u
eth4 - a8:b8:e0:05:ec:39 default 1500 u/D
eth5 - a8:b8:e0:05:ec:3a default 1500 u/D
lo 127.0.0.1/8 00:00:00:00:00:00 default 65536 u/u
::1/128
# show interfaces
# show interfaces
bonding bond0 {
hash-policy layer2+3
lacp-rate fast
member {
interface eth2
interface eth3
}
}
bridge br0 {
address 10.10.0.1/24
description LAN
enable-vlan
member {
interface bond0 {
}
}
}
ethernet eth0 {
address dhcp
description WAN
hw-id a8:b8:e0:05:c5:a1
offload {
gro
gso
sg
tso
}
}
ethernet eth1 {
address 192.168.10.1/24
description TEMP
hw-id a8:b8:e0:05:c5:a2
offload {
gro
gso
sg
tso
}
}
ethernet eth2 {
hw-id a8:b8:e0:05:c5:a3
offload {
gro
gso
sg
tso
}
}
ethernet eth3 {
hw-id a8:b8:e0:05:c5:a4
offload {
gro
gso
sg
tso
}
}
ethernet eth4 {
hw-id a8:b8:e0:05:ec:39
offload {
gro
gso
sg
tso
}
}
ethernet eth5 {
hw-id a8:b8:e0:05:ec:3a
offload {
gro
gso
sg
tso
}
}
loopback lo {
}
show service dhcp-server
# show service dhcp-server
shared-network-name LAN {
subnet 10.10.0.0/24 {
lease 60
option {
default-router 10.10.0.1
name-server 1.1.1.1
}
range 0 {
start 10.10.0.100
stop 10.10.0.200
}
subnet-id 1
}
}
show log dhcp server
Oct 08 13:52:20 systemd[1]: Started kea-dhcp4-server.service - Kea IPv4 DHCP daemon.
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.133 INFO [kea-dhcp4.dhcp4/2920.140341785285120] DHCP4_STARTING Kea DHCPv4 server version 2.4.1 (stable) starting
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.139 INFO [kea-dhcp4.hosts/2920.140341785285120] HOSTS_BACKENDS_REGISTERED the following host backend types are available: mysql postgresql
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.139 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_MT_DISABLED_QUEUE_CONTROL disabling dhcp queue control when multi-threading is enabled.
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.139 WARN [kea-dhcp4.dhcp4/2920.140341785285120] DHCP4_RESERVATIONS_LOOKUP_FIRST_ENABLED Multi-threading is enabled and host reservations lookup is always performed first.
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.149 INFO [kea-dhcp4.hooks/2920.140341785285120] HOOKS_LIBRARY_CLOSED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully closed
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.149 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_CFGMGR_NEW_SUBNET4 a new subnet has been added to configuration: 10.10.0.0/24 with params: valid-lifetime=60
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.149 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_CFGMGR_SOCKET_TYPE_SELECT using socket type raw
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.150 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_CFGMGR_SOCKET_TYPE_SELECT using socket type raw
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.150 INFO [kea-dhcp4.commands/2920.140341785285120] COMMAND_ACCEPTOR_START Starting to accept connections via unix domain socket bound to /run/kea/dhcp4-ctrl-socket
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.150 INFO [kea-dhcp4.lease-cmds-hooks/2920.140341785285120] LEASE_CMDS_INIT_OK loading Lease Commands hooks library successful
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.150 INFO [kea-dhcp4.hooks/2920.140341785285120] HOOKS_LIBRARY_LOADED hooks library /usr/lib/x86_64-linux-gnu/kea/hooks/libdhcp_lease_cmds.so successfully loaded
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.150 INFO [kea-dhcp4.dhcp4/2920.140341785285120] DHCP4_CONFIG_COMPLETE DHCPv4 server has completed configuration: added IPv4 subnets: 1; DDNS: disabled
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.151 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_MEMFILE_DB opening memory file lease database: name=/config/dhcp/dhcp4-leases.csv persist=true type=memfile universe=4
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /config/dhcp/dhcp4-leases.csv.2
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /config/dhcp/dhcp4-leases.csv
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_MEMFILE_EXTRACT_EXTENDED_INFO4 extracting extended info saw 0 leases, extended info sanity checks modified 0 / updated 0 leases and 0 leases have relay or remote id
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_MEMFILE_LFC_SETUP setting up the Lease File Cleanup interval to 3600 sec
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth0 has no usable IPv4 addresses configured
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth2 is not running
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth3 is not running
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth4 is not running
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth5 is not running
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface pim6reg has no usable IPv4 addresses configured
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface br0 is not running
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface bond0 is not running
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.152 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_NO_SOCKETS_OPEN no interface configured to listen to DHCP traffic
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.153 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_CFGMGR_USE_ALLOCATOR using the iterative allocator for V4 leases in subnet 10.10.0.0/24
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.153 WARN [kea-dhcp4.dhcp4/2920.140341785285120] DHCP4_MULTI_THREADING_INFO enabled: yes, number of threads: 8, queue size: 64
Oct 08 13:52:21 kea-dhcp4[2920]: 2024-10-08 13:52:21.153 INFO [kea-dhcp4.dhcp4/2920.140341785285120] DHCP4_STARTED Kea DHCPv4 server version 2.4.1 started
Oct 08 13:52:26 kea-dhcp4[2920]: 2024-10-08 13:52:26.170 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Oct 08 13:52:26 kea-dhcp4[2920]: 2024-10-08 13:52:26.170 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth2 has no usable IPv4 addresses configured
Oct 08 13:52:26 kea-dhcp4[2920]: 2024-10-08 13:52:26.170 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth3 has no usable IPv4 addresses configured
Oct 08 13:52:26 kea-dhcp4[2920]: 2024-10-08 13:52:26.170 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth4 is not running
Oct 08 13:52:26 kea-dhcp4[2920]: 2024-10-08 13:52:26.170 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth5 is not running
Oct 08 13:52:26 kea-dhcp4[2920]: 2024-10-08 13:52:26.170 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface pim6reg has no usable IPv4 addresses configured
Oct 08 13:52:26 kea-dhcp4[2920]: 2024-10-08 13:52:26.177 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface bond0 has no usable IPv4 addresses configured
Oct 08 13:52:31 kea-dhcp4[2920]: 2024-10-08 13:52:31.185 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Oct 08 13:52:31 kea-dhcp4[2920]: 2024-10-08 13:52:31.185 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth2 has no usable IPv4 addresses configured
Oct 08 13:52:31 kea-dhcp4[2920]: 2024-10-08 13:52:31.185 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth3 has no usable IPv4 addresses configured
Oct 08 13:52:31 kea-dhcp4[2920]: 2024-10-08 13:52:31.185 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth4 is not running
Oct 08 13:52:31 kea-dhcp4[2920]: 2024-10-08 13:52:31.185 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth5 is not running
Oct 08 13:52:31 kea-dhcp4[2920]: 2024-10-08 13:52:31.185 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface pim6reg has no usable IPv4 addresses configured
Oct 08 13:52:31 kea-dhcp4[2920]: 2024-10-08 13:52:31.186 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface bond0 has no usable IPv4 addresses configured
Oct 08 13:52:36 kea-dhcp4[2920]: 2024-10-08 13:52:36.194 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Oct 08 13:52:36 kea-dhcp4[2920]: 2024-10-08 13:52:36.194 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth2 has no usable IPv4 addresses configured
Oct 08 13:52:36 kea-dhcp4[2920]: 2024-10-08 13:52:36.194 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth3 has no usable IPv4 addresses configured
Oct 08 13:52:36 kea-dhcp4[2920]: 2024-10-08 13:52:36.194 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth4 is not running
Oct 08 13:52:36 kea-dhcp4[2920]: 2024-10-08 13:52:36.194 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth5 is not running
Oct 08 13:52:36 kea-dhcp4[2920]: 2024-10-08 13:52:36.194 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface pim6reg has no usable IPv4 addresses configured
Oct 08 13:52:36 kea-dhcp4[2920]: 2024-10-08 13:52:36.194 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface bond0 has no usable IPv4 addresses configured
Oct 08 13:52:41 kea-dhcp4[2920]: 2024-10-08 13:52:41.203 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Oct 08 13:52:41 kea-dhcp4[2920]: 2024-10-08 13:52:41.203 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth2 has no usable IPv4 addresses configured
Oct 08 13:52:41 kea-dhcp4[2920]: 2024-10-08 13:52:41.203 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth3 has no usable IPv4 addresses configured
Oct 08 13:52:41 kea-dhcp4[2920]: 2024-10-08 13:52:41.203 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth4 is not running
Oct 08 13:52:41 kea-dhcp4[2920]: 2024-10-08 13:52:41.203 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth5 is not running
Oct 08 13:52:41 kea-dhcp4[2920]: 2024-10-08 13:52:41.203 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface pim6reg has no usable IPv4 addresses configured
Oct 08 13:52:41 kea-dhcp4[2920]: 2024-10-08 13:52:41.203 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface bond0 has no usable IPv4 addresses configured
Oct 08 13:52:46 kea-dhcp4[2920]: 2024-10-08 13:52:46.211 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth1 is not running
Oct 08 13:52:46 kea-dhcp4[2920]: 2024-10-08 13:52:46.211 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth2 has no usable IPv4 addresses configured
Oct 08 13:52:46 kea-dhcp4[2920]: 2024-10-08 13:52:46.212 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth3 has no usable IPv4 addresses configured
Oct 08 13:52:46 kea-dhcp4[2920]: 2024-10-08 13:52:46.212 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth4 is not running
Oct 08 13:52:46 kea-dhcp4[2920]: 2024-10-08 13:52:46.212 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface eth5 is not running
Oct 08 13:52:46 kea-dhcp4[2920]: 2024-10-08 13:52:46.212 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface pim6reg has no usable IPv4 addresses configured
Oct 08 13:52:46 kea-dhcp4[2920]: 2024-10-08 13:52:46.212 WARN [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_OPEN_SOCKET_FAIL failed to open socket: the interface bond0 has no usable IPv4 addresses configured
Oct 08 13:52:46 kea-dhcp4[2920]: 2024-10-08 13:52:46.212 INFO [kea-dhcp4.dhcp4/2920.140341785285120] DHCP4_OPEN_SOCKETS_FAILED maximum number of open service sockets attempts: 5, has been exhausted without success
Oct 08 14:52:21 kea-dhcp4[2920]: 2024-10-08 14:52:21.743 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_MEMFILE_LFC_START starting Lease File Cleanup
Oct 08 14:52:21 kea-dhcp4[2920]: 2024-10-08 14:52:21.744 INFO [kea-dhcp4.dhcpsrv/2920.140341785285120] DHCPSRV_MEMFILE_LFC_EXECUTE executing Lease File Cleanup using: /usr/sbin/kea-lfc -4 -x /config/dhcp/dhcp4-leases.csv.2 -i /config/dhcp/dhcp4-leases.csv.1 -o /config/dhcp/dhcp4-leases.csv.output -f /config/dhcp/dhcp4-leases.csv.completed -p /config/dhcp/dhcp4-leases.csv.pid -c ignored-path
Oct 08 14:52:21 DhcpLFC[3307]: INFO [DhcpLFC.140711455517120] LFC_START Starting lease file cleanup
Oct 08 14:52:21 DhcpLFC[3307]: INFO [DhcpLFC.140711455517120] LFC_PROCESSING Previous file: /config/dhcp/dhcp4-leases.csv.2, copy file: /config/dhcp/dhcp4-leases.csv.1
Oct 08 14:52:21 DhcpLFC[3307]: INFO [DhcpLFC.dhcpsrv.140711455517120] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /config/dhcp/dhcp4-leases.csv.2
Oct 08 14:52:21 DhcpLFC[3307]: INFO [DhcpLFC.dhcpsrv.140711455517120] DHCPSRV_MEMFILE_LEASE_FILE_LOAD loading leases from file /config/dhcp/dhcp4-leases.csv.1
Oct 08 14:52:21 DhcpLFC[3307]: INFO [DhcpLFC.140711455517120] LFC_READ_STATS Leases: 0, attempts: 2, errors: 0.
Oct 08 14:52:21 DhcpLFC[3307]: INFO [DhcpLFC.140711455517120] LFC_WRITE_STATS Leases: 0, attempts: 0, errors: 0.
Oct 08 14:52:21 DhcpLFC[3307]: INFO [DhcpLFC.140711455517120] LFC_ROTATING LFC rotating files
Oct 08 14:52:21 DhcpLFC[3307]: INFO [DhcpLFC.140711455517120] LFC_TERMINATE LFC finished processing
/etc/kea/kea-dhcp4.conf
"Dhcp4": {
// Add names of your network interfaces to listen on.
"interfaces-config": {
// See section 8.2.4 for more details. You probably want to add just
// interface name (e.g. "eth0" or specific IPv4 address on that
// interface name (e.g. "eth0/192.0.2.1").
// Kea DHCPv4 server by default listens using raw sockets. This ensures
// all packets, including those sent by directly connected clients
// that don't have IPv4 address yet, are received. However, if your
// traffic is always relayed, it is often better to use regular
// UDP sockets. If you want to do that, uncomment this line:
// "dhcp-socket-type": "udp"
"interfaces": ["br0"],
"service-sockets-max-retries": 200000,
"service-sockets-retry-wait-time": 5000
},
First I tried to run the DHCP server on the bond interface and I got an error from Kea, which said “the interface bond0 is not running”. After manually restarting the service and physically restarting the switch I’ve got it working and I successfully got a lease on the switch itself and another client, connected to the switch but I have no luck in getting bridge to work.
I found online that it is a known issue with Kea and I tried to apply the workaround they suggested, which is increasing the amount of retries, but I had no luck.
Is there something I am missing?
Ultimately I want to use dual wan with 1 gig down each, bond interface from the router to the 1g switch and 10g sfp+ from router to 2.5g switch for clients that have 2.5 nics.
I would like to have 10g sfp and bond interfaces in one untagged network with the same subnet.