Networking Forums

Networking Forums > Computer Networking > Linux Networking > Stopping ARP requests

Reply
Thread Tools Display Modes

Stopping ARP requests

 
 
James Knott
Guest
Posts: n/a

 
      01-21-2004, 01:18 AM
I often use Ethereal on my notebook computer, to monitor networks. However,
one thing I see, is my own computer arping for the router I normally use.
Is there any way to stop the arp requests, when I'm monitoring a different
network?

tnx jk

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
 
 
 
Neil W Rickert
Guest
Posts: n/a

 
      01-21-2004, 02:43 AM
James Knott <(E-Mail Removed)> writes:

>I often use Ethereal on my notebook computer, to monitor networks. However,
>one thing I see, is my own computer arping for the router I normally use.
>Is there any way to stop the arp requests, when I'm monitoring a different
>network?


Maybe use "route delete ..." to delete routes that use the
router of concern.

 
Reply With Quote
 
Neil Horman
Guest
Posts: n/a

 
      01-21-2004, 11:37 AM
James Knott wrote:
> I often use Ethereal on my notebook computer, to monitor networks. However,
> one thing I see, is my own computer arping for the router I normally use.
> Is there any way to stop the arp requests, when I'm monitoring a different
> network?
>
> tnx jk
>


In /proc/sys/net/ipv4/neigh, there are subdirectories for each network
interface you have. In each subdirectory there are three files
(app_solicit, ucast_solicit and mcast_solicit). These files control how
many times the linux kernel will request an arp address from a userspace
application (via netlink), via a unicast arp request, and a broadcast
arp request respectively. If you set the contents of all three of these
files to zero for a particular interface, you will disable arp on that
interface.

HTH
Neil

--
Neil Horman
Red Hat, Inc., http://people.redhat.com/nhorman
gpg keyid: 1024D / 0x92A74FA1, http://www.keyserver.net
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      01-22-2004, 01:29 AM
Neil Horman wrote:

> James Knott wrote:
>> I often use Ethereal on my notebook computer, to monitor networks.
>> However, one thing I see, is my own computer arping for the router I
>> normally use. Is there any way to stop the arp requests, when I'm
>> monitoring a different network?
>>
>> tnx jk
>>

>
> In /proc/sys/net/ipv4/neigh, there are subdirectories for each network
> interface you have. In each subdirectory there are three files
> (app_solicit, ucast_solicit and mcast_solicit). These files control how
> many times the linux kernel will request an arp address from a userspace
> application (via netlink), via a unicast arp request, and a broadcast
> arp request respectively. If you set the contents of all three of these
> files to zero for a particular interface, you will disable arp on that
> interface.


tnx

I'll have to give that a try.

BTW, I notice that app_solicit is already 0.

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
Fred Ferd
Guest
Posts: n/a

 
      01-22-2004, 12:34 PM

"James Knott" <(E-Mail Removed)> wrote in message
news:LjlPb.32579$(E-Mail Removed) ble.rogers.com...
> I often use Ethereal on my notebook computer, to monitor networks.

However,
> one thing I see, is my own computer arping for the router I normally use.
> Is there any way to stop the arp requests, when I'm monitoring a different

network?

lock the arp entries into the arp table.

see 'man arp'

>
> tnx jk
>
> --
>
> Fundamentalism is fundamentally wrong.
>
> To reply to this message, replace everything to the left of "@" with
> james.knott.



 
Reply With Quote
 
Neil Horman
Guest
Posts: n/a

 
      01-22-2004, 01:08 PM
James Knott wrote:
> Neil Horman wrote:
>
>
>>James Knott wrote:
>>
>>>I often use Ethereal on my notebook computer, to monitor networks.
>>>However, one thing I see, is my own computer arping for the router I
>>>normally use. Is there any way to stop the arp requests, when I'm
>>>monitoring a different network?
>>>
>>>tnx jk
>>>

>>
>>In /proc/sys/net/ipv4/neigh, there are subdirectories for each network
>>interface you have. In each subdirectory there are three files
>>(app_solicit, ucast_solicit and mcast_solicit). These files control how
>>many times the linux kernel will request an arp address from a userspace
>> application (via netlink), via a unicast arp request, and a broadcast
>>arp request respectively. If you set the contents of all three of these
>>files to zero for a particular interface, you will disable arp on that
>>interface.

>
>
> tnx
>
> I'll have to give that a try.
>
> BTW, I notice that app_solicit is already 0.
>

yes app_solicit is 0 by default, because by default the linux kernel
preforms arp resolution in the kernel. It is possible however to write
an arp daemon which generates arp traffic and manages the kernel arp
table from user space. This can be done via the netlink protocol (see
man (rt)netlink and man 7 (rt)netlink). When you set app_solicit > 0 it
causes the kernel to send a RTM_GETNEIGH request over the netlink
protocl app_solicit number of times, which a user space app can listen
to for use in generating network arp requests. If those requests go
unfufilled, the kernel uses the ucast_solicit and mcast_solicit values
to send unicast arp requests (if the host was known) or broadcast arp
requests (if the hosts was not previously known) on the network itself.

HTH
Neil

--
Neil Horman
Red Hat, Inc., http://people.redhat.com/nhorman
gpg keyid: 1024D / 0x92A74FA1, http://www.keyserver.net
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      01-23-2004, 01:21 AM
Fred Ferd wrote:

>
> "James Knott" <(E-Mail Removed)> wrote in message
> news:LjlPb.32579$(E-Mail Removed) ble.rogers.com...
>> I often use Ethereal on my notebook computer, to monitor networks.

> However,
>> one thing I see, is my own computer arping for the router I normally use.
>> Is there any way to stop the arp requests, when I'm monitoring a
>> different

> network?
>
> lock the arp entries into the arp table.
>
> see 'man arp'


I'll have to give that a try too.

tnx

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      01-24-2004, 10:26 PM
Neil Horman wrote:

>> BTW, I notice that app_solicit is already 0.
>>

> yes app_solicit is 0 by default, because by default the linux kernel
> preforms arp resolution in the kernel. It is possible however to write
> an arp daemon which generates arp traffic and manages the kernel arp
> table from user space. This can be done via the netlink protocol (see
> man (rt)netlink and man 7 (rt)netlink). When you set app_solicit > 0 it
> causes the kernel to send a RTM_GETNEIGH request over the netlink
> protocl app_solicit number of times, which a user space app can listen
> to for use in generating network arp requests. If those requests go
> unfufilled, the kernel uses the ucast_solicit and mcast_solicit values
> to send unicast arp requests (if the host was known) or broadcast arp
> requests (if the hosts was not previously known) on the network itself.
>


I tried that and it works.

tnx

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IAS stopping it´s service by itself??? Tiago Rudnik Windows Networking 0 04-01-2009 03:05 PM
WZC Keeps Stopping Rascal Wireless Networks 2 04-16-2007 08:22 PM
WZC keeps stopping TH Wireless Networks 1 04-04-2007 01:22 AM
Stopping hack attempts Gary Linux Networking 8 05-15-2006 05:57 AM
Stopping Pop-Ups from microsft MeMe Windows Networking 2 10-19-2003 09:53 PM



1 2 3 4 5 6 7 8 9 10 11