From owner-freebsd-questions Sat Aug 18 0:25:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from p6m7g8.student.umd.edu (p6m7g8.student.umd.edu [129.2.247.12]) by hub.freebsd.org (Postfix) with ESMTP id 1F7A437B40F for ; Sat, 18 Aug 2001 00:25:36 -0700 (PDT) (envelope-from philip@p6m7g8.com) Received: from localhost (philip@localhost) by p6m7g8.student.umd.edu (8.11.3/8.11.3) with ESMTP id f7H8P9E24754 for ; Fri, 17 Aug 2001 03:25:09 -0500 (EST) (envelope-from philip@p6m7g8.com) X-Authentication-Warning: p6m7g8.student.umd.edu: philip owned process doing -bs Date: Fri, 17 Aug 2001 03:25:09 -0500 (EST) From: "Philip M. Gollucci" X-X-Sender: To: Subject: Gatewayt and Routing Message-ID: <20010817032445.W2396-100000@p6m7g8.student.umd.edu> 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 I have a FreeBSD4.3-RELEASE computer which I need to setup as a gateway. It needs to route packets between the computers on the Interior Network which are another FreeBSD5.0-CURRENT machine, and a Windows2000 Proffessional. Also, it needs to connect all the computers on the internal network to the Internet. So basically, 129.2.x.1 is the outside gateway for 129.2.x.y (192.168.69.1)which is the gateway we need to configure. The FreeBSD5.0-CURRENT machine is 192.168.69.2, the Windows2000 computer is 192.168.69.3. Both of the FreeBSD Machines and the Windows computer can talk to each other through the internal network. But none of them except the gateway can get out to the Internet. As you can see from the rc.conf file it has to NICS in it. I'm guessing the problem is because ep2 isn't forwarding outbound traffic to ep0. BUT, I though thats what the gateway_enable="YES" does. I have looked on the mailing list archives for about a day and didn't find much to answer my question. I also looked in the handbook, but that didn't help because it basically only talks about routing tables and not how to actually setup the ones we need. I have also read the man pages for ifconfig, and netstat. ----[CUT]---- inetd_enable="YES" ifconfig_ep0="inet 129.2.x.y netmask 255.255.255.0" ifconfig_ep2="inet 192.168.69.1 netmask 255.255.255.0" defaultrouter="129.2.x.1" hostname="hostname.com" router_flags="-s" router="routed" router_enable="YES" gateway_enable="YES" ----[END]---- ------------------------------------------------------------------------------ Philip M. Gollucci (p6m7g8) philip@p6m7g8.com 301.314.3445 Science, Discovery, & the Universe Webmaster URL: http://www.sdu.umd.edu DEVEL: http://www.test1.p6m7g8.com DEVEL: http://www.test3.p6m7g8.com EJPress.com Database/PERL Programmer & System Admin URL : http://www.ejournalpress.com Resume : http://www.p6m7g8.com/resume-20010424-170825.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message