Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 1999 11:19:02 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        Steve Howe <groggy@iname.com>
Cc:        freebsd-questions <questions@freebsd.org>
Subject:   Re: add net route on linkup 
Message-ID:  <199904151019.LAA02247@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Wed, 14 Apr 1999 23:41:56 -0800." <Pine.BSF.3.96.990414233603.913A-100000@en26.l1.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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 <brian@Awfulhak.org>                        <brian@FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour !          <brian@uk.FreeBSD.org>




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904151019.LAA02247>