On 29/12/2018 18:49, Geert Stappers wrote:
What is your favorite / good enough  DHCP test client?

dhcpcd - if there's a relevant DHCP RFC it doesn't support, it's a bug.
https://roy.marples.name/projects/dhcpcd

# dhcpcd -dBT4 xennet0
dhcpcd-7.0.8 starting
DUID 00:01:00:01:20:12:08:0c:fa:73:78:00:00:02
xennet0: IAID 78:00:00:02
xennet0: IA type 25 IAID 00:00:00:01
xennet0: delaying IPv4 for 0.2 seconds
xennet0: reading lease `/var/db/dhcpcd/xennet0.lease'
xennet0: rebinding lease of 10.73.1.62
xennet0: sending REQUEST (xid 0x1aaf4ef1), next in 4.0 seconds
xennet0: no authentication from 10.73.0.1
xennet0: acknowledged 10.73.1.62 from 10.73.0.1
xennet0: leased 10.73.1.62 for 3600 seconds
xennet0: executing `/libexec/dhcpcd-run-hooks' TEST
interface=xennet0
pid=9670
protocol=dhcp
reason=TEST
ifcarrier=up
ifflags=4294936675
ifmtu=1500
ifwireless=0
new_broadcast_address=10.73.255.255
new_classless_static_routes='1.2.3.4/32 10.73.2.13 0.0.0.0/0 10.73.2.1'
new_dhcp_lease_time=3600
new_dhcp_message_type=5
new_dhcp_rebinding_time=3150
new_dhcp_renewal_time=1800
new_dhcp_server_identifier=10.73.0.1
new_domain_name=marples.name
new_domain_name_servers=10.73.0.1
new_host_name=netbsd
new_ip_address=10.73.1.62
new_network_number=10.73.0.0
new_routers=10.73.0.1
new_subnet_cidr=16
new_subnet_mask=255.255.0.0
old_broadcast_address=10.73.255.255
old_classless_static_routes='1.2.3.4/32 10.73.2.13 0.0.0.0/0 10.73.2.1'
old_dhcp_lease_time=3600
old_dhcp_message_type=5
old_dhcp_rebinding_time=2925
old_dhcp_renewal_time=1575
old_dhcp_server_identifier=10.73.0.1
old_domain_name=marples.name
old_domain_name_servers=10.73.0.1
old_host_name=netbsd
old_ip_address=10.73.1.62
old_network_number=10.73.0.0
old_routers=10.73.0.1
old_subnet_cidr=16
old_subnet_mask=255.255.0.0
dhcpcd exited
#

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to