From VRRP-owner@drcoffsite.com  Mon Feb 25 18:26:45 2002
Received: from drcoffsite.com (dns1.drcoffsite.com [216.177.20.114])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA03921
	for <vrrp-archive@lists.ietf.org>; Mon, 25 Feb 2002 18:26:45 -0500 (EST)
Received: from mailhost.iprg.nokia.com [205.226.5.12] by drcoffsite.com with ESMTP
  (SMTPD32-5.05) id A2D14C8B054C; Mon, 25 Feb 2002 18:03:45 -0500
Received: from darkstar.iprg.nokia.com (darkstar.iprg.nokia.com [205.226.5.69])
	by mailhost.iprg.nokia.com (8.9.3/8.9.3-GLGS) with ESMTP id PAA16665
	for <vrrp@drcoffsite.com>; Mon, 25 Feb 2002 15:06:58 -0800 (PST)
X-Delivered-For: <vrrp@drcoffsite.com>
Received: (from root@localhost)
	by darkstar.iprg.nokia.com (8.11.0/8.11.0-DARKSTAR) id g1PN6wH25889;
	Mon, 25 Feb 2002 15:06:58 -0800
X-mProtect:  Mon, 25 Feb 2002 15:06:58 -0800 Nokia Silicon Valley Messaging Protection
Received: from hinden.iprg.nokia.com (4.22.78.78, claiming to be "spruce.iprg.nokia.com")
	by darkstar.iprg.nokia.com smtpd3xGmQS; Mon, 25 Feb 2002 15:06:56 PST
Message-Id: <4.3.2.7.2.20020225150418.0279b7d0@mailhost.iprg.nokia.com>
X-Sender: hinden@mailhost.iprg.nokia.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Mon, 25 Feb 2002 15:05:57 -0800
To: vrrp@drcoffsite.com
From: Bob Hinden <hinden@IPRG.nokia.com>
Subject: Request for Agenda Items for IETF 53 VRRP Sessions
Cc: hinden@IPRG.nokia.com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Precedence: bulk
Sender: VRRP-owner@drcoffsite.com

The VRRP working group has been scheduled for one session at the 
Minneapolis IETF.  This is:

	TUESDAY, March 19, 2002, 1300-1400

Note that these date and time is subject to change by the IETF secretariat.

Please send me requests for agenda items.

Thanks,

Bob Hinden
VRRP chair



From VRRP-owner@drcoffsite.com  Tue Feb 26 01:52:45 2002
Received: from drcoffsite.com (dns1.drcoffsite.com [216.177.20.114])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA11634
	for <vrrp-archive@lists.ietf.org>; Tue, 26 Feb 2002 01:52:44 -0500 (EST)
Received: from smtp.huawei.com [61.144.161.21] by drcoffsite.com with ESMTP
  (SMTPD32-5.05) id AA2739A4041E; Tue, 26 Feb 2002 01:24:39 -0500
Received: from huaweiharish ([172.17.254.1]) by smtp.huawei.com
          (Netscape Messaging Server 4.15) with SMTP id GS4N6W00.TBN for
          <vrrp@drcoffsite.com>; Tue, 26 Feb 2002 14:25:44 +0800 
From: "Harish M" <Harish_d07@huawei.com>
To: <vrrp@drcoffsite.com>
Subject: Gratuitous ARP request or reply.
Date: Tue, 26 Feb 2002 14:31:06 +0800
Message-ID: <LHEALFNFPHHCHHNJGMBPKEELCBAA.Harish_d07@huawei.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
Precedence: bulk
Sender: VRRP-owner@drcoffsite.com
Content-Transfer-Encoding: 7bit

I have a question reguarding IPv4 VRRP RFC.

As per the RFC, whenever VRRP virtual router becomes
master, it shall broadcast a gratuitous *ARP request*
containing virtual router MAC address for each IP address
associated with the virtual router.

Is this a ARP request or ARP reply, or in other words, what
is the operation type in ARP header? Is it ARP_REQUEST = 1
or ARP_REPLY = 2

