Assigning IP Addresses to logins

This is more a linux question.

I have pptp users logging in remotely, they dial in via a modem, my linux server has three modems attached, each modem is assigned an IP address. Each time a user trys to connect to a modem and it is in use, it acts like a rotary system and goes to the next modem. This means that each user doesn't always get the same IP address. I need to have the same IP address to enable use of samba printing to a remote login. If anyone has any ideas on how to assign an IP address via a login rather than a modem, please let me know.

Mike

you can have a reserve dhcp where be your dhcp server only assign a static ip address base on mac address.

so your dhcp will have the client mac and a static ipaddress excluded from the ip pools.