From owner-freebsd-questions@FreeBSD.ORG Tue Jan 20 13:10:56 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 07B6816A4CE for ; Tue, 20 Jan 2004 13:10:56 -0800 (PST) Received: from pimout4-ext.prodigy.net (pimout4-ext.prodigy.net [207.115.63.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A3C543D67 for ; Tue, 20 Jan 2004 13:10:39 -0800 (PST) (envelope-from lancelot@at-vantage.com) Received: from peter.at-vantage.com (adsl-68-89-117-169.dsl.rcsntx.swbell.net [68.89.117.169])i0KLANlo044880; Tue, 20 Jan 2004 16:10:24 -0500 Message-Id: <6.0.1.1.2.20040120151003.01bb79f0@mail.at-vantage.com> X-Sender: peter@mail.at-vantage.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Tue, 20 Jan 2004 15:10:22 -0600 To: fbsd_user@a1poweruser.com From: "Lance E. Lott" In-Reply-To: References: Mime-Version: 1.0 Content-Type: multipart/mixed; x-avg-checked=avg-ok-11A65E0; boundary="=======686A25EA=======" cc: freebsd-questions@freebsd.org Subject: Re: 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 21:10:56 -0000 --=======686A25EA======= Content-Type: text/plain; x-avg-checked=avg-ok-11A65E0; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit Where's your defaultrouter line??? Lance At 02:27 PM 1/20/2004, you wrote: >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" > > > > > > > > > > > > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004 --=======686A25EA======= Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-11A65E0 Content-Disposition: inline --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004 --=======686A25EA=======--