From owner-freebsd-questions@FreeBSD.ORG Tue May 6 18:21:20 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 DBE9637B401 for ; Tue, 6 May 2003 18:21:20 -0700 (PDT) Received: from ns2.weronet.com (chello213047208163.surfer.at [213.47.208.163]) by mx1.FreeBSD.org (Postfix) with SMTP id 6542D43FA3 for ; Tue, 6 May 2003 18:21:19 -0700 (PDT) (envelope-from freebsd@werosoft.com) Received: (qmail 53976 invoked from network); 7 May 2003 02:02:38 -0000 Received: from unknown (HELO sonne) (213.47.208.170) by ns2.weronet.com with SMTP; 7 May 2003 02:02:38 -0000 From: "Ronald Weinrich" To: freebsd-questions@freebsd.org Date: Wed, 07 May 2003 03:23:24 +0200 MIME-Version: 1.0 Message-ID: <3EB87C2C.16955.73F15B3@localhost> Priority: normal In-reply-to: <20030506180518.A20874@ns.museum.rain.com> References: <3EB85E97.29721.6CB887E@localhost>; from freebsd@werosoft.com on Wed, May 07, 2003 at 01:17:11AM +0200 X-mailer: Pegasus Mail for Windows (v4.02, DE v4.02 R1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: no route to host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@werosoft.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 01:21:21 -0000 hi James, thank you for answering, I just post my problem to DJ Boris but may be I make some mistak because I did'nt get my mess from majordomo hier again, tia Ron my system looks like: INTERNET --------- ip xx.xx.xx.xx | | --------- ip xx.xx.xx.xx MY ROUTER --------- 213.47.28.161 is gw for ..162 and 163 | | --------www dns1 xx.xx.xx.162 | --------dns2 xx.xx.xx.163 | | --------- ed0 xx.xx.xx.166 freebsd-box ipnat should run here :) (ipfilter) later may be ;) --------- ep0 192.168.0.1 gw for intra 192.168.0.xx | | --------- winxx ip 192.168.0.xx gw 192.168.0.1 subn 255.255.255.0 I build the kernel with options IPFILTER options IPFILTER_LOG options IPFILTER_DEFAULT_BLOCK in rc.conf is hostname="firewall" defaultrouter="213.47.28.161" ?????? gateway_enable="YES" ipnat_enable="YES" ifconfig_ed0="inet 213.47.28.166 netmask 255.255.255.240" kern_securelevel_enable="NO" linux_enable="NO" nfs_reserved_port_only="YES" sendmail_enable="YES" sshd_enable="YES" in /usr/local/etc/rc.d/ipnat.sh -------------------------------- #!/bin/sh /sbin/ifconfig ep0 down /sbin/ifconfig ep0 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.5.255 /sbin/ifconfig ep0 up [ -x /sbin/ipnat ] && /sbin/ipnat -CF -f /etc/ipnat.conf && ipf - y && echo -n 'ipnat' in etc/ipnat.conf ------------------- map ep0 192.168.0.0/24 -> 213.47.28.160/32 portmap tcp/udp 10000:60000 ep0 192.168.0.0/24 -> 213.47.28.160/32 ipnat.rules is empty ? > On Wed, May 07, 2003 at 01:17:11AM +0200, Ronald Weinrich wrote: > > Hi All, > > can anyone help me please what that mean if I ping one of my > > interface and get "no route to host " > > In general, it means you need to post the output of > > ifconfig -a > > and > > netstat -rn > > and then tell us which IP address you were trying to ping. > >