set service dhcp-server dynamic-dns-update set service dhcp-server hostfile-update set service dhcp-server shared-network-name LAN authoritative set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 default-router '192.168.1.1' set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 domain-name 'home' set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 name-server '192.168.1.1' set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 range 0 start '192.168.1.120' set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 range 0 stop '192.168.1.230' set service dhcp-server shared-network-name LAN subnet 192.168.1.0/24 static-mapping ... ...I also notice that ddclient has a similar problem.
ddclient[1710]: FAILED: Unable to obtain information for 'pppoe0' -- missing ip or ifconfig commandThis might be a problem that's specific to me. I don't know why every systemd start too early.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Dec 17 2023
Previous PR by @hensur (Thanks) https://github.com/vyos/vyos-1x/pull/1147 but will be superseeded with a new PR based on all the latest XML/Python features
Indeed, the dhcp server wasn't working so I assume that kea doesn't start, my bad, it did start, but it failed to start, after failing for 5 attempts.
In T3316#167384, @sdev wrote:In T3316#167382, @indrajitr wrote:
- with set service dhcp-server hostfile-update the file /etc/hosts doesn't get update with any entry from dhcp at all
Thanks, will investigate this.
@sdev, this will require adjusting on-dhcp-event.sh. I have a hacky local version that writes to /etc/hosts that partially works -- the $domain part is not picked up (which I suspect could be related to how kea-dhcp4.conf is generating the FQDN).
Do you want me to raise a draft PR for you to review?
By all means, thank you!
In T3316#167382, @indrajitr wrote:
- with set service dhcp-server hostfile-update the file /etc/hosts doesn't get update with any entry from dhcp at all
Thanks, will investigate this.
@sdev, this will require adjusting on-dhcp-event.sh. I have a hacky local version that writes to /etc/hosts that partially works -- the $domain part is not picked up (which I suspect could be related to how kea-dhcp4.conf is generating the FQDN).
Do you want me to raise a draft PR for you to review?
Update PR: https://github.com/vyos/vyos-1x/pull/2646
- with set service dhcp-server hostfile-update the file /etc/hosts doesn't get update with any entry from dhcp at all
Thanks, will investigate this.
- dhcp server doesn't start automatically after reboot, and due to the next problem, I'm forced to use set service dhcp-server disable then delete service dhcp-server disable after each boot
Could not reproduce this:
Welcome to VyOS - vyos ttyS0 ... vyos@vyos:~$ ps aux | grep kea _kea 1818 1.6 0.9 67384 20324 ? Ssl 00:14 0:00 /usr/sbin/kea-dhcp4 -c /run/kea/kea-dhcp4.conf
Dec 16 2023
Yes, if I remove the container, and then as root create the container using the exact same podman command that VyOS had used, but just add the --ip6 definition, then the container is created and responds on that ip.