From owner-freebsd-questions Thu Aug 30 6:53:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by hub.freebsd.org (Postfix) with ESMTP id 9201837B407 for ; Thu, 30 Aug 2001 06:53:44 -0700 (PDT) (envelope-from matt@xena.gsicomp.on.ca) Received: from xena.gsicomp.on.ca ([64.228.155.124]) by tomts5-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010830135343.EDOK10424.tomts5-srv.bellnexxia.net@xena.gsicomp.on.ca>; Thu, 30 Aug 2001 09:53:43 -0400 Received: from localhost (matt@localhost) by xena.gsicomp.on.ca (8.11.1/8.11.1) with ESMTP id f7UDl1c02095; Thu, 30 Aug 2001 09:47:01 -0400 (EDT) (envelope-from matt@xena.gsicomp.on.ca) Date: Thu, 30 Aug 2001 09:45:45 -0400 (EDT) From: Matthew Emmerton To: Sridhar M Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help me regarding IP forwarding In-Reply-To: <3B8E2130.F0EEC773@in.ceeyes.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Do you have gateway_enable="YES" in /etc/rc.conf? -- Matthew Emmerton || matt@gsicomp.on.ca GSI Computer Services || http://www.gsicomp.on.ca On Thu, 30 Aug 2001, Sridhar M wrote: > > hi > > while i am working on FreeBSD5.0, my system has configured with two > ethernet cards which was i need. > and my system ethernet cards configuration are > fxp0 : ip : 10.1.6.160/24 > fxp1: ip 10.1.6.161/24 > default gateway : ip : 10.1.6.1 > gateway and routed was enabled . > i am able to ping locally to the card fxp0( 10.1.6.160)interface, but > not to fxp1 (10.1.6.161) interface. as this testing was done without > connecting network, > > > 1).. If i connected two interfaces (fxp0 and fxp1)to network then we > are able to ping locally as well as in the network. > > 2). If i coonected one interface(fxp0) to network , we are able to ping > > fxp0(10.1.6.160) in the network as well as locally., but not to > fxp1(10.1.6.161) in either cas. > > 3)I f i coonected one interface(fxp1) to network, we are not able to > ping both (fxp0 and fxp1) in the noetwork. but able to ping locally to > only fxp0.. > > 4) and i have placed fxp0 ip as the gateway for fxp1, then i am able to > ping fxp1 locally.. > those are all the case that i have tesetd.....? what might be the > problem? and i want to forward the packets from one interface to another > interface on network. > our setup is freebsd system having two ethernet cards... one ethenet > card is connected to one host and another ehternet card is connected to > another host k, now i am unable to ping from one host to another host > thru these ethernet cards. these two hosts and free BSD system are in > the same network. > > so that was the problem, is it possible with freeBSD ? if yes , what > could be the neceessary things to be take care? what are all the steps i > have to follow to make this packet forwrding enable? please help me, i > will be greateful to u for your response....... > thank Q > sridhar > > > 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