routing question

Antoine Jacoutot ajacoutot at lphp.org
Fri Jan 9 16:55:21 PST 2004


On Friday 09 January 2004 20:50, Eric Anderson wrote:
> Antoine Jacoutot wrote:
> >I have a routing question and was wondering if FreeBSD was able to do
> > this. I have 2 ISPs (so 2 connections).
> >Can I use only one FreeBSD box as a gateway to:
> >- route LAN --> INTERNET (using connection 1)
> >- route DMZ --> INTERNET (using connection 2)
> >- route LAN --> DMZ (simple routing through the gateway)
> >The gateway would have either one of the 2 connections as default gateway.
> >I do not need any kind of load-balance nor failover for now, just routing.
>
> I can't think of any reason this couldn't be done..

Allright, great :) ... but how ?
How can I tell to my FreeBSD that default route from DMZ to the NET is 
xxx.xxx.xxx.xxx and default route from LAn to the NET is yyy.yyy.yyy.yyy ?
Thanks for your reply, I'm actually quite happy this can obviously be done.

Regards,

Antoine



More information about the freebsd-isp mailing list