Is it possible to use the same MAC address for an entire subnet?
- by Bruce
I wish to add static entries to the ARP table of my machine so that it uses a dummy MAC 00:11:22:33:44:55 for any IP address within the subnet 10.0.0.0/8
Using arp -s 10.0.0.0/8 00:11:22:33:44:55 does not work. What can I do?
PS - I know it might sound strange why anyone would want to do this but kindly bear with me here.
EDIT: I am using this so that the hosts do not send a broadcast ARP message. I route the packets to the appropriate last hop router which changes the dst MAC from the fake MAC to the MAC of the dst IP address. I can get everything working except I have to manually enter the fake MAC for each subnet IP address.