From owner-freebsd-questions Sat Jan 3 07:18:23 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA15115 for questions-outgoing; Sat, 3 Jan 1998 07:18:23 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA15108 for ; Sat, 3 Jan 1998 07:18:17 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.8.8/8.8.3) id KAA01005; Sat, 3 Jan 1998 10:18:04 -0500 (EST) Message-ID: <19980103101803.44304@emu.sourcee.com> Date: Sat, 3 Jan 1998 10:18:03 -0500 From: Norman C Rice To: Jason McKay Cc: freebsd-questions@FreeBSD.ORG Subject: Re: PPP and Routing Problems References: <199801031319.XAA04332@al.imforei.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Jason McKay on Sat, Jan 03, 1998 at 09:47:03PM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, Jan 03, 1998 at 09:47:03PM +0800, Jason McKay wrote: > Sorry, > > No we are doing the routing, we have a C class address of 203.25.160.x .. > All our machines attached to our LAN are using addresses from that pool. > PPP clients are also given an address from our pool. Are you using packet filtering with user-mode ppp (dfilter)? Are the ppp clients on the same subnet as the local users that work? Does `arp -a' report the ppp client's permanent published proxy? Does `sysctl net.inet.ip.forwarding' return `net.inet.ip.forwarding: 1'? Is IP_FIREWALL enabled in your kernel? Are you running routed? What version (release date) of user-mode ppp are you running? Are you sure the FreeBSD box isn't forwarding the packets? Perhaps a ppp client can run traceroute (or TRACERT) to your router to see whether the packets are forwarded. Can you `tcpdump' the ppp client during this activity? How about publishing the following? netstat -rn arp -a /etc/ppp/ppp.conf (with password stuff changed) a simple network drawing (ppp client, FreeBSD box, and router) showing the IP addresses and netmasks > > Thank you, > Jason McKay. > > On Sat, 3 Jan 1998, Peter Childs wrote: > > > In article you wrote: > > > I'm having a routing problem with ppp, users can successfully > > > connect with ppp and access our other machines on the LAN ... But they > > > can't access the outside world. Gateway is set to YES in rc.conf, and > > > enable proxy is in the ppp.conf file. Shell users can access the outside > > > world without any problems. It's only restricted to ppp users. > > > > Is telstra routing the addresses that you allocate to your ppp clients to > > you? Are they on the same class C as yourself? Could you elaborate > > on your network setup a little more? > > > > Ta. > > > > Peter > > > > -- > > Peter Childs - finger pjchilds@al.imforei.apana.org.au for PGP public key > > > > We are FreeBSD, resistance is related to current and voltage... > > > > -- Regards, Norman C. Rice, Jr.