Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > dhcp-client-identifier in CNR (Cisco Network Registrar)

Reply
Thread Tools

dhcp-client-identifier in CNR (Cisco Network Registrar)

 
 
vigi98
Guest
Posts: n/a
 
      07-15-2003
Hi all,

I'm trying to give fixed addresses to some devices through CNR DHCP.
To do that, I assign a dhcp-client-identifier to the incoming DHCP
request through a post-packet-decode C extension (the code is the
following:

strcpy(zt_ClientID, "01:11:11:11:22:22:22");
pRequest->put( pRequest, "dhcp-client-identifier",
zt_ClientID,DEX_REPLACE);
zp_Attr = pRequest->get( pRequest, "dhcp-client-identifier", 0,0);
)

So the dhcp-client-identifier is different from the client
Mac-address.

Then I add a reservation for this client by nrcmd :
nrcmd> client 1,6,11:11:11:22:22:22 create
nrcmd> scope SAN1-data addreservation 192.168.1.100
1,6,11:11:11:22:22:22
nrcmd> save
nrcmd> lease 192.168.1.100 send-reservation

But it does not work.

What is wrong ?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Consolidating multiple CNR Severs blindpirate Cisco 0 04-05-2006 08:49 PM
Re: Can somene sell me a SmartLink CNR modem? Evan Platt Computer Support 1 12-28-2005 06:39 AM
CNR LEASEQUERY Lewis Donzis Cisco 0 11-06-2004 05:47 PM
Cisco CNR port Andrew S. Cisco 0 11-24-2003 04:23 PM
problems getting DHCP from CNR 6.0 for AS5300 Mike Cunningham Cisco 0 11-17-2003 07:06 PM



Advertisments