From owner-freebsd-questions@FreeBSD.ORG Wed Oct 15 10:39:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B142316A4B3 for ; Wed, 15 Oct 2003 10:39:54 -0700 (PDT) Received: from jcn1400.jcontinuum.ca (jcn1400.jcontinuum.ca [69.10.137.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7140743F3F for ; Wed, 15 Oct 2003 10:39:53 -0700 (PDT) (envelope-from jpmichel@jcontinuum.ca) Received: from ARAMIS (vickesh01-5863.tbaytel.net [216.211.48.103]) h9FHY22T002711 for ; Wed, 15 Oct 2003 13:34:03 -0400 (EDT) (envelope-from jpmichel@jcontinuum.ca) Message-ID: <021601c39343$572f85d0$0e0ea8c0@ARAMIS> From: "Justin P. Michel" To: Date: Wed, 15 Oct 2003 13:39:47 -0400 Organization: J Continuum MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: NAT Woes... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Justin P. Michel" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2003 17:39:54 -0000 Greetings, I am having a problem with NAT. I have my FreeBSD system, running 4.8, cvsup'd to p13. I have the following in my kernel configuration: options IPDIVERT options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 I have two network adapters, both Realtek 8139s. The first is set to 192.168.0.2, the second is set to 10.0.0.1. The 192.168.0.2 one plugs into my router, and the 10.0.0.1 one plugs into my local hub (just like in the picture in the handbook). The system can ping and talk fine with the outside world. However, when I plug a system into the hub, the FreeBSD systems assigns it an IP (I'm running dhcpd on the FreeBSD system as well), and I can ping the FreeBSD system on the 10.0.0.1 interface, but I can not ping the other interface, or access the outside world. I have the following in my rc.conf as well: gateway_enable="YES" firewall_enable="YES" firewall_type="OPEN" natd_enable="YES" natd_interface="rl0" natd_flags="" ifconfig_rl0="inet 192.168.0.2 netmask 255.255.255.0" ifconfig_rl1="inet 10.0.0.1 netmask 255.255.255.0" defaultrouter="192.168.0.1" Am I missing something? I followed the instructions in the handbook, (and have set up similar networks that worked fine) but can not seem to get this one to go. If anyone can shed some light on this situation, please let me know. Thanks in advance, Justin P. Michel - J Continuum