From owner-freebsd-questions Sat Nov 9 6:44:38 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 47B3237B401 for ; Sat, 9 Nov 2002 06:44:36 -0800 (PST) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id 99FAB43E42 for ; Sat, 9 Nov 2002 06:44:34 -0800 (PST) (envelope-from neuhauser@bellavista.cz) Received: (qmail 6059 invoked from network); 9 Nov 2002 14:44:22 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 9 Nov 2002 14:44:22 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id C9D042FDAB5; Sat, 9 Nov 2002 15:44:19 +0100 (CET) Date: Sat, 9 Nov 2002 15:44:19 +0100 From: Roman Neuhauser To: Matthew Seaman Cc: freebsd-questions Subject: Re: problems getting 4.7-STABLE gateway to behave Message-ID: <20021109144419.GB3446@freepuppy.bellavista.cz> Mail-Followup-To: Matthew Seaman , freebsd-questions References: <20021109102309.GA3446@freepuppy.bellavista.cz> <20021109103733.GA685@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021109103733.GA685@happy-idiot-talk.infracaninophi> User-Agent: Mutt/1.5.1i 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 # m.seaman@infracaninophile.co.uk / 2002-11-09 10:37:33 +0000: > 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. no, that was a typo. the address was in fact 10.0.0.25. turned out it *was* the cable between Lilith and hub 2 after all. sounds unbelievable (to me at least), but through all the shuffling of the components, this cable must have remained a constant. I'm sorry about the wasted time. > 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). since Lilith is meant as a replacement for the Linux box, I'm going to set up ipnat on her instead. it's just a plain bimap ATM. -- If you cc me or take the list(s) out completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message