Jay,

        What's in your file for the authby file?  Is it anything other
than the DEFAULT user?  Maybe you should drop the file and put everything
into the db.  Put replyattr's for just those users with special setups and
use something like this in your config:

DefaultReply \
        Service-Type=Framed-User,Framed-IP-Address=255.255.255.254,\
        Framed-IP-Netmask=255.255.255.255,Framed-MTU=1500,\
        Framed-Compression=Van-Jacobson-TCP-IP


That way those without replyattr's in the db will get a default set.  
Then put everything that a special user would need in the db for just that
user. Also, I'd wonder if the quotes around the reply items in the db
aren't causing some issues. Maybe reput those items into your db without
the quotes.  On a Trace 4 is that testuser getting the right attributes in
the reply packet?


--------------------------------------------------------------------------
Aaron Holtz
ComNet Inc.
UNIX Systems Administration/Network Operations
"It's not broken, it just lacks duct tape."
--------------------------------------------------------------------------

On Nov 15, Jay West molded the electrons to say....

>My full configuration was included in a previous email about 'problems with
>authbysql'.
>
>I'm now having a problem with static IP addresses.
>
>Note the file settings:
>mysql > select * from SUBSCRIBERS
>    -> where Username='testuser';
>+----------+----------+-------------------+-----------+---------------------
>-------------------------------------------------------------------------+
>| USERNAME | PASSWORD | ENCRYPTEDPASSWORD | CHECKATTR | REPLYATTR
>|
>+----------+----------+-------------------+-----------+---------------------
>-------------------------------------------------------------------------+
>| testuser | xxxxxxxx | NULL              | NULL      | Framed-IP-Address =
>"192.168.1.73",Framed-IP-Netmask = "255.255.255.252",Idle-Timeout = "0" |
>+----------+----------+-------------------+-----------+---------------------
>-------------------------------------------------------------------------+
>1 row in set (0.00 sec)
>
>And since I'm using authbysql followed by authbyfile with
>continuewhileaccept this is important:
>DEFAULT Service-Type = Framed-User
>Service-Type = Framed-User,
>        Framed-Protocol = PPP,
>        Framed-Routing = None,
>        Framed-MTU = 1500,
>        Framed-Compression = Van-Jacobson-TCP-IP
>
>However, I've just verified that when this user (testuser) logs in, they're
>getting assigned an IP address from a pool defined on the router (via
>255.255.255.254) instead of the specific IP address listed in SUBSCRIBERS
>(as well as a host route of 255.255.255.255 instead of the 252 above).
>
>Help!!!! (and THANKS IN ADVANCE!)
>
>Jay West
>
>
>
>===
>Archive at http://www.thesite.com.au/~radiator/
>To unsubscribe, email '[EMAIL PROTECTED]' with
>'unsubscribe radiator' in the body of the message.
>


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to