dnsmasq seems to use /var/log/daemon.logKea or something else?
/var/db/kea/dhcp4.leases for Kea.
ipxe has been one of the things on my todo list of things to investigate for about ten years.Nothing in dnsmasq.conf.sample has PXE only logging.
The stuff does scare the crap out of me when I think about it.
#dhcp-boot=tag:ipxe,http://boot.ipxe.org/demo/boot.php
the DHCP RFC is pretty readable, might want to take a moment out of your day and look at itdnsmasq seems to use /var/log/daemon.log
Is there any way to couple up a DHCPREQUEST with a DHCPOFFER?
Having said that I'm never sure about the sequence of DHCPDISCOVER, DHCPOFFER, DHCPREQUEST, DHCPPACK.
Client Server
| -- DHCPDISCOVER ---> |
| <--- DHCPOFFER ---- |
| -- DHCPREQUEST ---> |
| <--- DHCPACK ----- |
Depends, typically set from the host for regular jails. VNET jails work a little different.How do jails get assigned IP addresses?
Depends on the interface.Where do they get their MAC address from?
Depends, typically set from the host for regular jails. VNET jails work a little different.
Here is part of a log. I I can't make head nor tail of this. I presume that the jail generates the Ethernet addresses.Depends on the interface.
+em0: link state changed to UP
+vnet0.5: link state changed to DOWN
+epair0b: link state changed to DOWN
+em0: link state changed to DOWN
+em0: link state changed to UP
+epair0a: Ethernet address: 58:9c:fc:10:e9:53
+epair0b: Ethernet address: 58:9c:fc:10:65:21
+epair0a: link state changed to UP
+epair0b: link state changed to UP
+epair0a: changing name to 'vnet0.6'
+vnet0.6: promiscuous mode enabled
+em0: link state changed to DOWN
+lo0: link state changed to UP
+em0: link state changed to UP
+vnet0.6: link state changed to DOWN
+epair0b: link state changed to DOWN
+em0: link state changed to DOWN
+em0: link state changed to UP
+epair0a: Ethernet address: 58:9c:fc:10:e9:53
+epair0b: Ethernet address: 58:9c:fc:10:65:21
+epair0a: link state changed to UP
+epair0b: link state changed to UP
+epair1a: Ethernet address: 58:9c:fc:10:c2:6e
+epair1b: Ethernet address: 58:9c:fc:10:76:bb
+epair1a: link state changed to UP
+epair1b: link state changed to UP
+epair1a: changing name to 'vnet0.7'
+epair1b: changing name to 'epair0b'
+vnet0.7: promiscuous mode enabled
+em0: link state changed to DOWN
+lo0: link state changed to UP
+em0: link state changed to UP
+vnet0.7: link state changed to DOWN
+epair0b: link state changed to DOWN
+em0: link state changed to DOWN
+em0: link state changed to UP
+epair0a: link state changed to DOWN
+epair0b: link state changed to DOWN
+epair0a: Ethernet address: 58:9c:fc:10:e9:53
+epair0b: Ethernet address: 58:9c:fc:10:65:21
+epair0a: link state changed to UP
iocage start xxx on my ThinkPad X61 (192.168.1.28)on which I created two jails but an unable to start them because of a DHCP error.Jan 29 22:44:06 M73 dnsmasq-dhcp[1834]: DHCPREQUEST(em0) 192.168.1.24 00:e0:4b:36:2f:c9
Jan 29 22:44:06 M73 dnsmasq-dhcp[1834]: DHCPACK(em0) 192.168.1.24 00:e0:4b:36:2f:c9 X1
Jan 29 22:44:07 M73 dnsmasq-dhcp[1834]: DHCPREQUEST(em0) 192.168.1.24 00:e0:4b:36:2f:c9
Jan 29 22:44:07 M73 dnsmasq-dhcp[1834]: DHCPACK(em0) 192.168.1.24 00:e0:4b:36:2f:c9 X1
Jan 29 22:44:07 M73 dnsmasq-dhcp[1834]: DHCPREQUEST(em0) 192.168.1.24 00:e0:4b:36:2f:c9
Jan 29 22:44:07 M73 dnsmasq-dhcp[1834]: DHCPACK(em0) 192.168.1.24 00:e0:4b:36:2f:c9 X1
Jan 29 22:44:07 M73 dnsmasq-dhcp[1834]: DHCPREQUEST(em0) 192.168.1.24 00:e0:4b:36:2f:c9
Jan 29 22:44:07 M73 dnsmasq-dhcp[1834]: DHCPACK(em0) 192.168.1.24 00:e0:4b:36:2f:c9 X1
Jan 29 22:44:08 M73 dnsmasq-dhcp[1834]: DHCPREQUEST(em0) 192.168.1.24 00:e0:4b:36:2f:c9
Jan 29 22:44:08 M73 dnsmasq-dhcp[1834]: DHCPACK(em0) 192.168.1.24 00:e0:4b:36:2f:c9 X1
Jan 29 22:44:08 M73 dnsmasq-dhcp[1834]: DHCPREQUEST(em0) 192.168.1.24 00:e0:4b:36:2f:c9
Jan 29 22:44:08 M73 dnsmasq-dhcp[1834]: DHCPACK(em0) 192.168.1.24 00:e0:4b:36:2f:c9 X1
Jan 29 22:44:08 M73 dnsmasq-dhcp[1834]: DHCPREQUEST(em0) 192.168.1.24 00:e0:4b:36:2f:c9
Jan 29 22:44:08 M73 dnsmasq-dhcp[1834]: DHCPACK(em0) 192.168.1.24 00:e0:4b:36:2f:c9 X1