From owner-freebsd-questions@FreeBSD.ORG Wed Feb 22 07:43:49 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 0CA5916A420 for ; Wed, 22 Feb 2006 07:43:49 +0000 (GMT) (envelope-from john@yoafrica.com) Received: from smtp2.yoafrica.com (smtp2.yoafrica.com [196.44.176.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 716BE43D4C for ; Wed, 22 Feb 2006 07:43:44 +0000 (GMT) (envelope-from john@yoafrica.com) Received: from smtp.yoafrica.com ([196.44.176.8]) by smtp2.yoafrica.com with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FBofp-0006ZI-He for freebsd-questions@freebsd.org; Wed, 22 Feb 2006 09:44:34 +0200 Received: from hades.yoafrica.com ([196.44.177.50]) by smtp.yoafrica.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FBofW-0004Tc-UH for freebsd-questions@freebsd.org; Wed, 22 Feb 2006 09:44:14 +0200 Received: from sysjo by hades.yoafrica.com with local (Exim 4.60) (envelope-from ) id 1FBof7-00051F-5B for freebsd-questions@freebsd.org; Wed, 22 Feb 2006 09:43:49 +0200 Date: Wed, 22 Feb 2006 09:43:49 +0200 From: John Oxley To: freebsd-questions@freebsd.org Message-ID: <20060222074349.GB15366@yoafrica.com> References: <43FA54C7.2090600@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43FA54C7.2090600@gmail.com> User-Agent: Mutt/1.5.11+cvs20060126 Subject: Re: PPPoE Max Tunnels, 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: Wed, 22 Feb 2006 07:43:49 -0000 On Mon, Feb 20, 2006 at 05:46:15PM -0600, Porpoise Power wrote: > Please excuse me if I make a mistake here as I'm more familar with OpenBSD's > ppp and pf daemons. What does your conf files look like? Also > Your network settings look a little funny, Can you elaborate on them? > It might be a source of the problem. OK, I have two NIC's, bge0 with a public IP and vr0 which I've assigned the private ip 10.42.73.37/8 which I sucked out my thumb. I'm using the standard pppoe startup script and this is in my /etc/rc.conf pppoed_enable="YES" pppoed_flags="-d -P /var/run/pppoed.pid -a yonetwork -l default" pppoed_interface="vr0" The contents of my /etc/ppp/ppp.conf are: default: set log Chat Command Phase enable pap allow mode direct enable proxy disable ipv6cp set mru 1472 set mtu 1472 set ifaddr 10.42.73.38 10.42.73.37 set radius /etc/radius.conf accept dns The contents of /etc/radius.conf are: auth radiusmachine:1812 "my_secret" acct radiusmachine:1813 "my_secret" That is all the configuration that I have for the PPPoE setup. I have configured the machine as a gateway and there is no firewall running on the box at the moment. It plugs into a switch and I'm statically routing the netblocks that my clients use to the bge interface of the box. All the clients use public IPs. Here is a snippet of the output of ifconfig: tun26: flags=8051 mtu 1492 inet 10.42.73.38 --> xxx.xxx.xxx.26 netmask 0xffffffff Opened by PID 490 tun27: flags=8051 mtu 1492 inet 10.42.73.38 --> xxx.xxx.xxx.13 netmask 0xffffffff Opened by PID 754 tun28: flags=8051 mtu 1492 inet 10.42.73.38 --> xxx.xxx.xxx.7 netmask 0xffffffff Opened by PID 563 The problem is that the machine will not take more than 30 clients. I'm trying to find a limit somewhere in the config files but I can't. The kernel has NETGRAPH, NETGRAPH_PPP and NETGRAPH_PPPOE in it. Any ideas? -John