From owner-freebsd-questions Thu Jul 1 5:12: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mercenary.vntech.com (mercenary.vntech.com [206.147.237.3]) by hub.freebsd.org (Postfix) with ESMTP id EDC731537E for ; Thu, 1 Jul 1999 05:11:32 -0700 (PDT) (envelope-from pezzy@vntech.com) Received: from localhost (pezzy@localhost) by mercenary.vntech.com (8.9.3/8.9.3) with ESMTP id HAA05852; Thu, 1 Jul 1999 07:11:18 -0500 (CDT) (envelope-from pezzy@vntech.com) Date: Thu, 1 Jul 1999 07:11:18 -0500 (CDT) From: Patrick Walentiny To: ryndin@mtk.comcor.ru Cc: questions@FreeBSD.ORG Subject: Re: two network interfaces In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I could be wrong about this, mostly cause I haven't gone through all the rc scripts in etc by hand, but to my knowlege you have to have it set with gateway_enable="YES" instead of just gateway="YES", maybe it was just a mistype on your part because it seems odd that you can ping both interfaces. if you want to do this without a reboot type % sysctl -w net.inet.ip.forwarding=1 if the prompt claims it was set to 0 previously then I think you have your problem licked. Otherwise? *shrug*. Patrick. On Thu, 1 Jul 1999 ryndin@mtk.comcor.ru wrote: > > > Hi everybody! > I have some problem: we need some box to be gateway and it has two interfaces: > xl0 222.1.2.84 netmask 0xffffff00 and ep0 222.1.6.1 netmask 0xffffff00 and > gateway="YES" is set in "/etc/rc.conf", but boxes from one subnetwork can ping > both interfaces of this box and cann't ping any box in the other subnetwork. > What I need to do? > Thanks in advance Alexey. > > > > > 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