Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 10:43:43 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Andre Oppermann <oppermann@pipeline.ch>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Problem with pppoed->ppp
Message-ID:  <39F5CA4F.4B74EFD9@elischer.org>
References:  <39F5C458.D77E62A0@pipeline.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39F5CA4F.4B74EFD9>