I'm running Linux and I know my gateway will always be 192.168.1.254 with MAC address aa:aa:aa:aa:aa:aa.
Is there any way I can instruct my machine to only ever use this MAC address for the gateway and ignore all ARP responses for this IP address?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
You can use
arp to control the ARP tables.
arp -s 192.168.1.254 aa:aa:aa:aa:aa:aa
will statically map the IP to the MAC, bypassing ARP, and should do the trick.