Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to disable the system level ARP protocol to perform some experiment in my ubuntu 11.10 system. So please help me in disabling the ARP module/protocol in my system.

share|improve this question

migrated from stackoverflow.com Mar 11 '12 at 16:45

This question came from our site for professional and enthusiast programmers.

    
Are you willing to dive into the source code of linux to disable it? ARP is a critical protocol for IPv4 and IPv6. If you disable it you won't be able to use any IP services from your machine –  SecurityMatt Mar 11 '12 at 17:04
    
please clarify what you mean by 'disabling system-level arp'... what do u want not to work, exactly? –  user1055604 Mar 14 '12 at 18:35

2 Answers 2

To supress ARP on interface eth0 run the following command as root:

ip link set dev eth0 arp off

To turn it back on again:

ip link set dev eth0 arp on

share|improve this answer
    
but i want to generate ARP traffic from my program on same interface. –  subh. singh Mar 12 '12 at 11:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.