cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
316
Views
0
Helpful
2
Replies

DHCP identification

eidavis
Level 1
Level 1

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 ?

2 Replies 2

Collin Clark
VIP Alumni
VIP Alumni

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.

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