From owner-freebsd-bugs Wed Sep 4 06:49:10 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA12123 for bugs-outgoing; Wed, 4 Sep 1996 06:49:10 -0700 (PDT) Received: from pillar.elsevier.co.uk (root@pillar.elsevier.co.uk [193.131.222.35]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA12117; Wed, 4 Sep 1996 06:49:06 -0700 (PDT) Received: from snowdon.elsevier.co.uk (snowdon.elsevier.co.uk [193.131.197.164]) by pillar.elsevier.co.uk (8.6.13/8.6.12) with ESMTP id OAA22597; Wed, 4 Sep 1996 14:46:58 +0100 Received: from tees.elsevier.co.uk (actually host tees) by snowdon with SMTP (PP); Wed, 4 Sep 1996 14:48:31 +0100 Received: (from dpr@localhost) by tees.elsevier.co.uk (8.6.13/8.6.12) id OAA06797; Wed, 4 Sep 1996 14:47:27 +0100 To: Gary Palmer Cc: Garrett Wollman , Ulf Zimmermann , bugs@freebsd.org Subject: Re: 2 bugs, I think ;-) References: <8119.841783800@orion.webspan.net> From: Paul Richards Date: 04 Sep 1996 14:47:26 +0100 In-Reply-To: Gary Palmer's message of Tue, 03 Sep 1996 16:50:00 -0400 Message-ID: <57u3te8k9d.fsf@elsevier.co.uk> Lines: 27 X-Mailer: Gnus v5.3/Emacs 19.30 Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Gary Palmer writes: > Ulf has a 4 ``port'' Zynx ethernet card, based around the 2104x > chipset. (I was talking to him on IRC about this). If he took a > machine connected to one of the interfaces (say de0, which has aliases > defined on it) and tracerouted ACROSS the machine with the Zynx card > (to another net on one of the other interfaces, since this is a > router), traceroute returned the address of the last alias added to > the de0 interface as being the first hop, not the ``primary'' address > of the interface, which IMHO (and his too) should be the address > returned. There's no concept of "primary" address in the kernel, they just sit on a linked list. The kernel does a match of those addresses with the destination address to determine the "source" address. I forget the function that does this but it's likely it's just matching the address on the end of the list straight away. At least, it's something like that, Garrett probably knows the details. I ran into this problem with the virtual hosting box I set up. I couldn't control the "source" address of the packets that were originating from programs running in the virtual host environments. -- Paul Richards. Originative Solutions Ltd. (Netcraft Ltd. contractor) Elsevier Science TIS online journal project. Email: p.richards@elsevier.co.uk Phone: 0370 462071 (Mobile), +44 (0)1865 843155