Thanks in advance for your valuable suggestions.
Harish




From VRRP-owner@drcoffsite.com  Tue Feb 26 11:44:02 2002
Received: from drcoffsite.com (dns1.drcoffsite.com [216.177.20.114])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09433
	for <vrrp-archive@lists.ietf.org>; Tue, 26 Feb 2002 11:44:01 -0500 (EST)
Received: from bur-po1.genuity.com [171.78.208.134] by drcoffsite.com with ESMTP
  (SMTPD32-5.05) id A8374F6E03E2; Tue, 26 Feb 2002 11:30:47 -0500
Received: from peace.genuity.com (cajalat.bbnplanet.com [171.78.152.21])
	by bur-po1.genuity.com (8.9.1/8.9.1) with ESMTP id LAA05474
	for <vrrp@drcoffsite.com>; Tue, 26 Feb 2002 11:33:59 -0500 (EST)
X-Recipient: <vrrp@drcoffsite.com>
Message-Id: <5.1.0.14.2.20020226113016.03464920@po3.genuity.com>
X-Sender: cajalat@po3.genuity.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 26 Feb 2002 11:33:29 -0500
To: <vrrp@drcoffsite.com>
From: "Casey S. Ajalat" <cajalat@genuity.com>
Subject: Re: Gratuitous ARP request or reply.
In-Reply-To: <LHEALFNFPHHCHHNJGMBPKEELCBAA.Harish_d07@huawei.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Precedence: bulk
Sender: VRRP-owner@drcoffsite.com

A Gratuitous ARP is nothing more than an ARP REQUEST sent from an interface 
looking for its own IP address.

Casey

At 01:31 AM 2/26/2002, Harish M wrote:
>I have a question reguarding IPv4 VRRP RFC.
>
>As per the RFC, whenever VRRP virtual router becomes
>master, it shall broadcast a gratuitous *ARP request*
>containing virtual router MAC address for each IP address
>associated with the virtual router.
>
>Is this a ARP request or ARP reply, or in other words, what
>is the operation type in ARP header? Is it ARP_REQUEST = 1
>or ARP_REPLY = 2
>
>Thanks in advance for your valuable suggestions.
>Harish



From VRRP-owner@drcoffsite.com  Tue Feb 26 12:21:59 2002
Received: from drcoffsite.com (dns1.drcoffsite.com [216.177.20.114])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA11332
	for <vrrp-archive@lists.ietf.org>; Tue, 26 Feb 2002 12:21:59 -0500 (EST)
Received: from m13489.canal-plus.com [195.115.87.2] by drcoffsite.com
  (SMTPD32-5.05) id A136124203FC; Tue, 26 Feb 2002 12:09:10 -0500
Received: from 172.31.47.1 by m13489.canal-plus.com (InterScan E-Mail VirusWall NT); Tue, 26 Feb 2002 18:04:22 +0100 (Paris, Madrid)
Subject: Re: Gratuitous ARP request or reply.
To: vrrp@drcoffsite.com
X-Mailer: Lotus Notes Release 5.07a  May 14, 2001
Message-ID: <OFFFD94DEE.2C1304B5-ONC1256B6C.005E0DE9@canal-plus.com>
From: "Alexandre CASSEN" <alexandre.cassen@canal-plus.com>
Date: Tue, 26 Feb 2002 18:12:04 +0100
X-MIMETrack: Serialize by Router on SMTP1/CANALPLUS/FR(Release 5.0.9a |January 7, 2002) at
 26/02/2002 18:12:12
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Precedence: bulk
Sender: VRRP-owner@drcoffsite.com


Hi Harish,

>I have a question reguarding IPv4 VRRP RFC.
>
>As per the RFC, whenever VRRP virtual router becomes
>master, it shall broadcast a gratuitous *ARP request*
>containing virtual router MAC address for each IP address
>associated with the virtual router.
>
>Is this a ARP request or ARP reply, or in other words, what
>is the operation type in ARP header? Is it ARP_REQUEST = 1
>or ARP_REPLY = 2

as an example :

