From owner-freebsd-questions@FreeBSD.ORG Thu Mar 9 20:16:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 693DB16A420 for ; Thu, 9 Mar 2006 20:16:25 +0000 (GMT) (envelope-from harrisons.piggybox@tiscali.co.uk) Received: from mk-smarthost-2.mail.uk.tiscali.com (mk-smarthost-2.mail.uk.tiscali.com [212.74.114.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5F7D43D46 for ; Thu, 9 Mar 2006 20:16:22 +0000 (GMT) (envelope-from harrisons.piggybox@tiscali.co.uk) Received: from 88-111-20-183.dynamic.dsl.as9105.com (HELO mk-smarthost-8.mail.uk.tiscali.com) ([88.111.20.183]) by mk-smarthost-2.mail.uk.tiscali.com with ESMTP; 09 Mar 2006 20:16:13 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AUchAEsbEESBZIYLAh0N Received: from 88-111-20-183.dynamic.dsl.as9105.com ([88.111.20.183]:64334 helo=desktop.piggybox) by mk-smarthost-8.mail.uk.tiscali.com with esmtp (Exim 4.30) id 1FHRYL-0005kA-VG for freebsd-questions@freebsd.org; Thu, 09 Mar 2006 20:16:06 +0000 Received: from desktop.piggybox (localhost.piggybox [127.0.0.1]) by desktop.piggybox (8.13.4/8.13.4) with ESMTP id k29KSeJr001882 for ; Thu, 9 Mar 2006 20:28:40 GMT (envelope-from harrisons.piggybox@tiscali.co.uk) Received: (from peter@localhost) by desktop.piggybox (8.13.4/8.13.4/Submit) id k29KSehd001881 for freebsd-questions@freebsd.org; Thu, 9 Mar 2006 20:28:40 GMT (envelope-from harrisons.piggybox@tiscali.co.uk) X-Authentication-Warning: desktop.piggybox: peter set sender to harrisons.piggybox@tiscali.co.uk using -f Date: Thu, 9 Mar 2006 20:28:40 +0000 From: peter harrison To: freebsd-questions@freebsd.org Message-ID: <20060309202840.GA722@desktop.piggybox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Odd ppp and route problem... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 20:16:25 -0000 Hello all, I'm trying to get inbound ppp working on my freebsd box. I've reached the point where I can get the other machine to connect to my box via tun0, and the 2 can ping each other. However, the client on the other end can ping anything else on my LAN. My set up looks like this: Gateway (192.168.1.1) | | | FreeBSD (192.168.1.2) | | | ppp connection (192.168.1.10) So 192.168.1.10 can ping 192.168.1.2 but can't ping 192.168.1.1 The command I'm running is /usr/sbin/ppp -auto palm, and this is on 6.0-RELEASEp4 The ppp client making the connection to the FreeBSD box is a Palm Tungsten E via USB cable. I've read the (brief) handbook section on inbound ppp, the ppp man page, and googled a bit and I can't work out what I'm doing wrong - but it's probably something basic! Any help or advice greatly appreciated! Peter Harrison (see further info below) ------------------------------------------------------- Here's the output of netstat while the connection's up: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 699 sis0 127.0.0.1 127.0.0.1 UH 0 22 lo0 192.168.1 link#1 UC 0 0 sis0 192.168.1.1 00:14:bf:94:1e:75 UHLW 2 12368 sis0 548 192.168.1.10 192.168.1.2 UH 0 0 tun0 And here's my ppp.conf: ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuad0 = COM1, cuad1 = COM2) # set device /dev/cuad1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) # enable dns # request DNS info (for resolv.conf) papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone PHONE_NUM set authname USERNAME set authkey PASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route palm: set device /dev/ttyU0 set cd off set dial set speed 57600 set timeout 300 set redial 5 0 set reconnect 3 5 set ctsrts on set ifaddr 192.168.1.2 192.168.1.10 255.255.255.255 open