Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2003 15:24:21 -0600
From:      Peter Elsner <peter@sri-software.com>
To:        "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Weird Problem...
Message-ID:  <6.0.1.1.2.20031119152126.01bbcd18@mail.sri-software.com>
In-Reply-To: <3FBBD9DA.20901@daleco.biz>
References:  <6.0.1.1.2.20031119100326.01b651d0@mail.sri-software.com> <3FBBD9DA.20901@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
--=======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=======--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.2.20031119152126.01bbcd18>