Link to home
Start Free TrialLog in
Avatar of elit2007
elit2007

asked on

How can i spesfy which interface to add static arp entry

I'm trying to add a few static arp entry's

arp -s 10.1.254.20  00-15-f2-d0-d8-87

It work fin one a 2003 server, but on the 2008 server it ads it to the wrong interface
Have 2 interface on both machines.

Running a switch with mac filter and it works better if i can add the addresses statically on the hosts.
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

ARP -s inet_addr eth_addr [if_addr]
You just add the ip address of the interface you want it to add to. So if the interface is for example: 10.1.254.2 it would be:
arp -s 10.1.254.20  00-15-f2-d0-d8-87 10.1.254.2
Avatar of elit2007
elit2007

ASKER

The ARP entry addition failed: 5

Then i get that error message.
So would you share it with us?
ASKER CERTIFIED SOLUTION
Avatar of elit2007
elit2007

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Great, thx.

You might want to consider the question not to be deleted but just closed, awarding yourself the correct answer. That way we won't lose this information.
You might want to consider the question not to be deleted but just closed, awarding yourself the correct answer. That way we won't lose this information.
Found out how to do it