From owner-freebsd-questions@FreeBSD.ORG Tue Jan 20 12:28:20 2004 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 11DB516A4CE for ; Tue, 20 Jan 2004 12:28:20 -0800 (PST) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27BBA43D64 for ; Tue, 20 Jan 2004 12:27:26 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.103]) by mta9.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20040120202725.MZEB27240.mta9.adelphia.net@barbish> for ; Tue, 20 Jan 2004 15:27:25 -0500 From: "fbsd_user" To: "freebsd-questions@FreeBSD. ORG" Date: Tue, 20 Jan 2004 15:27:24 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: how to config FBSD pc to work on non-dhcp lan X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 20:28:20 -0000 Have FBSD gateway connected to internet with private Lan behind it. Manually configured an MS/Windows on Lan. Now trying to add FBSD PC to Lan. Put ifconfig statement in rc.conf to assign PC it's Lan IP address. Loaded resolv.conf with IP address of ISP's DNS server. Can ping gateway and Lan Windows box. Gateway and Lan windows box has public access. FBSD Lan PC can not ping Public Internet ip address or resolve domain names. Ping to public internet ip address get msg sendto no route to host 10.0.10.0/29 is the Lan subnet. Gateway is 10.0.10.2. Windows box is 10.0.10.5. The ifconfig display on both the gateway and FBSD lan box show the correct assigned IP address and broadcast ip address of 10.0.10.7 just like what I expected. What other config files need to be configured on the FBSD Lan PC to get it to communicate through the gateway to the public internet? This is what I has so far on the FBSD Lan PC rc.conf clear_tmp_enable="YES" moused_enable="YES" moused_port="/dev/psm0" moused_type="auto" moused_flags="-m 2=3" allscreens_flags="-m on -c blink -h 200" saver="warp" hostname="gateway.fbsdjones.com" ifconfig_dc0="inet 10.0.10.1 netmask 255.255.255.248" resolv.conf nameserver 68.168.240.2 The gateway's rc.conf has ifconfig_dc0="inet 10.0.10.2 netmask 255.255.255.248"