From owner-freebsd-questions Sun Feb 4 21:24:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nameserver.austclear.com.au (nameserver.austclear.com.au [192.83.119.132]) by hub.freebsd.org (Postfix) with ESMTP id 871F537B401 for ; Sun, 4 Feb 2001 21:23:58 -0800 (PST) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.70.1]) by nameserver.austclear.com.au (8.9.3/8.9.3) with ESMTP id QAA14894; Mon, 5 Feb 2001 16:23:54 +1100 (EST) Received: from tungsten (tungsten [192.168.70.1]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id QAA16754; Mon, 5 Feb 2001 16:23:54 +1100 (EST) Message-Id: <200102050523.QAA16754@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: Rob Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: direct routing help needed In-Reply-To: Message from Rob of "Sun, 04 Feb 2001 20:47:09 -0800." <3A7E304D.6AB8007D@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Feb 2001 16:23:54 +1100 From: Tony Landells Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Rob, In a nutshell, you can't route (directly) to something you're not connected to. As soon as the IP address falls outside your subnet, you need a gateway ON YOUR NETWORK to send it to. If I'm reading your email correctly, both of these computers are on the same switch, and then there's a single cable modem carrying two different subnets: ----- Host A ----- | s | FreeBSD | | w | -----------| i | cable | t |-------modem-------Internet -----------| c | Host B | | h | OpenBSD----- | | ----- To avoid buying a router, you basically have to have both computers on the same (IP) network. The best way (IMHO) would be to throw another NIC in each computer, connect them directly with a crossover cable, and configure them to be on a common network (preferably from the RFC1918 selection). If you don't want to spend any money, you may be able to do it by configuring alias addresses on each existing interface which happen to be in the same network. Again, you would want to pick from RFC1918 addresses, and your service provider may get upset if your boxes generate, for example, broadcast traffic for RFC1918 addresses that get sent out through the cable modem. Good luck, Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message