Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2003 22:54:03 +0200
From:      Toni Schmidbauer <toni@stderror.at>
To:        questions@FreeBSD.org
Subject:   Re: multiples gateways
Message-ID:  <20030820205403.GA56766@devil.stderror.at>
In-Reply-To: <000801c36716$31d3ee60$c90a0a0a@marcelom>
References:  <000801c36716$31d3ee60$c90a0a0a@marcelom>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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 10.10.10.254/24 and one with the 10.10.50.254/24 which are  the gateways for two differents  LANs   .if its posible to do it, how could i do it?

if i understand you correctly, 10.10.10.254 is the gw for
the 10.10.10.0/24 network and 10.10.50.254 is the gw for the
10.10.50.0/24 net. and you would like to connect these two
networks.
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).

hth,
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.       | Toni Schmidbauer
-- Rudolf Steiner                                | 

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE/Q9/qu/mjSj7RMocRAtWZAJ0YVeHhBkdic+iaGOD+cD5Ycb0BGwCfTwpR
Sl1eBwmhz5wlHpNeAZMtmL8=
=vq+O
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030820205403.GA56766>