From owner-freebsd-questions Mon Apr 10 10:01:54 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA11325 for questions-outgoing; Mon, 10 Apr 1995 10:01:54 -0700 Received: from tic.inria.fr (tic.inria.fr [138.96.24.101]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA11287 for ; Mon, 10 Apr 1995 10:01:48 -0700 Received: by tic.inria.fr (8.6.10/8.6.10) id TAA09897; Mon, 10 Apr 1995 19:01:38 +0200 Message-Id: <199504101701.TAA09897@tic.inria.fr> To: questions@FreeBSD.org Subject: Re: bug in 3c509 driver? In-reply-to: your message of Fri, 07 Apr 1995 20:29:00 PDT. Date: Mon, 10 Apr 1995 19:01:38 +0200 From: Andres Vega Garcia Sender: questions-owner@FreeBSD.org Precedence: bulk >From: Bill Heiser >Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.bsd.freebsd.misc >Subject: FreeBSD as a GATEWAY, but NOT a ROUTER >Date: 7 Apr 1995 16:28:58 GMT >Organization: Equipment Division, Raytheon Company >Lines: 29 >Message-ID: <3m3p8a$brh@news.ed.ray.com> >NNTP-Posting-Host: spc280.ed.ray.com >Mime-Version: 1.0 >Content-Type: text/plain; charset=iso-8859-1 >Content-Transfer-Encoding: 7bit >NNTP-Posting-User: heiser >X-Disclaimer: This is the author's opinion and not that of Raytheon Company. >X-Mailer: Mozilla 1.1b2 (X11; I; Linux 1.2.0 i486) >X-URL: news:comp.unix.bsd.freebsd.misc#3m2r7g$la6@bonnie.tcd-dresden.de >Xref: agate comp.unix.bsd.freebsd.misc:703 > >I have configured a FreeBSD machine with two 3c509 network cards so that >I can use the machine as a gateway between two networks. I have NOT >enabled the GATEWAY option in the kernel, because I do NOT want packet >forwarding to take place. I simply want the machine to be able to >be directly connected to the two networks. > >What I am finding is that I can talk to the primary interface, >but not the secondary. I know both cards work because I have tried >reversing their roles - and both work as the primary interface. >The setup is as follows: > > gateway isolated host > ----------XXXXXX-----------------XXXXXXXX > primary subnet > network > >When I try to talk to (i.e. Ping) the isolated host, ping tells me that >the remote host is down (i.e. ping returns -1). > >Has anyone else configured FreeBSD in this type of arrangement, i.e. has >anyone built a firewall or gateway type of arrangement with this setup? In 1.1.5.1 I had 3 3c509 in different sub-nets, I had compiled with the GATEWAY option. In 2.0R I don't have the GATEWAY option. I have just 2 3c509 configured and I don't have any problems to see the hosts on each side. >I have checked the FAQ and found nothing applicable. It talks about >enabling the GATEWAY option in the kernel, but again, I don't want >packet forwarding to occur between the networks. > >Thanks in advance. >Bill > How have you configured the (both) cards? Can you ping the interface itself? Andres ------------------------------ INRIA Sophia-Antipolis, France avega@pax.inria.fr