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
    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 ?
    vigi98, Jul 15, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mike Cunningham
    Replies:
    0
    Views:
    430
    Mike Cunningham
    Nov 17, 2003
  2. Tom
    Replies:
    2
    Views:
    2,562
  3. Dmitro
    Replies:
    0
    Views:
    8,045
    Dmitro
    Jan 27, 2005
  4. Hoffmann-Vetter, Martin

    Hardware-address AND client-identifier

    Hoffmann-Vetter, Martin, Dec 15, 2006, in forum: Cisco
    Replies:
    0
    Views:
    735
    Hoffmann-Vetter, Martin
    Dec 15, 2006
  5. Alan
    Replies:
    7
    Views:
    417
Loading...

Share This Page