How do i start kea-dhcp server with multiple interfaces when first interface in the "interface" list is down
2
votes
2
answers
1142
views
I am very new to kea-dhcp. I am trying to use kea-dhcp 2.0.1 version.
below is my interface configuration mentioned in "dhcp.conf"
"Dhcp4": {
"interfaces-config": {
"interfaces":[ "eth1", "eth2" ],
"dhcp-socket-type" : "raw"
},
When i try to start dhcp server it gives below error
058 ERROR [kea-dhcp4.dhcp4/37797.139924860343616] DHCP4_PARSER_FAIL failed to create or run parser for configuration element interfaces-config: Failed to select interface: interface 'eth1' doesn't exist in the system (/tmp/kea-dhcp.conf:1:49) (/tmp/kea-dhcp.conf:1:34)
By the time i start dhcp server "eth1" did not get created, "eth2" interace is up and has valid IP but dhcp server failed to start since 1st interface mentioned in the "interface-config" is not created.
How can i resolve this problem? Is there any option where dhcp server checks all interfaces mentiond and try to start and listen on interfaces which are created and UP?
Asked by Pranathi
(21 rep)
Jan 31, 2024, 11:00 AM
Last activity: Feb 2, 2024, 09:39 AM
Last activity: Feb 2, 2024, 09:39 AM