pfSense English Support > General Questions

defining hostnames per mac?

(1/3) > >>

Is there a way to alias a mac address with a hostname?  I don't want to statically assign every device, but it would be nice to see a nice hostname in the dhcp leases table instead of android-<random>

I know how to do it which a static DHCP, but didn't know if you can just assign a hostname.


How is it supposed to know what hostname to give what MAC address if you don't program either the DHCP server or the device itself?

You don't have to set a static IP address. You can just set the MAC address and the hostname.

I've no issue providing the name.  I just didn't know if I could do it in the DHCP setting and not put an IP.

I'll give that a go.


Creating a static map without IP added an entry, but it doesn't map to the assigned IP address.  unless I did something wrong.

I'll have to see if I can setup the hostname on the devices.

If you don't set an IP address it will get an address out of the pool.

What, exactly, do you want to see happen?


[0] Message Index

[#] Next page

Go to full version