> On Sun, Mar 25, 2001 at 02:46:22AM +0100, Brian Somers wrote:
> > > > On Fri, Mar 23, 2001 at 23:11:56 +0000, Brian Somers wrote:
> > > > > 1. Ppp is in -auto mode (or a ``set mode auto'' has been done).  
> > > > >    Here, ppp configures the interface as soon as it sees the ``set 
> > > > >    ifaddr'' line and never undoes that configuration.  An ``add'' 
> > > > >    with a fixed IP number would never have worked if it's before the 
> > > > >    ``set ifaddr''.  If it's after the ``set ifaddr'', nothing should 
> > > > >    ever remove it (as the interface will stay configured).
> > > > > 
> > > > > 2. Ppp is not in -auto mode.  Here, ppp won't assign the interface 
> > > > >    address 'till IPCP is up.  Any attempt to ``add'' a route with a 
> > > > >    static IP number in ppp.conf should fail.
> > > > > 
> > > > > So, the recent routing changes shouldn't have made a difference.
> > > > > 
> > > > > Anyone know what I'm missing ?  Andre, what does your ppp.conf look 
> > > > > like and how are you running ppp ?
> > > > 
> > > > ppp in -auto mode, "add" is after "set ifaddr"
> > > 
> > > In which case your interface should stay configured despite the link 
> > > coming down and your route should *not* be deleted.
> > > 
> > > I'll see if I can reproduce this here (I need to upgrade a machine 
> > > first).
> > 
> > This was happening because ppp was deleting then re-adding the 
> > interface address when IPCP came up, causing the new routing code to 
> > nuke the static route.  I've added an optimisation to stop this from 
> > happening, so your configuration should work ok again with 
> > src/usr.sbin/ppp/iface.c 1.17.
> > 
> You mean, ppp(8) does not do this now if negotiated address does not change?

Yep.

> -- 
> Ruslan Ermilov                Oracle Developer/DBA,
> [EMAIL PROTECTED]         Sunbay Software AG,
> [EMAIL PROTECTED]                FreeBSD committer,
> +380.652.512.251      Simferopol, Ukraine
> 
> http://www.FreeBSD.org        The Power To Serve
> http://www.oracle.com Enabling The Information Age

-- 
Brian <[EMAIL PROTECTED]>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to