From owner-freebsd-questions@FreeBSD.ORG Sat Apr 23 13:12:40 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 8F4A116A4CE for ; Sat, 23 Apr 2005 13:12:40 +0000 (GMT) Received: from web41015.mail.yahoo.com (web41015.mail.yahoo.com [66.218.93.14]) by mx1.FreeBSD.org (Postfix) with SMTP id CE38D43D5A for ; Sat, 23 Apr 2005 13:12:39 +0000 (GMT) (envelope-from angelo_2871@yahoo.com) Received: (qmail 22455 invoked by uid 60001); 23 Apr 2005 13:12:39 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=fPuOCFaKCcfUbh8gNrJyrh9mcE2e1z4Z/4ldASHfZL9+R71GGUBNJtgAXPTjypa8otio5GLtWVnty3BrCHfLoaX696Dnh6zGd/hXdDom93ZCyEAXFCQooR3/6xEpn12B7WpSEcRpVz6dRpK+dXvl2DCCdFszSaeise4qi200cu4= ; Message-ID: <20050423131239.22453.qmail@web41015.mail.yahoo.com> Received: from [62.215.85.227] by web41015.mail.yahoo.com via HTTP; Sat, 23 Apr 2005 06:12:39 PDT Date: Sat, 23 Apr 2005 06:12:39 -0700 (PDT) From: angelito munez To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: need help pls asap 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 13:12:40 -0000 hi guys.. ok.. this is actually the problem.. the isp give us a public ip.. then it was assigned to the ADSL router.. then at the router, DCHP is enabled... so this means that my freebsd box is inside a private network with ip 172.16.16.2.. router has the private ip 172.16.16.1.. the router itself is doing a NAT because it has a real ip of 62.215.85.228... now what i want to do is to make another private network with the freebsd as their gateway so that i can make some rules for this network.. and this should also act as their firewall.. now i have already configured the 2 network interfaces which is vr1 (172.16.16.2 -> for the router's network) and vr0 (192.168.0.1 -> for another private network)... now i can ping outside addresses such as yahoo via vr1.. i can also ping 172.16.16.1(my freebsd's gateway) and 192.168.0.1.. the problem is i have one host in my private network having an ip of 192.168.0.2 and i can't ping this host.. what is the problem? i dont have any firewall rules to block any network.. i even add "ipfw 1 add allow ip from any to any"... iv been thinking that it is a route problem but i dont know how to set the proper route because my box is in between 2 private networks.. these are my route.. Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 172.16.16.1 UGSc 1 90 vr1 127.0.0.1 127.0.0.1 UH 0 49 lo0 172.16.16/24 link#2 UC 2 0 vr1 172.16.16.1 00:0f:3d:87:9c:51 UHLW 1 12 vr1 1200 172.16.16.4 00:0b:db:95:89:a0 UHLW 1 1912 vr1 1081 192.168.0 link#1 UC 2 0 vr0 192.168.0.1 00:11:95:90:c6:b6 UHLW 0 18 lo0 192.168.0.2 00:11:5b:2b:24:20 UHLW 0 0 vr0 1188 can you help me with this problem? thanks for giving your time in reading this.... ill be waiting for your response.. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com