From owner-freebsd-questions@FreeBSD.ORG Sat Apr 23 08:30:28 2005 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 AC33116A4CE for ; Sat, 23 Apr 2005 08:30:28 +0000 (GMT) Received: from lmail.bathnetworks.co.uk (mail.bathnetworks.com [84.92.24.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86AAE43D70 for ; Sat, 23 Apr 2005 08:30:27 +0000 (GMT) (envelope-from bsd@bathnetworks.com) Received: (qmail 12118 invoked by uid 510); 23 Apr 2005 09:33:30 +0100 Received: from 84.92.24.252 by lmail.bathnetworks.co.uk (envelope-from , uid 508) with qmail-scanner-1.24-st-qms (clamdscan: 0.83/710. spamassassin: 3.0.2. perlscan: 1.24-st-qms. Clear:RC:0(84.92.24.252):SA:0(-1.7/5.0):. Processed in 1.319268 secs); 23 Apr 2005 08:33:30 -0000 X-Spam-Status: No, hits=-1.7 required=5.0 X-Antivirus-MYDOMAIN-Mail-From: bsd@bathnetworks.com via lmail.bathnetworks.co.uk X-Antivirus-MYDOMAIN: 1.24-st-qms (Clear:RC:0(84.92.24.252):SA:0(-1.7/5.0):. Processed in 1.319268 secs Process 12111) Received: from mail.bathnetworks.com (HELO ?84.92.24.252?) (bsd@bathnetworks.com@84.92.24.252) by lmail.bathnetworks.co.uk with SMTP; 23 Apr 2005 09:33:29 +0100 From: Robert Slade To: "freebsd-questions@freebsd.org" In-Reply-To: <20050423080703.76453.qmail@web41001.mail.yahoo.com> References: <20050423080703.76453.qmail@web41001.mail.yahoo.com> Content-Type: text/plain Message-Id: <1114245208.10690.11.camel@lmail.bathnetworks.co.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sat, 23 Apr 2005 09:33:29 +0100 Content-Transfer-Encoding: 7bit Subject: Re: need help 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: Sat, 23 Apr 2005 08:30:28 -0000 On Sat, 2005-04-23 at 09:07, angelito munez wrote: > the thing is.. im i have an existing dsl connection > running on D-LINK router. now the ISP give only one > real ip. what i did is from D-link to my 4.11 box i > put static ip which is 172.16.16.1 to vr0.and goin out > to client it will be 192.168.0.2.. do u have any idia > coz i cant browse.. and how to know if my box the > nttaing is running.. i can ping the box.. but > sometimes give timed out.. thnks hope u can help me > out,. Angeloto, I guess that 172.16.16.1 is the static IP from your ISP and the 192. etc is your internal network addresses. You should enable NAT on your router, this will allow it to translate the external address to the internal ones. Your BSD box should be on the same subnet as the router's internal address usually 192.168.0.1 netmask 255.255.255.0, so the BSD box's IP should be something like 192.168.0.5 netmask 255.255.255.0. You aslo need to set the BSD box's gateway address to be the router eg 192.168.0.1. Another way of doing this is to enable DHCP on the router and set the BSD Box to use DHCP and the settings should be automatic. Rob