Date: 02 Nov 1999 16:03:47 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: freebsd-questions@freebsd.org Subject: Re: How to route a single box into a subnet Message-ID: <86so2pq9bw.fsf@localhost.hell.gr> In-Reply-To: Oliver Fromme's message of "Tue, 2 Nov 1999 02:21:47 %2B0100 (CET)" References: <199911020121.CAA26450@dorifer.heim3.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> writes: > Hello, > > We have a /24 subnet (let's call it 1.2.3.0), and for some > technical reason there is one machine (1.2.3.55) that has > to be routed through another machine (1.2.3.44). > > The router (.44) runs FreeBSD -stable and has two network interfaces > -- one is connected to the rest of the network, and the other is > connected directly to the .55 machine (via a crossed TP cable). The > .55 machine has only one network interface, and it's running various > operating systems (W95, Linux, FreeBSD). > > What is the easiest way to do such a setup? I think that it can be easily done by setting the default gateway on the 1.2.3.55 machine to be the 1.2.3.44 router. Then for incoming traffic, you need to add a `host route' to the router of 1.2.3.0/24 (is this the 1.2.3.44 machine?) that will destined for 1.2.3.55 over the right interface. -- Giorgos Keramidas, <keramida@ceid.upatras.gr> "What we have to learn to do, we learn by doing." [Aristotle] 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?86so2pq9bw.fsf>