multiples gateways

Toni Schmidbauer toni at
Wed Aug 20 17:24:46 PDT 2003

On Wed, Aug 20, 2003 at 09:25:47AM -0300, Marcelo Massel wrote:
>      I ´ m using freebsd 5.0 and I need to know if it´s possible to use more than one gateway?. I have two ethernet interfaces one with and one with the which are  the gateways for two differents  LANs   .if its posible to do it, how could i do it?

if i understand you correctly, is the gw for
the network and is the gw for the net. and you would like to connect these two
so the only thing you have to do is enable ip-forwarding
via "sysctl -w net.inet.ip.forwarding=1" and change the
appropriate line in /etc/sysctl.conf (man 5 sysctl.conf).

Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.       | Toni Schmidbauer
-- Rudolf Steiner                                | 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list