On 2019/06/16 22:17, Sacha wrote:
> 
> ------------------------------------------------------------------------
> *De :* Stuart Henderson <[email protected]>
> *Objet :* dual pppoe problem
> *Date :* dimanche 16 juin 2019 à 21:30
> *Pour :* Sacha <[email protected]>
> *Cc :* [email protected]
> 
> > On 2019/06/16 10:33, Sacha wrote:
> >> Hi,
> >>
> >> when I'm starting the system (OpenBSD 6.5 amd64) with dual pppoe 
> >> connections
> >> only the first is going up.
> >>
> >> Here are my pppoe confs (changed $user and $psw): 
> > Your config is not included in the email.
> 
> Sorry:
> 
> 
> cerbere# cat
> /etc/hostname.pppoe0                                                          
>                                                                            
> 
> inet 0.0.0.0 255.255.255.255 NONE \
> pppoedev em0 authproto pap \
> authname '$user1' authkey '$psw1' up
> dest 0.0.0.1
> !/sbin/route add default -ifp pppoe0 0.0.0.1
> 
> cerbere# cat
> /etc/hostname.pppoe1                                                          
>                                                                               
>                                                                               
>                                           
> 
> inet 0.0.0.0 255.255.255.255 NONE \
> pppoedev em1 authproto pap \
> authname '$use2' authkey '$psw2' up
> dest 0.0.0.1
> >
> >> I tried to change 0.0.0.0 to 0.0.0.2 in /etc/hostname.pppoe1,
> > Why?
> >
> > From the manual pppoe(4) :
> >
> > "   If the local address is set to wildcard address 0.0.0.0, it will be 
> > changed
> > "   to an address suggested by the peer.
> >
> > You want 0.0.0.0 on both interfaces. It is the "remote address" (0.0.0.1 on 
> > the
> > first interface) that you need to change for the second.
> >
> It was a try as previous conf didn't worked.
> 
> Sacha.
> 

You need to change the "remote address" (0.0.0.1 on the first interface)
to 0.0.0.2 on the second.

If that doesn't work, please show "ifconfig pppoe" output.

Reply via email to