cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1349
Views
0
Helpful
8
Replies
payala
Beginner

dhcp manual bindin with macbook pro

Hello there,

I hope that you can help me. I'm trying to configure a manual binding with a macbook pro but I have no idea why is not working...

This is the configuration that I have configured:

rtr#show run | sec ip dhcp pool MBP
ip dhcp pool MBP
   host 192.168.1.5 255.255.255.0
   client-identifier 01d8.a25e.945a.b3
   default-router 192.168.1.1
   dns-server 8.8.8.8 8.8.4.4 200.33.146.197 200.33.146.201
rtr#

The problem is that I'm receiving the ip address of the global dhcp pool:

rtr#show run | sec ip dhcp pool Wireles
ip dhcp pool Wireless-Clients
   network 192.168.1.0 255.255.255.0
   dns-server 8.8.8.8 8.8.4.4 200.33.146.197 200.33.146.201
   default-router 192.168.1.1
rtr#

This is the output from the debug ip dhcp event:

rtr#
Dec  8 07:37:48.497: DHCPD: DHCPREQUEST received from client 01d8.a25e.945a.b3.
Dec  8 07:37:48.497: DHCPD: Sending notification of ASSIGNMENT:
Dec  8 07:37:48.497:  DHCPD: address 192.168.1.25 mask 255.255.255.0
Dec  8 07:37:48.497:   DHCPD: htype 1 chaddr d8a2.5e94.5ab3
Dec  8 07:37:48.497:   DHCPD: lease time remaining (secs) = 86400
Dec  8 07:37:48.497: DHCPD: Appending system default domain
Dec  8 07:37:48.497: DHCPD: Using hostname 'payala.ayasar.com.' for dynamic update (from hostname option)
Dec  8 07:37:48.497: DHCPD: Sending DHCPACK to client 01d8.a25e.945a.b3 (192.168.1.25).
Dec  8 07:37:48.497: DHCPD: creating ARP entry (192.168.1.25, d8a2.5e94.5ab3).
rtr#
Dec  8 07:37:48.497: DHCPD: unicasting BOOTREPLY to client d8a2.5e94.5ab3 (192.168.1.25).
rtr#

I tried with hardware-address and client-identifier with the same result...

Hope that someone can help me!!!

Thanks a lot and have a nice day

1 ACCEPTED SOLUTION

Accepted Solutions

Can you try same procedure with hardware-address d8a2.5e94.5ab3 and if it not working with client-identifier 01d8.a25e.945a.b3

Regards.

Don't forget to rate helpful posts.

View solution in original post

8 REPLIES 8
cadet alain
Mentor

Hi,

In your static pool change client-identifier 01d8.a25e.945a.b3 with hardware-address d8a2.5e94.5ab3

Regards.

Don't forget to rate helpful posts.

Hello cadetalin and thanks for your reply. I already tried that with the same result. I read in Cisco that when you use a differnet OS than Windowns you should use hardware-address... Actually I have other manual binding configured on the device with windows as OS and that works just great!!!

I have no idea what I'm missing or what should I configure besides what is already configured... :S

Thanks a lot!!!

Isn't this address already leased? do a show ip dhcp binding x.x.x.x  where x.x.x.x is the ip add you want to give your host.

Regards.

Don't forget to rate helpful posts.

Cadetalain,

Thanks again for the reply.

Let me send you what you asked and more information that can help:

rtr#show run | sec ip dhcp pool MBP
ip dhcp pool MBP
   host 192.168.1.5 255.255.255.0
   hardware-address 01d8.a25e.945a.b3
   default-router 192.168.1.1
   dns-server 8.8.8.8 8.8.4.4 200.33.146.197 200.33.146.201
   client-name payala
rtr#show ip dhcp binding 192.168.1.5
IP address          Client-ID/             Lease expiration        Type
            Hardware address/
            User name
192.168.1.5         01d8.a25e.945a.b3       Infinite                Manual
rtr#show ip dhcp binding    
Bindings from all pools not associated with VRF:
IP address          Client-ID/             Lease expiration        Type
            Hardware address/
            User name
192.168.1.5         01d8.a25e.945a.b3       Infinite                Manual
192.168.1.11        0170.1a04.1a8a.df       Infinite                Manual
192.168.1.12        0100.0c29.b7e1.49       Infinite                Manual
192.168.1.25        01d8.a25e.945a.b3       Dec 09 2010 09:51 AM    Automatic
192.168.1.26        01d8.a25e.7737.51       Dec 09 2010 01:31 PM    Automatic
192.168.1.27        0178.e400.5a9e.53       Dec 09 2010 02:02 PM    Automatic
192.168.3.5         0007.e9d1.ee9c          Infinite                Manual
rtr#

The MBP is receiving the next ip address 192.168.1.25, let me send you the show ip arp:

rtr#show ip arp 192.168.1.25
Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  192.168.1.25           11   d8a2.5e94.5ab3  ARPA   FastEthernet0/0.1
rtr#

Greetings!!!

ok,

so shut down your dhcp server interface then clear ip dhcp binding *, next change hardware-address 01d8.a25e.945a.b3 statement by

hardware-address d8.a25e.945a.b3

release DHCP binding on MBP then reopen interface of router and renew  DHCP binding on MPB.

Regards.

Don't forget to rate helpful posts.

Same result!!! :S

I have no idea what is missing. Just one thing, when you asked me to configure the command hardware-address d8.a25e.945a.b3 it changed it automatically to the XXXX.XXXX.XXXX format, let me send you the output:

rtr#show run | sec ip dhcp pool MBP
ip dhcp pool MBP
   host 192.168.1.5 255.255.255.0
   hardware-address 01d8.a25e.945a.b3
   default-router 192.168.1.1
   dns-server 8.8.8.8 8.8.4.4 200.33.146.197 200.33.146.201
   client-name payala
rtr#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
rtr(config)#ip dhcp pool MBP
rtr(dhcp-config)#no hardware-address 01d8.a25e.945a.b3
rtr(dhcp-config)#hardware-address d8.a25e.945a.b3 
rtr(dhcp-config)#end
rtr#show run | sec ip dhcp pool MBP
ip dhcp pool MBP
   host 192.168.1.5 255.255.255.0
   hardware-address d8a2.5e94.5ab3
   default-router 192.168.1.1
   dns-server 8.8.8.8 8.8.4.4 200.33.146.197 200.33.146.201
   client-name payala
rtr#

I already reboot the device with the same result. I'm not sure that the Macbook have exactly the same RFC that uses Cisco on DHCP.

Thanks again

Can you try same procedure with hardware-address d8a2.5e94.5ab3 and if it not working with client-identifier 01d8.a25e.945a.b3

Regards.

Don't forget to rate helpful posts.

I have no idea why when I configured again the client-identifier with 01 starts to work...

Thanks a lot for all your help!!! this was really helpful... So I need to use client-identifier with a differnet OS (not only with Windows)... I read that client-identifier was only with Windows...

Thanks again...