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?

1 Answer 1

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.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.