1/17
Looks like no tags are added yet.
Which DORA messages are broadcasts, and why?
the Discover and the Request: the client has no address yet
What does sudo dhcpd -t -cf /etc/dhcp/dhcpd.conf do?
tests the file without touching the running service
What does journalctl -u isc-dhcp-server do?
shows why a start failed and which interfaces it uses
What does /var/log/dhcpd.log (via log-facility) do?
shows each DISCOVER, OFFER, REQUEST and ACK once it is running
What would an error resulting from a missing semicolon look like?
dhcpd -t reports line N: semicolon expected., where N is the line after the one you broke
What would an error resulting from a range outside the declared subnet look like?
dhcpd -t reports bad range, address ... not in subnet ... with no file or line number
What would an error resulting from A missing subnet for the interface look like?
dhcpd -t passes, because the file itself is valid, but when the service starts it logs No subnet declaration for eth0 ... and Not configured to listen on any interfaces! and exits, so the service is failed and nothing answers.
A host { hardware ethernet <MAC>; fixed-address <IP>; } block pins an address to a client. The address does not need to be inside the range, only inside the declared subnet. Why do you want to keep the address outside the range?
Keep it outside the range, so that the pool can never hand that address to another client. The match is on the client's hardware (MAC) address as carried in the packet, so a mistyped MAC silently falls back to a pool address.
A client with a reservation is not written to dhcpd.leases - where would you find its Offer and Ack instead?
find its Offer and Ack in /var/log/dhcpd.log
How would you force a fresh exchange on S2?
To force a fresh exchange on S2 (NetworkManager): bring the connection down and up again, or reapply the device.
What happens if two DHCP servers share a segment?
both Offer, the client takes one, overlapping ranges cause duplicates: one authoritative server per segment, and rogue-server detection is a real network-security control.
Which error did not show up in dhcpd -t, and how did you find it?
the missing subnet; the journal
Can a server on 10.12.1.0/24 serve a different subnet?
not without a relay agent, because DISCOVER is a broadcast that does not cross routers (ip helper-address in IOS).
What is the likely cause and fix for the following issue: S2 does not get the reserved address
MAC mistyped, config not reloaded, or S2 did not re-request
Copy the MAC exactly from ip -br link on S2; test and restart dhcpd; bring S2's connection down and up; read the dhcpd log for the match
What is the likely cause and fix for the following issue: The capture shows nothing
Capturing on eth1, or S2 did not re-request
Capture on eth0 with port 67 or port 68; take S2's connection down and up
What is the likely cause and fix for the following issue: Service shows failed after a restart, and S2 gets nothing
Missing or mismatched subnet block
Read the journal for "No subnet declaration for eth0"; restore the subnet
What is the likely cause and fix for the following issue: Renewal not visible in the capture
Lease not shortened, or the client has not reached T1 yet
Confirm the new lease time in the lease file; wait about half the lease, with the capture running
What is the likely cause and fix for the following issue: S2 stranded without an address
The server stopped or the scope was broken
Restore S1's working config first; if needed use the Hyper-V console and nmcli on S2