Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 2002 17:19:46 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Paul te Bokkel <paul@tebokkel.com>
Cc:        Thomas Quinot <thomas@cuivre.fr.eu.org>, freebsd-stable@FreeBSD.ORG
Subject:   Re: Setup routing entry for host with a non-local IP address
Message-ID:  <3DA49D72.6070205@potentialtech.com>
References:  <20021009151733.GA15162@melusine.cuivre.fr.eu.org> <20021009210242.GA34352@tebokkel.com>

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




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