Alias by mac address?



  • With the ASUS Routers, it is possible to name devices based on their mac address.  The benefit of this is that when it comes time to apply firewall rules, one doesn't have to know what the current ip address is of the device – it can remain dynamic.

    So far with pfsense, the only way I can name devices is through aliases, but that requires that the ip address be fixed.  Is there a way to mirror what the ASUS router does?



  • i dont think so.
    aliasses are designed to work with pf. pf does not support mac filtering. setting fixed dhcp leases is you best way to do what you want


  • LAYER 8 Netgate

    You could create aliases using FQDNs and have the DHCP server update DNS.

    Not sure what the update frequency would be.



  • @heper:

    i dont think so.
    aliasses are designed to work with pf. pf does not support mac filtering. setting fixed dhcp leases is you best way to do what you want

    The ASUS routers runs linux, which means they uses iptables for filtering.  When I've listed the rules, they've only been ip address type rules.  This means that there is additional software doing the translation from mac to ip at some point.

    I guess I'll post this in the feature request area.  :)


Log in to reply