/*
 * send a gratuitous ARP packet
 *
 * Arg 1: vsrv = the VRRP storing struct
 * Arg 2: addr = IP Address to use in the gratuitous ARP packet
 */
static int send_gratuitous_arp(vrrp_rt *vsrv, uint32_t addr)
{
  struct m_arphdr {
    unsigned short int ar_hrd;          /* Format of hardware address.  */
    unsigned short int ar_pro;          /* Format of protocol address.  */
    unsigned char ar_hln;               /* Length of hardware address.  */
    unsigned char ar_pln;               /* Length of protocol address.  */
    unsigned short int ar_op;           /* ARP opcode (command).  */
    /* Ethernet looks like this : This bit is variable sized however...  */
    unsigned char __ar_sha[ETH_ALEN];   /* Sender hardware address.  */
    unsigned char __ar_sip[4];          /* Sender IP address.  */
    unsigned char __ar_tha[ETH_ALEN];   /* Target hardware address.  */
    unsigned char __ar_tip[4];          /* Target IP address.  */
  };

  char buf[sizeof(struct m_arphdr) + ETHER_HDR_LEN];
  char buflen = sizeof(struct m_arphdr) + ETHER_HDR_LEN;
  struct ether_header *eth = (struct ether_header *)buf;
  struct m_arphdr *arph = (struct m_arphdr *)(buf + vrrp_dlt_len(vsrv));
  char  *hwaddr = vsrv->vif->hwaddr;
  int  hwlen = ETH_ALEN;

  /* hardcoded for ethernet */
  memset(eth->ether_dhost, 0xFF, ETH_ALEN);
  memcpy(eth->ether_shost, hwaddr, hwlen);
  eth->ether_type = htons(ETHERTYPE_ARP);

  /* build the arp payload */
  memset(arph, 0, sizeof(*arph));
  arph->ar_hrd = htons(ARPHRD_ETHER);
  arph->ar_pro = htons(ETHERTYPE_IP);
  arph->ar_hln = 6;
  arph->ar_pln = 4;
  arph->ar_op  = htons(ARPOP_REQUEST);
  memcpy(arph->__ar_sha, hwaddr, hwlen);
  addr = htonl(addr);
  memcpy(arph->__ar_sip, &addr, sizeof(addr));
  memcpy(arph->__ar_tip, &addr, sizeof(addr));
  return vrrp_send_pkt(vsrv, buf, buflen);
}


Hope it will help,
Alexandre




From VRRP-owner@drcoffsite.com  Thu Feb 28 23:13:46 2002
Received: from drcoffsite.com (dns1.drcoffsite.com [216.177.20.114])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA03085
	for <vrrp-archive@lists.ietf.org>; Thu, 28 Feb 2002 23:13:45 -0500 (EST)
Received: from mailhost.iprg.nokia.com [205.226.5.12] by drcoffsite.com with ESMTP
  (SMTPD32-5.05) id A0F455EA03B4; Thu, 28 Feb 2002 22:09:40 -0500
Received: from darkstar.iprg.nokia.com (darkstar.iprg.nokia.com [205.226.5.69])
	by mailhost.iprg.nokia.com (8.9.3/8.9.3-GLGS) with ESMTP id TAA06121;
	Thu, 28 Feb 2002 19:12:53 -0800 (PST)
Received: (from root@localhost)
	by darkstar.iprg.nokia.com (8.11.0/8.11.0-DARKSTAR) id g213Cq310480;
	Thu, 28 Feb 2002 19:12:52 -0800
X-mProtect:  Thu, 28 Feb 2002 19:12:52 -0800 Nokia Silicon Valley Messaging Protection
Received: from hinden.iprg.nokia.com (4.22.78.78, claiming to be "spruce.iprg.nokia.com")
	by darkstar.iprg.nokia.com smtpdFDVbyC; Thu, 28 Feb 2002 19:12:49 PST
