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

Discussion in 'Cisco' started by vigi98, Jul 15, 2003.

  1. vigi98

    vigi98 Guest

    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

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

    So the dhcp-client-identifier is different from the client

    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
    nrcmd> save
    nrcmd> lease send-reservation

    But it does not work.

    What is wrong ?
    vigi98, Jul 15, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.