From owner-freebsd-questions Sat Nov 9 2:37:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E877537B401 for ; Sat, 9 Nov 2002 02:37:47 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59FD343E3B for ; Sat, 9 Nov 2002 02:37:46 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gA9Abcpj000907 for ; Sat, 9 Nov 2002 10:37:38 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gA9AbX2O000906 for freebsd-questions@FreeBSD.ORG; Sat, 9 Nov 2002 10:37:33 GMT Date: Sat, 9 Nov 2002 10:37:33 +0000 From: Matthew Seaman To: freebsd-questions Subject: Re: problems getting 4.7-STABLE gateway to behave Message-ID: <20021109103733.GA685@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , freebsd-questions References: <20021109102309.GA3446@freepuppy.bellavista.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021109102309.GA3446@freepuppy.bellavista.cz> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-3.3 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03, TO_LOCALPART_EQ_REAL,USER_AGENT,USER_AGENT_MUTT version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 09, 2002 at 11:23:09AM +0100, Roman Neuhauser wrote: > A picture is worth a thousand words... > > internet > | > v > eth0/12.34.56.78 > linux (NAT) > eth1/10.1.0.200 > | > hub 1 -> Freepuppy de0/10.1.0.10 > | > v > vx0/10.1.0.1 > Lilith > ep0/10.0.0.1 > | > hub 2 > | > v > rl0/10.1.0.25 > Ishtar > > Lilith, Freepuppy, and that Linux box (called "fw") can ping each other > w/o problems. Ishtar can ping (and be pinged by) the windows boxes in > the same hub. The problem is that nothing gets from Lilith to the other > side of hub 2, nor the other way around. Does ishtar really have 10.1.0.25 as it's rl0 address? If so, that's where the problem is. lilith is expecting that everything on the 10.1.0.0/24 network can be reached through it's vx0 interface. Try renumbering everything hanging off hub 2 so that they are on the 10.0.0.0/24 network. Make sure that everything is using a /24 netmask. If you want ishtar and the other machines to be able to access the internet, you'll need to add a route on fw telling it that the 10.0.0.0/24 network can be reached via lilith's vx0 interface: route add -net 10.0.0.0/24 10.1.0.1 (or whatever the exact syntax of the linux route command is). Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message