03-29-2007 11:07 AM
Is there any way to get DHCP (or any other mechanism) to assoiciate a username with an assigned ip address. I have a Cisco 2600 with 8 modems attached. I would like to have a table ( or whatever) that says if user "A" dials in he should always use IP address 134.1.1.1 and so on.
Sounds simple ? Is there any thing like this ?
03-29-2007 12:56 PM
You must use the client's MAC address to create the reservation in DHCP. Here is an example-
ip dhcp pool laptop
host 192.168.5.252 255.255.255.0
client-identifier 0100.1500.2c1b.ae
dns-server 1.1.1.1 2.2.2.2
default-router 192.168.5.254
lease 0 9
This assigns the .252 address to the associated MAC address. Note that the Client identifier requires a prefix of 01 on the MAC address.
HTH and please rate.
03-29-2007 01:18 PM
So where exactly does the mac address come from ? The remote clients (laptop) dial up interface ? I must have not been clear... I'm asking about dial-up not LAN based DHCP
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide