Re: Gratuitous ARP

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

 



Richard Webber wrote:

> Does anyone have a utility which will do a gratuitous ARP when adding
> an IP alias under Linux (kernel 2.2.16)?
> 
> I already have a tool 'garp' which does this for the primary interface,
> but it winges, and doesn't work if I use it on an alias.

Try the send_arp program that is distributed as part of heartbeat.  It uses a
raw packet, and you specify origination and destination IP and MAC addresses. 
You should be able to hack it apart and do whatever you want with it.

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[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