From owner-freebsd-net  Tue Oct 24 10:17:53 2000
Delivered-To: freebsd-net@freebsd.org
Received: from mailtoaster2.pipeline.ch (mailtoaster2.pipeline.ch [62.48.0.71])
	by hub.freebsd.org (Postfix) with ESMTP id 5631C37B479
	for <freebsd-net@freebsd.org>; Tue, 24 Oct 2000 10:17:49 -0700 (PDT)
Received: (qmail 9482 invoked from network); 24 Oct 2000 17:19:32 -0000
Received: from unknown (HELO pipeline.ch) ([62.48.0.53]) (envelope-sender <oppermann@pipeline.ch>)
          by mailtoaster2.pipeline.ch (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP
          for <freebsd-net@freebsd.org>; 24 Oct 2000 17:19:32 -0000
Message-ID: <39F5C458.D77E62A0@pipeline.ch>
Date: Tue, 24 Oct 2000 19:18:16 +0200
From: Andre Oppermann <oppermann@pipeline.ch>
X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: freebsd-net@freebsd.org
Subject: Problem with pppoed->ppp
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-net@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

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

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