From owner-freebsd-questions Sun Apr 18 11:28:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 0417214DB9 for ; Sun, 18 Apr 1999 11:28:53 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id NAA15852; Sun, 18 Apr 1999 13:41:33 -0500 (EST) Date: Sun, 18 Apr 1999 13:41:32 -0500 (EST) From: Alfred Perlstein To: Veaceslav Revutchi Cc: freebsd-questions@FreeBSD.ORG Subject: Re: pppd, leased lines (static interface) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 18 Apr 1999, Veaceslav Revutchi wrote: > > Hello, > > I have a 3.1 machine with a multiport serial card holding > leased lines connections. I use pppd for that, so I have > interfaces like ppp0, ppp1 ... and so on. > > To get the usage statistics for these lines I use ucd-snmp on that > machine and MRTG on another. > > The problem is that if some of the links go down for some reason > then when they come up they might use a different ppp interface > and that breaks all my MRTG logs! > > How do I tell pppd to staticaly assign the line residing on > /dev/ttyd? to ppp? so that no other ttyd* line will take this > interface? I looked into this once, it seems ppp interfaces are assigned a little deep in the kernel making the modification nessesary to do this a bit convoluted, invasive and difficult. It's somewhere near the very back of my TODO list. 2 options: 1) useland ppp 2) a script that monitors what ppp interface is attached to which ttyd so that mrtg can parse this. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message