From owner-freebsd-stable Wed Nov 20 20:54:39 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B844037B401 for ; Wed, 20 Nov 2002 20:54:37 -0800 (PST) Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9CA443E6E for ; Wed, 20 Nov 2002 20:54:36 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id UAA78649; Wed, 20 Nov 2002 20:53:48 -0800 (PST) Received: from arch20m.dellroad.org (localhost [127.0.0.1]) by arch20m.dellroad.org (8.12.6/8.12.6) with ESMTP id gAL4sFOS063930; Wed, 20 Nov 2002 20:54:15 -0800 (PST) (envelope-from archie@arch20m.dellroad.org) Received: (from archie@localhost) by arch20m.dellroad.org (8.12.6/8.12.6/Submit) id gAL4sFIV063929; Wed, 20 Nov 2002 20:54:15 -0800 (PST) From: Archie Cobbs Message-Id: <200211210454.gAL4sFIV063929@arch20m.dellroad.org> Subject: Re: ppp works, but natd not working In-Reply-To: <018201c29119$c13856a0$3164a8c0@number6.loop.bpa.nu> To: Rob B Date: Wed, 20 Nov 2002 20:54:15 -0800 (PST) Cc: stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rob B wrote: > [root@erwin]/usr/local/etc: ping www.ozemail.com.au > PING www.ozemail.com.au (203.102.166.18): 48 data bytes > 56 bytes from 203.102.166.18: icmp_seq=0 ttl=56 time=132.990 ms > 56 bytes from 203.102.166.18: icmp_seq=1 ttl=56 time=121.214 ms > 56 bytes from 203.102.166.18: icmp_seq=2 ttl=56 time=120.237 ms > 56 bytes from 203.102.166.18: icmp_seq=3 ttl=56 time=118.285 ms > 56 bytes from 203.102.166.18: icmp_seq=4 ttl=56 time=114.380 ms > ^C > --- www.ozemail.com.au ping statistics --- > 5 packets transmitted, 5 packets received, 0% packet loss > round-trip min/avg/max/stddev = 114.380/121.421/132.990/6.240 ms > > but sourcing the pings from the internal interface doesn't: > [root@erwin]/usr/local/etc: ping -S 192.168.100.10 www.ozemail.com.au > PING www.ozemail.com.au (203.102.166.18) from 192.168.100.10: 48 data bytes > ^C > --- www.ozemail.com.au ping statistics --- > 12 packets transmitted, 0 packets received, 100% packet loss > > Both ppp and natd are running: > [root@erwin]/usr/local/etc: ps fax > PID TT STAT TIME COMMAND > > 704 ?? Is 0:00.00 natd -dynamic -interface tun0 > 737 ?? Ss 0:00.31 ppp -auto -alias demand > > Just for completeness - the pings (or traceroutes for that matter) don't > work from the LAN either. What could be wrong? Just a thought.. what does 'sysctl net.inet.ip.forwarding' say? It should be equal to 1. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message