Re: eth0 ARP-replying for eth1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 28, 2004 at 12:51:21PM -0800, Tony Lee wrote:
> When I use broadcast ping, 
> 
> ping -b 10.0.0.255 will generate 8 replies from the same ip addres, 
> since we have 8 x 1gige network interfaces from the same linux 
> system on the same subnet. (video application).    
> 
> Anyone know how to correct this behavior?

Problem: A broadcast ping doesn't generate any ARPs. It sends a packet
to FF:FF:FF:FF:FF:FF which is picked up by the network card and it's
the network stack that responds.

> I can filter the incoming arp requestion from the driver level,
> but am looking for a lazy "echo 1 > /proc/.... " type of solution.

Setting icmp_echo_ignore_broadcasts will stop it responding to
broadcast pings, it'll still receive the packets though...

Hope this helps,

-- 
Martijn van Oosterhout   <kleptog@xxxxxxxxx>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment: pgpHHLwepBbs7.pgp
Description: PGP signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux