From owner-freebsd-questions Wed Jun 14 11:17:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc1.sdca.home.com (ha1.rdc1.sdca.home.com [24.0.3.66]) by hub.freebsd.org (Postfix) with ESMTP id 9C96037B785 for ; Wed, 14 Jun 2000 11:17:38 -0700 (PDT) (envelope-from RaymundoVega@home.com) Received: from home.com ([24.5.252.61]) by mail.rdc1.sdca.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000614181737.MXKO25048.mail.rdc1.sdca.home.com@home.com>; Wed, 14 Jun 2000 11:17:37 -0700 Message-ID: <3947CC41.EDBABE0D@home.com> Date: Wed, 14 Jun 2000 11:17:37 -0700 From: "Raymundo M. Vega" X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Petrov Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Routing 1 Ip-address from network to different interface References: <2876.000614@mail.ru> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alexander Petrov wrote: > > Hello freebsd-questions, > > I have 32 IP. (netmask 255.255.255.224) > I have 3 interfaces on my FreeBSD 3.4: > > default ppp0 > xxx.yyy.zzz.1 ed0 > xxx.yyy.zzz.2 ed1 > > I route for xxx.xxx.xxx/27 to ed0. But I want without splitting > my 32-ip net route for xxx.yyy.zzz.5 to ed1. > How to do it? > "route add xxx.yyy.zzz.5 xxx.yyy.zzz.2" do not work. > May be I should use "ipfw fwd" feature? no, you should tell xxx.yyy.zzz.5 that its default route is xxx.yyy.zzz.2 that will do it. raymundo. > > Best regards, > Alexander mailto:tyzan@mail.ru > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message