View Full Version : [ubuntu] Persistent Static Arp Entry

June 21st, 2008, 10:37 PM
Hello does anyone know how to create a static entry at startup other than using sudo arp -s at the command prompt. Can I create a script to do this?
Im familiar with simple batch scripts in windows, I've tried adding the necessary command under sessions in gnome, but I think I need root privilleges to set arp address, which doesn't seem to be working when logging in to my user account.

Thanks in advance

November 4th, 2008, 08:42 PM
I'm curious about this as well.

November 5th, 2008, 06:56 PM
You can just add

arp -i eth0 -s 00:90:ma:c0:ad:drto /etc/rc.local, right before the "exit 0" line.

edit:ed some non-sense