Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 1999 02:17:55 -0500 (CDT)
From:      Bruce Albrecht <bruce@zuhause.mn.org>
To:        freebsd-questions@freebsd.org
Subject:   DSL & PPP/modem routing question
Message-ID:  <14192.35363.486770.223265@zuhause.mn.org>

next in thread | raw e-mail | index | archive | help
I have a small network with a couple of FreeBSD boxes and Win/NT boxes.
I'm about to get a DSL connection with a static IP, and I'm planning
on making one of the FreeBSD boxes the firewall and network gateway.
The catch is that I want all internet traffic to go through the DSL
interface except for one subnet that has do go through a dial-out PPP
connection.  On the gateway machine, will I want to set it up so that
I do
   route add network <subnet> <dummy GW>
   route add default <DSL IP>

and then for my PPP configuration file, just do

   set ifaddr <GW IP>/0 <dummy GW>/0 <subnet mask> 0.0.0.0
   route add network subnet HISADDR

Will it still work with
   natd -interface <DSL interface>    and
   ppp -auto -alias xyz

Thanks.
Bruce


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?14192.35363.486770.223265>