Setting up a dhcp server with MacOS .
I need to test my network by setting up a dhcp server. Is there a clean procedure to do so ? I can only find partial scripts and incomplete howtos, and I keep running in Apple's own way of managing safeties. I'd really like not to start my OpenBSD Box.
I spend some hours reading howtos that just happen not to work (mostly on Apple's forum), how come there is not a simple way to start a DHCP server (such as typing bootpd - D) ?
How do you convince MacOs to allow writing preferences files other than logging in with a superuser account ? I'd hate to get all the privileges just to perform a single task.
what I typed :
bootpd -D
what I got : (from zsh)
command not found
when I vi bootpd.plist I just cannot save in /etc
when I look up the forum everyone just seems to think it is so obvious that it doesn't need explaining, and when I look elsewhere, I just get the "log in as root and then you can do whatever you want". Is there a clean way to start a DHCP server ?
MacOS 12.6.1
MacBookPro13,2
TIA
MacBook Pro 13″, macOS 12.6