From owner-freebsd-questions@FreeBSD.ORG Wed Nov 19 13:24:23 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 452D216A4CE for ; Wed, 19 Nov 2003 13:24:23 -0800 (PST) Received: from pimout1-ext.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2236C43F85 for ; Wed, 19 Nov 2003 13:24:22 -0800 (PST) (envelope-from peter@sri-software.com) Received: from peter.sri-software.com (adsl-68-89-117-169.dsl.rcsntx.swbell.net [68.89.117.169]) hAJLOIgK203224; Wed, 19 Nov 2003 16:24:19 -0500 Message-Id: <6.0.1.1.2.20031119152126.01bbcd18@mail.sri-software.com> X-Sender: peter@mail.sri-software.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Wed, 19 Nov 2003 15:24:21 -0600 To: "Kevin D. Kinsey, DaleCo, S.P." From: Peter Elsner In-Reply-To: <3FBBD9DA.20901@daleco.biz> References: <6.0.1.1.2.20031119100326.01b651d0@mail.sri-software.com> <3FBBD9DA.20901@daleco.biz> Mime-Version: 1.0 Content-Type: multipart/mixed; x-avg-checked=avg-ok-231E4269; boundary="=======26682458=======" cc: freebsd-questions@freebsd.org Subject: Re: Weird Problem... 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: Wed, 19 Nov 2003 21:24:23 -0000 --=======26682458======= Content-Type: text/plain; x-avg-checked=avg-ok-231E4269; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit Kevin, Yes, gateway_enable="YES" is in my rc.conf file. That's the first thing I checked :) Here is my rc.conf file... defaultrouter="??.??.??.??" ## Note: I do have a valid IP here... gateway_enable="YES" hostname="gateway.gh.com" ifconfig_dc0="inet ??.??.??.?? netmask 255.255.255.248" ifconfig_dc1="inet 192.168.0.1 netmask 255.255.255.0" inetd_enable="YES" ntpdate_enable="YES" ntpdate_flags="ncar.ucar.edu" saver="warp" sshd_enable="YES" sshd_flags="-4" Thanks for your input. Peter At 03:00 PM 11/19/2003, you wrote: >Peter Elsner wrote: > >>Okay, I have a really weird problem. >> >>Running FreeBSD 4.8-RELEASE (just installed it from CD). >> >>It's a basic gateway setup with 2 NIC cards. >>I've done this set up a hundred times and have never seen this before. >> >>DSL modem (with static IP address) goes into one NIC card (dc0). >>Status is active, and from the gateway box, I can ping out to the world. >> >>Second NIC (dc1) is connected to a hub, with internal IP 192.168.0.1. >> >>DHCP is running and assigning IP addresses to workstations. >> >>Workstation is WinXP Professional, and it is set to obtain IP and DNS >>automatically. >>This works, I do get an IP address of 192.168.0.240 (the dhcp range is 50 >>to 240). >>I have DNS, if I look at network settings, the DNS IP addresses contained >>in the /etc/resolv.conf >>and the dhcpd.conf file from the server are there. >> >> From the workstation (a dos prompt), I can connect to the server at >> 192.168.0.1 and I can ping the server. >>Which means I have a connection. >> >>But I can't ping the outside world or connect anywhere else to the >>outside from the workstation. >>I have tried both by host name and IP addresses, so DNS issues can be >>ruled out. >> >>Also, from the server, I can ping the workstation, (192.168.0.240) and it >>responds... >> >>tracert yahoo.com (from dos prompt), goes to the server 192.168.0.1 and >>then says it >>can not go any further. Almost like the DSL modem is preventing from >>anything going out, >>unless it comes directly from the server. >> >>Right now, I can only connect up to 4 workstations to a Netopia 4 port >>DSL router. >> >>But I have 2 other workstations to connect, and can't do that until I can >>get this issue >>resolved. >> >>Has anyone ever seen this problem before? >> >>Thanks. >> >>Peter Elsner >> >> > >Do you have > >gateway_enable="YES" > >in /etc/rc.conf? IIRC, FBSD needs to be >instructed that's it's supposed to be >bridging the two interfaces... > >Handbook chapter 19.2 is probably >one place you need to look. > >HTH, > >Kevin Kinsey >DaleCo, S.P. > > > > > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003 Peter Elsner - President peter@sri-software.com SRI Software 726 Dalworth Suite 1007 Grand Prairie, TX. 75050 972-266-8870 - Voice 817-887-1609 - Fax www.sri-software.com Service Plus(tm) Public Warehouse Management Software --=======26682458======= Content-Type: text/plain; charset=us-ascii; x-avg=cert; x-avg-checked=avg-ok-231E4269 Content-Disposition: inline --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003 --=======26682458=======--