From owner-freebsd-stable Mon Jul 16 23:41:20 2001 Delivered-To: freebsd-stable@freebsd.org Received: from femail13.sdc1.sfba.home.com (femail13.sdc1.sfba.home.com [24.0.95.140]) by hub.freebsd.org (Postfix) with ESMTP id 6A18A37B401 for ; Mon, 16 Jul 2001 23:41:17 -0700 (PDT) (envelope-from btdang@home.com) Received: from home.com ([24.248.85.196]) by femail13.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id <20010717064117.OPNI20529.femail13.sdc1.sfba.home.com@home.com> for ; Mon, 16 Jul 2001 23:41:17 -0700 Message-ID: <3B53DF46.817354CA@home.com> Date: Mon, 16 Jul 2001 23:46:30 -0700 From: Bruce Dang Organization: Boys & Girls Clubs X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@FreeBSD.ORG Subject: Re: IPFW, multihoming References: <3B5311CC.CC166BE9@iowna.com> <3B536C9A.567E74E0@cuk.nu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What you want to do is setup the route tables so that traffic from certain places go through the right interface; that is essentially it. This isn't really an ipfw, but natd, so you might want to read the documentation. Btw, why do you want 4 NICs/machine? Bruce Dang www.tbug.org Marko Cuk wrote: > > Hello ! > > I have a few problems, because I'd like to merge two maschines because > of small room and heating problems there. > > One maschine has its own link and other too. Now i'd like to merge them > into one maschine with four ethernet cards. > How can I do, that packets from one subnet/host will go through one > outgoing link and packets from other subnet/host will go through NAT to > the default gateway, wich will be the default gw for FreeBSD itself too? > > I am using ipfw and I have read lot of documentation and I still don't > have enough idea, how to do it. With ipfw fwd, like at transparent > proxy, or ? > It is a kind of source routing, isn't it ? > > Please, help me. > > Many thanks. > > Marko > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message