From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 13:08:08 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 99B4D16A4CE for ; Wed, 18 Aug 2004 13:08:08 +0000 (GMT) Received: from dawghouse.internet-helpers.net (node762.fsip.execulink.com [69.63.33.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA46243D2D for ; Wed, 18 Aug 2004 13:08:07 +0000 (GMT) (envelope-from admin@internet-helpers.net) Received: (qmail 96000 invoked by uid 1004); 18 Aug 2004 13:05:33 -0000 Received: from admin@internet-helpers.net by dawghouse.internet-helpers.net by uid 89 with qmail-scanner-1.21 (clamdscan: 0.67-1. spamassassin: 2.63. Clear:RC:1(206.186.13.86):. Processed in 0.167201 secs); 18 Aug 2004 13:05:33 -0000 Received: from unknown (HELO teamlead) (admin@internet-helpers.net@206.186.13.86) by node762.fsip.execulink.com with SMTP; 18 Aug 2004 13:05:32 -0000 Message-ID: <00aa01c48524$66186c50$560dbace@call.gtn.ca> From: "Rob G" To: "lily" References: <00dc01c484cb$c2444ca0$52a4608c@ITRI.DS> Date: Wed, 18 Aug 2004 09:08:02 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 cc: freebsd-questions@freebsd.org Subject: Re: Config freebsd as getway 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, 18 Aug 2004 13:08:08 -0000 Ok my setup is something a little different but still works on the same premise Internal Lan --- 10base Hub --- FBSD -- Internet THe only thing that I have different is the 24 port hub inbetween my lan and the FreeBSD box. It's been awhile since it was configured but here is an excerpt from my rc.conf file: network devices="vr0 dc0 lc0" ifconfig_vr0="media10BaseT/UTP up" (This is my internet connection) ifconfig_dc0="***.***.***.*** 255.255.255.0" (Lan Card) gateway_enable="yes" The ip for the internal LAN has been masked because they are routable IP's and I am having problems with attacks on my network right now. I am not sure you can do what you want to without a hub between a pc and b pc as if my logic serves me correct both network cards would have to be set as a gateway. Hopefully this gets you pointed in the right direction. Rob G No Special Titles ----- Original Message ----- From: "lily" To: Sent: Tuesday, August 17, 2004 10:33 PM Subject: Config freebsd as getway Dear all: I have install freebsd 4.x,and have two netcards. I want it as getway. I have config gateway_enable=YES in rc.conf,and then reboot. [a pc]--------[freebsd]-------[b pc] After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and b pc can ping freebsd successful,why? Please give me a hand. Thanks!! LILY _______________________________________________ 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"