mac address based routing

I’m looking to send all of the traffic from a connected device to a specific port, and I don’t know what ip address it is connecting to. Is it possible to set up a route based on the source’s mac address?