Message-Id: <4.3.2.7.2.20020228182455.021e82a0@mailhost.iprg.nokia.com>
X-Sender: hinden@mailhost.iprg.nokia.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Thu, 28 Feb 2002 19:11:43 -0800
To: "Smith, Mark" <smith.r.mark@wcom.com.au>
From: Bob Hinden <hinden@IPRG.nokia.com>
Subject: Re: Q's about VRRPv3 draft
Cc: <vrrp@drcoffsite.com>
In-Reply-To: <C1CFCBF00D83D511871E00508B638F251B2EE6@AUSYD1EX4>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Precedence: bulk
Sender: VRRP-owner@drcoffsite.com

Mark,

Sorry for the very very long delay in responding.

At 04:56 PM 12/13/2001, Smith, Mark wrote:
>Hi Bob,
>
>I've read through your VRRP for IPv6 draft, and have a few questions.
>
>2.5 Efficient Operation over Extended LANs
>
>The description of packets that use the virtual router MAC address as their
>source could be interpreted as being restricted to only the VRRP packets
>issued by the router.
>
>Would it be better to change "1) use the virtual router MAC as the source in
>a packet sent by the Master to trigger station learning" to "1) use the
>virtual router MAC as the source in *all packets* sent by the Master to
>trigger station learning" ?
>
>I've read though this section myself a few times (in both this draft, and
>RFC 2338), and only interpreted it the right way as a final check before
>sending this email.
>
>I would suggest expanding this section (and possibly renaming it) to cover
>all the link layer issues, including virtual router MAC address, source link
>layer address selection, ND neighbour solicitation and advertisement
>procedures, and operation over extended LANs.

Was this issue resolved in the email exchange w/ Danny Mitzel?

>8.2  ND Neighbour Solicitation
>
>'When a VRRP router restarts or boots, it SHOULD not send any ND messages
>with its physical MAC address for the IPv6 address it owns, it should only
>send ND messages that include Virtual MAC addresses.'
>
>I would think that any time (rather an just after restarts or reboots) the
>VRRP master performs a ND neighbour solicitation for one of the VRRP
>protected hosts, it should use the virtual router MAC address for both the
>src MAC address in the link layer header, as well as supplying it in the
>source link-layer address option of the neighbour solicitation packet.

I think this paragraph is talking about the need to deal with restart or 
boot and to make it clear that an implementation shouldn't use it's 
physical MAC address.

How about if I add a new paragraph that talks about when the VRRP router 
sends  an ND neighbor solicitation for a hosts IPv6 address it needs to use 
the virtual MAC address in the source link-layer address option.  I am not 
sure it needs to specify here that the solicitation needs to also have a 
link layer source of the virtual MAC for the reasons Danny Mitzel discussed 
in his replies.

>This also seems to be an vague area in the current IPv4 version of VRRP.
>I've recently worked with an implementation of RFC 2338 where the following
>would happen :
>
>1) The VRRP master would come up.
>2) The first ever packet to be forwarded by the VRRP router was in the VRRP
>router to VRRP protected host direction, which caused the VRRP router to
>issue an ARP for the Host's link layer address. The VRRP router would supply
>it's real MAC address as the link layer source address in the ARP packet.
>3) The host would respond to the ARP, but also add an entry into its own ARP
>cache, with the real MAC address for the VRRP master.
>4) The host would only replace the real MAC address in its ARP cache with
>the virtual VRRP MAC address if its the ARP entry timed out and it issued an
>ARP for the VRRP router, or the VRRP master failed, and the VRRP backup
>route issued a gratuitous ARP as part of its master transition procedure.
>
>I initially though this might be a problem with the implementation, and
>figured I would read through the RFC to find out how things should really
>work. I found that the RFC doesn't seem to specifically cover the case of
>what link layer address the VRRP router should supply when ARPing for a VRRP
>protected host.
>
>Fortunately the gratuitous ARP seems to cover up this flaw , however, the
>single gratuitous ARP could be lost due to a high amount of traffic on the
>network during the master to backup transition.

Do you think this is an issue in the VRRP for IPv6 draft?

Bob

p.s. I hope to get a revised VRRP for IPv6 draft out tomorrow morning.  I 
will at least include the ND solicitation change.




