4

Is it possible to change the source MAC of all the outgoing ARP requests to a specific MAC instead of using the interface MAC in linux?

Is there a way to do this from the ARP tables?

6

Yes, this can be achieved by adding rules by arptables.

Use this rule:

arptables -A OUT --source-hw xx:xx:xx:xx:xx:xx -j mangle --mangle-hw-s yy:yy:yy:yy:yy:yy

You may also add more filtering options if you need example interface, subnet etc.

For more information, refer to the man page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.