Date: 05 Jun 2008 23:01:18 +0200 From: "Arno J. Klaassen" <arno@heho.snv.jussieu.fr> To: Bakul Shah <bakul@bitblocks.com> Cc: Petar Bogdanovic <petar@smokva.net>, net@freebsd.org Subject: Re: IP-forwarding (help) Message-ID: <wpskvroau9.fsf@heho.snv.jussieu.fr> In-Reply-To: <20080605000622.6481A5B46@mail.bitblocks.com> References: <20080605000622.6481A5B46@mail.bitblocks.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bakul Shah <bakul@bitblocks.com> writes: > On 05 Jun 2008 01:33:05 +0200 "Arno J. Klaassen" <arno@heho.snv.jussieu.fr> wrote: > > Petar Bogdanovic <petar@smokva.net> writes: > > > > > On Wed, Jun 04, 2008 at 11:06:01PM +0200, Arno J. Klaassen wrote: > > > > > > > > [ problem description ] > > I feel this is /me still not fully understand routing tables. > > This is your topology, right? yes > test-box main-box gateway > [192.168.1.1]------[192.168.1.254 172.16.1.240]-------[172.16.1.254 > > On the test-box set default route to 192.168.1.254. > On the main-box set net.inet.ip.forwarding 1 but remove the > static routes. > > But how would machines on the 172.16.1.0/24 net know they > must send packets for 192.168.1.0/24 to 172.16.1.240? For > that you need static routes on all the machines on > 172.16.1.0/24 that need to read your test box. Yes, of course ... Thank you very much (I felt it were a simple problem, but somehow blocked finding the solution). Best regards, Arno
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wpskvroau9.fsf>