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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to