From owner-freebsd-net Tue Oct 24 10:44: 3 2000 Delivered-To: freebsd-net@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id B788737B479 for ; Tue, 24 Oct 2000 10:43:57 -0700 (PDT) Received: from mogadishu-54.budapest.interware.hu ([195.70.52.118] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 13o872-0000WW-00; Tue, 24 Oct 2000 19:43:49 +0200 Message-ID: <39F5CA4F.4B74EFD9@elischer.org> Date: Tue, 24 Oct 2000 10:43:43 -0700 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Andre Oppermann Cc: freebsd-net@freebsd.org Subject: Re: Problem with pppoed->ppp References: <39F5C458.D77E62A0@pipeline.ch> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andre Oppermann wrote: > > There seems to be a problem with ppp running in an server pppoe > environment. > > The first pppoe connection comes in fine but with the second it looks > like ppp wants to use the tun0 interface again which obviously doesn't > work since it is occupied already. > > Any hints on this problem? How to make ppp use the next tun interface? > > My config is this: > > pppoed -Fd -a vaio -p test fxp0 I guess maybe pppoed needs to be able to suggest some indentifier to ppp. however what I did to test it was to make it run a script (instead of ppp directly, and have the script select a different (unused) ppp configuration) Since it was a rather odd configuration I'm not sure that ppp can do this at the moment (I forget how I did it). mpd on the other hand can handle multiple pptp sessions and I can imagine that it may be able to handle multiple pppoe session swithout too much extension. for PPP, I defer to brian, and for mpd, archie. > > ppp.conf: > default: > allow mode direct > set mru 1492 > set mtu 1492 > set speed sync > set cd 5! > set timeout 1800 > enable lqr > enable chap > accept dns > test: > set ifaddr 192.168.0.2 192.168.1.32/27 > > The log says this: > > Oct 25 19:13:47 vaio ppp[364]: Error: iface_inAdd: ioctl(SIOCAIFADDR): > 192.168.0.2: > File exists > Oct 25 19:13:47 vaio ppp[364]: Error: ipcp_InterfaceUp: unable to set ip > address > Oct 25 19:13:51 vaio ppp[364]: Warning: ip_Input: IPCP not open - packet > dropped > > -- > Andre > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message