Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261719AbTHTFdN (ORCPT ); Wed, 20 Aug 2003 01:33:13 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261656AbTHTFdN (ORCPT ); Wed, 20 Aug 2003 01:33:13 -0400 Received: from netcore.fi ([193.94.160.1]:39951 "EHLO netcore.fi") by vger.kernel.org with ESMTP id S261652AbTHTFdK (ORCPT ); Wed, 20 Aug 2003 01:33:10 -0400 Date: Wed, 20 Aug 2003 08:31:31 +0300 (EEST) From: Pekka Savola To: "David S. Miller" cc: Daniel Gryniewicz , , , , , , , , , , , , , , Subject: ARP and knowledge of IP addresses [Re: [2.4 PATCH] bugfix: ARP respond on all devices] In-Reply-To: <20030819112912.359eaea6.davem@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1285 Lines: 32 On Tue, 19 Aug 2003, David S. Miller wrote: [...] > Consider the situation logically. When you're replying to an > ARP, _HOW_ do you know what IP addresses are assigned to _MY_ > outgoing interfaces and _HOW_ do you know what subnets _EXIST_ > on the LAN? > > The answer to both is, you'd don't know these things _EVEN_ if > you are a router/gateway. Maybe I'm missing something but -- isn't it perfectly valid to assume the node *ITSELF* knows about its interfaces, IP addresses, and its routes? (Certainly, it can't know of what subnets exist on the LAN if those haven't been configured on the node, e.g. in the form of an "interface routes".) ARP could look it up. Sure, it would seem a bit like an OSI layering violation, but that's no news as OSI layering isn't strict anyway and has been shredded to pieces already in many other places. -- Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/