Date: Tue, 12 Dec 2006 11:00:28 +0200 From: Nikos Vassiliadis <nvass@teledomenet.gr> To: freebsd-questions@freebsd.org Cc: "Bret J. Esquivel" <besquivel@immense.net> Subject: Re: Routing Question Message-ID: <200612121100.28716.nvass@teledomenet.gr> In-Reply-To: <014301c71dc2$1e3d1910$5ab74b30$@net> References: <014301c71dc2$1e3d1910$5ab74b30$@net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 12 December 2006 09:49, Bret J. Esquivel wrote: > Hi, > > > > I have a cable modem at my office with a /28 allocated. I have a FreeBSD 6.1 > firewall/router in between the cable modem and the switch to other nodes. My > question is how could I add static routes to say my web server having an > external IP address but still going through the firewall box? NAT is not an > option. > > > > INET (70.164.48.225/28) -> [xl0] Firewall (70.164.48.226) [xl1] -> [xl0] Web > server (70.164.48.227) You can bridge xl0 and xl1. Then you'll use one address e.g. 70.164.48.225/28 on you xl0 and that will be reachable from your lan too. xl1 doesn't have to have an IP address. Check man if_bridge. But is this the topology? in many cases there is a PPP interface which connects you to the world, a WAN interface. And there is a network routed through this. Something like this: W A N L A N (a.b.c.d/32) <-> (a.b.c.e/32 router d.e.f.a/28) <-> (d.e.f.b/28 other boxes) Hope this help, Nikos
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612121100.28716.nvass>