Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2002 23:02:42 +0200
From:      Paul te Bokkel <paul@tebokkel.com>
To:        Thomas Quinot <thomas@cuivre.fr.eu.org>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Setup routing entry for host with a non-local IP address
Message-ID:  <20021009210242.GA34352@tebokkel.com>
In-Reply-To: <20021009151733.GA15162@melusine.cuivre.fr.eu.org>
References:  <20021009151733.GA15162@melusine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021009210242.GA34352>