Stefan Monnier writes: > > A wireless router made with hostapd/dnsmasq/dhcpcd is fairly easy, and > > works well with iptables, with one shortcoming. > > > > After antagonizing the Google for hours, I can not find any way to add > > reserved IPs based on the the MAC address of devices connected on > > wlan0, (presumably in dhcpcd.conf.) Seems kind of a simple oversight > > for a wireless AP. > > I'm not familiar with dhcpd, but dnsmasq's built-in DHCP server has been > perfectly sufficient so far and it lets you specify fixed IPs based on > MACs by simply putting those in the `/etc/ethers` file. >
Thank you, Stefan. Works like a charm. The syntax of /etc/ethers is ':' delimited MAC address, followed by a space delimiter, followed by the IPv4 IP address, per IP reservation. That IP address must also be in /etc/hosts. John -- John Conover, cono...@rahul.net, http://www.johncon.com/