From owner-freebsd-questions Thu Apr 15 19: 4: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id 9AF8614D24 for ; Thu, 15 Apr 1999 19:03:58 -0700 (PDT) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.2/8.9.2) with ESMTP id WAA23359; Thu, 15 Apr 1999 22:39:02 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id LAA02247; Thu, 15 Apr 1999 11:19:03 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199904151019.LAA02247@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Steve Howe Cc: freebsd-questions Subject: Re: add net route on linkup In-reply-to: Your message of "Wed, 14 Apr 1999 23:41:56 -0800." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 15 Apr 1999 11:19:02 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > what is the best way to say: > > route add -net 192.168.1 [IP assigned to "Joe"] > > for user "Joe" when he connects? > > i want user "Joe" to have a network route on the > gateway when he connects. i can think of many ways, > but they all seem like a kludge, and i'm sure there > is is simple command that i can put in the right place > to do this ... right? ;) > > thanks. > > FBSD 2.2.8 > + user PPP Make sure that joe gets his own label (field 4 of ppp.secret) and then put an entry in ppp.linkup for that label. Something like ppp.secret: joe * * joe ppp.linkup: joe: add 192.168.0.1/24 HISADDR -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message