From owner-freebsd-net@FreeBSD.ORG Wed Nov 24 16:34:03 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C98E16A4E0; Wed, 24 Nov 2004 16:34:03 +0000 (GMT) Received: from r1a.corp.servercentral.net (exchange.corp.servercentral.net [66.225.247.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8838E43D1D; Wed, 24 Nov 2004 16:34:02 +0000 (GMT) (envelope-from haesu@towardex.com) Received: from mail pickup service by r1a.corp.servercentral.net with Microsoft SMTPSVC; Wed, 24 Nov 2004 10:33:56 -0600 Received: from demandindustries.net ([161.58.224.124]) by r1a.corp.servercentral.net with Microsoft SMTPSVC(6.0.3790.0); Wed, 24 Nov 2004 07:29:32 -0600 Received: from scanner.servercentral.net (scanner.servercentral.net [66.225.196.47]) by demandindustries.net (8.12.11/8.12.9) with ESMTP id iAODTWRu082295 for ; Wed, 24 Nov 2004 07:29:32 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by scanner.servercentral.net (Postfix) with ESMTP id 1735E8700AC for ; Wed, 24 Nov 2004 07:29:30 -0600 (CST) Received: from scanner.servercentral.net ([127.0.0.1]) by localhost (mb [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04897-08 for ; Wed, 24 Nov 2004 07:29:28 -0600 (CST) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by scanner.servercentral.net (Postfix) with ESMTP id BDB188700AB for ; Wed, 24 Nov 2004 07:29:28 -0600 (CST) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 5454957B32; Wed, 24 Nov 2004 13:28:52 +0000 (GMT) (envelope-from owner-freebsd-hackers@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id ABF0816A559; Wed, 24 Nov 2004 13:28:40 +0000 (GMT) Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E92F416A50D; Wed, 24 Nov 2004 01:49:20 +0000 (GMT) Received: from mx01.bos.ma.towardex.com (mx01.bos.ma.towardex.com [65.124.16.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DD4343D2D; Wed, 24 Nov 2004 01:49:20 +0000 (GMT) (envelope-from haesu@mx01.bos.ma.towardex.com) Received: by mx01.bos.ma.towardex.com (TowardEX ESMTP 3.0p11_DAKN, from userid 1001) id B12B82F93F; Tue, 23 Nov 2004 20:49:19 -0500 (EST) Date: Tue, 23 Nov 2004 20:49:19 -0500 From: James To: Martin Eugen , freebsd-net@freebsd.org, freebsd-hackers@freebsd.org Message-ID: <20041124014919.GA9396@scylla.towardex.com> References: <966ba91e04112301052fed8d6b@mail.gmail.com> <20041123183646.GB733@empiric.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041123183646.GB733@empiric.icir.org> User-Agent: Mutt/1.4.1i X-Mailman-Approved-At: Wed, 24 Nov 2004 13:26:03 +0000 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-hackers@freebsd.org Errors-To: owner-freebsd-hackers@freebsd.org X-Virus-Scanned: by amavis for cervercentral.net X-OriginalArrivalTime: 24 Nov 2004 13:29:32.0941 (UTC) FILETIME=[A22A9BD0:01C4D229] Subject: Re: resolving routes externally X-BeenThere: freebsd-net@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 16:34:03 -0000 On Tue, Nov 23, 2004 at 10:36:46AM -0800, Bruce M Simpson wrote: [ snip ] > > If I understand correctly, you want the kernel to queue packets until > layer 2 address resolution is complete. Right now we don't do this. If > there is no route to a destination, packets will be dropped. The KAME ipv6 code does this for v6 neighbor discovery (which is not arp yes..). Martin, nd6_output() in netinet6/nd6.c should be helpful if you want to look. RFC requires routers to queue packets up during layer 2 resolution process (which is why in IPv6 when destination host is down you see !A with huge latency -- i.e. 3400ms due to queueing by the router[1]). If you are queueing however, make sure you use locking or check for any safety mechanisms as you may corrupt mbuf's that are flooding inbound. BTW Martin,, what is the purpose of this intent? Just curiousity of mine. [1]: Some hardware/ASIC based routers violate the RFC unfortunately. It's a little harder to implement there (see J vendor) -J -- James Jun TowardEX Technologies, Inc. Technical Lead Boston IPv4/IPv6 Web Hosting, Colocation and james@towardex.com Network design/consulting & configuration services cell: 1(978)-394-2867 web: http://www.towardex.com , noc: www.twdx.net _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"