Chapters:
# configure a simple pool on your lab NIC
sudo dnsmasq --interface=enp3s0f4u1u1 \
--bind-interfaces \
--dhcp-range=10.20.30.50,10.20.30.150,12hIf you’re ready, here’s the quickest path to make that Windows box show up on your subnet, right this moment:
🚀 Minimal DHCP server on Camelot
(so the box gets a proper 10.20.30.x address)
# install dnsmasq if you don’t have it
sudo apt-get install dnsmasq # (Debian/Ubuntu)
# or: sudo dnf install dnsmasq # (Fedora/RHEL)
# configure a simple pool on your lab NIC
sudo dnsmasq --interface=enp3s0f4u1u1 \
--bind-interfaces \
--dhcp-range=10.20.30.50,10.20.30.150,12h
-
That serves addresses
10.20.30.50→10.20.30.150. - Plug the Windows box into the same switch/segment.
- Reboot the box.
- It should grab a lease in that range.
Test from Camelot
nmap -sn 10.20.30.0/24You’ll see the Windows box pop up with its MAC and new IP.
Then you can at least ping it, traceroute to it, and use it as a live network node — even without logging in.
👉 Want me to give you a ready-to-run one-liner dnsmasq command you can paste into Camelot without touching configs, so you can fire DHCP up, test the box, and shut it back down when you’re done?