From owner-freebsd-stable Wed Oct 9 14:13: 3 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 4EFBD37B401 for ; Wed, 9 Oct 2002 14:13:02 -0700 (PDT) Received: from infinity.aesredfish.net (ns1.aesredfish.net [65.168.0.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DD5943E6E for ; Wed, 9 Oct 2002 14:13:01 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (mhope-dhcp-65-168-1-181.dashfast.com [65.168.1.181]) by infinity.aesredfish.net (8.11.6/8.11.0) with ESMTP id g99LBlW10433; Wed, 9 Oct 2002 17:11:47 -0400 Message-ID: <3DA49D72.6070205@potentialtech.com> Date: Wed, 09 Oct 2002 17:19:46 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc1) Gecko/20020502 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul te Bokkel Cc: Thomas Quinot , freebsd-stable@FreeBSD.ORG Subject: Re: Setup routing entry for host with a non-local IP address References: <20021009151733.GA15162@melusine.cuivre.fr.eu.org> <20021009210242.GA34352@tebokkel.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Paul te Bokkel wrote: > 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? Is it feasible to add an alias on xl0 that is in the 10.10.0.x network space? That sounds like the easiest way to handle the issue to me. > > 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 -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message