Date: Sat, 9 Nov 2002 10:37:33 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: problems getting 4.7-STABLE gateway to behave Message-ID: <20021109103733.GA685@happy-idiot-talk.infracaninophi> In-Reply-To: <20021109102309.GA3446@freepuppy.bellavista.cz> References: <20021109102309.GA3446@freepuppy.bellavista.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021109103733.GA685>