|
If you want to have the destination MAC address in a packet be something other than what it actually is on the network, make a static entry in the arp cache. You should be able to do this with arp -s. See the man page on arp for details.
I don't see how this will work on your network though. Let's say your printer has an IP address of 192.168.1.1 and a MAC address of aa:bb:cc:dd:ee:ff. If you create a static entry in the arp cache so that 192.168.1.1 has a MAC address of ff:ee:dd:cc:bb:aa, when the packet is transmitted, IF your printer ever receives it, it will ignore the packet because it doesn't have it's destination address in it.
If you're on a switched network, your printer may never even receive the packet. Your switch will look up the MAC address in it's bridging table. If you've used the MAC address of another valid device on your network, your switch will transmit the packet on the port that device is attached to, not the port your printer is attached to. If the MAC address you've used is not already in your switches bridging table, it may or may not forward the packet at all.
|