From owner-freebsd-current Mon May 8 12:13:52 2000 Delivered-To: freebsd-current@freebsd.org Received: from yellow.rahul.net (yellow.rahul.net [192.160.13.18]) by hub.freebsd.org (Postfix) with ESMTP id 730F537B5FC; Mon, 8 May 2000 12:13:48 -0700 (PDT) (envelope-from dhesi@rahul.net) Received: by yellow.rahul.net (Postfix, from userid 104) id 6E25F7C21; Mon, 8 May 2000 12:13:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by yellow.rahul.net (Postfix) with ESMTP id 640847C26; Mon, 8 May 2000 12:13:46 -0700 (PDT) Date: Mon, 8 May 2000 12:13:46 -0700 (PDT) From: Rahul Dhesi To: Mike Smith Cc: Bill Fenner , freebsd-current@freebsd.org Subject: Re: gratuituous arp for multiple IP addresses In-Reply-To: <200005081726.KAA15261@mass.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I stand corrected again, as needed. The gratuituous arp should be formatted in whatever the correct way is. The machine that encountered loss of connectivity due to interface IPs being swapped is running 3.4-STABLE that was cvsup'd on January 7, 2000. If in fact some change was made in the sending of gratuituous arp since them to correct the problem, then nothing more needs to be done. Perhaps it would be useful for 'ifconfig' to have an option to send a gratuituous arp upon request by the user, without having to reconfigure any IP address. Rahul On Mon, 8 May 2000, Mike Smith wrote: > > > > By "gratuituous arp" I was really saying "gratuitous arp reply". > > The machine needs to send a packet of the type > > > > arp reply 1.2.3.5 is-at 0:40:5:42:d6:de > > > > Rahul > > That won't achieve the desired result, which is to complain if someone > _else_ replies to the arp request that we send. > > The above is achieved by virtue of sending the ARP request (anyone > watching ARP messages will learn that we are the address in the "tell > x.x.x.x" field). What we're trying to provoke is someone else saying > x.x.x.x is-at xx.xx.xx.xx.xx.xx, which will result in a console message > on our system informing the administrator that someone else is already > using that IP address. > > -- > \\ Give a man a fish, and you feed him for a day. \\ Mike Smith > \\ Tell him he should learn how to fish himself, \\ msmith@freebsd.org > \\ and he'll hate you for a lifetime. \\ msmith@cdrom.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message