Date: Wed, 15 Jan 2003 20:09:29 +0200 From: Dancho Penev <dpenev@mail.bg> To: "Alvaro Rosales R." <aran80@wintersperu.com.pe> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Questions Message-ID: <20030115180929.GA512@earth.dpsca.bg> In-Reply-To: <3E252699.26400.569E3A9@localhost> References: <3E252699.26400.569E3A9@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 15, 2003 at 09:15:05AM -0500, Alvaro Rosales R. wrote: >From: "Alvaro Rosales R." <aran80@wintersperu.com.pe> >To: freebsd-questions@FreeBSD.ORG >Date: Wed, 15 Jan 2003 09:15:05 -0500 >Subject: Questions > >Hi fellows . >Is it posible to have a box with 2 default gateways?, if thew answer is No. FreeBSD box can have only one default gateway. >yes, is it posible to route the packages based on the IP source address Take a look to ipfw manual page for "fwd" rule action. >of the clients? .For example: > >bsd BOX with 2 nics ( actin as router) >nic1 10.10.1.10 default gw 10.10.1.1 >nic2 200.37.53.5 default gw 200.37.53.1 > >client1 10.10.1. 5 default gw 10.10.1.1 > >client2 10.10.1.22 default gw 10.10.1.1 > >If client1 connects to 10.10.1.1 the packets sould be routed trough nic2 >of the multihomed BSD BOX > >If client2 connects to 10.10.1.1 the packets sould be routed trough nic1 >of the multihomed BSD BOX. > >Thanks in advance for your help > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message -- Regards, Dancho Penev 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?20030115180929.GA512>