Date: Mon, 05 Feb 2001 16:23:54 +1100 From: Tony Landells <ahl@austclear.com.au> To: Rob <europax@home.com> Cc: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: direct routing help needed Message-ID: <200102050523.QAA16754@tungsten.austclear.com.au> In-Reply-To: Message from Rob <europax@home.com> of "Sun, 04 Feb 2001 20:47:09 -0800." <3A7E304D.6AB8007D@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ahl@austclear.com.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102050523.QAA16754>