From owner-freebsd-stable Wed Oct 9 14: 2:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34B137B4F0 for ; Wed, 9 Oct 2002 14:02:48 -0700 (PDT) Received: from devil.tebokkel.com (ptb.xs4all.nl [80.126.6.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95BF243E4A for ; Wed, 9 Oct 2002 14:02:46 -0700 (PDT) (envelope-from paul@tebokkel.com) Received: from devil.tebokkel.com (localhost [127.0.0.1]) by devil.tebokkel.com (8.12.6/8.12.6) with ESMTP id g99L2hKt011534; Wed, 9 Oct 2002 23:02:43 +0200 (CEST) (envelope-from paul@devil.tebokkel.com) Received: (from paul@localhost) by devil.tebokkel.com (8.12.6/8.12.6/Submit) id g99L2ha0011533; Wed, 9 Oct 2002 23:02:43 +0200 (CEST) (envelope-from paul) Date: Wed, 9 Oct 2002 23:02:42 +0200 From: Paul te Bokkel To: Thomas Quinot Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Setup routing entry for host with a non-local IP address Message-ID: <20021009210242.GA34352@tebokkel.com> References: <20021009151733.GA15162@melusine.cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021009151733.GA15162@melusine.cuivre.fr.eu.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 09, 2002 at 05:17:33PM +0200, Thomas Quinot wrote: > Suppose that on a 4.6.2 machine (hostA), I have an interface xl0 > with address 10.10.1.2, netmask 255.255.255.0. > > On that ethernet, I have a host (hostB) that is set up as 10.10.0.1, > netmask 255.255.255.0. I need to send a packet from hostA to hostB, > > Am I trying to do something impossible, or am I just clueless enough > that I did not find the proper way of cajoling the kernel into > cooperation? Answer A, however, answer B sounds feasible.. ;) No x.y.1.q/24 host can reach x.y.0.z/24 on the same physical net without further provisions (like a gateway or aliassed IP's). Try putting hostB in the 10.10.0-net or use a netmask /16 (255.255.0.0). Regards, Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message