Hi all, First of all thanks to all of you for your answer. It is very nice to see a lot of people can help us such a way! Thanks to you, I made it work :) I put the "ip dhcp clien client-id fa0/0 "in the interface subcommand of the client and put "client-id 01"macaddressoftheclientinterface" in th eserver side
Nevertheles i got two questions? Why do we need to prefix with 01 th emac address of the client interface in the client-id command of the server?And then, why a "debug ip dhcp server event" in the server side didn't gave me the client-id to put ? Here is what i got from the debug command.So no useful to find the clinet id: *Mar 1 00:11:40.811: DHCPD: Sending notification of DISCOVER:*Mar 1 00:11:40.811: DHCPD: htype 1 chaddr c207.1490.0000*Mar 1 00:11:40.815: DHCPD: remote id 020a000096640c0200000000*Mar 1 00:11:40.815: DHCPD: circuit id 00000000*Mar 1 00:11:40.819: DHCPD: Seeing if there is an internally specified pool class:*Mar 1 00:11:40.819: DHCPD: htype 1 chaddr c207.1490.0000*Mar 1 00:11:40.823: DHCPD: remote id 020a000096640c0200000000*Mar 1 00:11:40.823: DHCPD: circuit id 00000000*Mar 1 00:11:40.823: DHCPD: there is no address pool for 150.100.12.2.R2(dhcp-config)#*Mar 1 00:11:43.663: DHCPD: Sending notification of DISCOVER:*Mar 1 00:11:43.663: DHCPD: htype 1 chaddr c207.1490.0000*Mar 1 00:11:43.667: DHCPD: remote id 020a000096640c0200000000*Mar 1 00:11:43.667: DHCPD: circuit id 00000000*Mar 1 00:11:43.671: DHCPD: Seeing if there is an internally specified pool class:*Mar 1 00:11:43.671: DHCPD: htype 1 chaddr c207.1490.0000*Mar 1 00:11:43.675: DHCPD: remote id 020a000096640c0200000000*Mar 1 00:11:43.675: DHCPD: circuit id 00000000*Mar 1 00:11:43.675: DHCPD: there is no address pool for 150.100.12.2. Regards, --- En date de : Mer 12.10.11, Marko Milivojevic <[email protected]> a écrit : De: Marko Milivojevic <[email protected]> Objet: Re: [OSL | CCIE_RS] Manual DHCP not working À: "arulgobinath emmanuel" <[email protected]> Cc: "Laurent Loingeville" <[email protected]>, "[email protected]" <[email protected]> Date: Mercredi 12 octobre 2011, 18h25 That's exactly what I wanted you to see... By default, Cisco clients don't use a client-id derived from a Mac address, rather something a bit more involved, as Ivan pointed out in his article. It would be be so easy to lose points in the lab if you are not aware of this. -- Marko Milivojevic - CCIE #18427 Senior Technical Instructor - IPexpert FREE CCIE training: http://bit.ly/vLecture Mailto: [email protected] Telephone: +1.810.326.1444 Web: http://www.ipexpert.com/ On Wed, Oct 12, 2011 at 09:02, arulgobinath emmanuel <[email protected]> wrote: > mm .. > i think client id is the right way to go :). its easy to capture the packet > from gns3 and check the value. > > also the ip dhcp client client-id <int> is needed. otherwise we will end up > following as the client id :) in my case > 00:63:69:73:63:6f:2d:63:61:30:31:2e:30:38:64:30:2e:30:30:31:63:2d:46:61:31:2f:30 > , > Ref: http://blog.ioshints.info/2007/08/default-dhcp-client-id.html > > > ip dhcp pool test > host 192.168.1.1 255.255.255.0 > client-identifier 01ca.0108.d000.1c > > > interface FastEthernet1/0 > ip dhcp client client-id FastEthernet1/0 > ip address dhcp > duplex auto > speed auto > > FastEthernet1/0 192.168.1.1 YES DHCP up > > regards, > gobinath. > > On Wed, Oct 12, 2011 at 9:23 PM, Marko Milivojevic <[email protected]> > wrote: >> >> Have you tried the debug I asked you to do? Try it... See what >> client-id is coming from the router. >> >> (I can give you the answer, but then you will not be able to >> troubleshoot a similar issue come the lab day) >> >> -- >> Marko Milivojevic - CCIE #18427 (SP R&S) >> Senior Technical Instructor - IPexpert >> >> On Wed, Oct 12, 2011 at 00:20, Laurent Loingeville <[email protected]> >> wrote: >> > Hi, >> > Prefix the client-id with 01 soesn't work...:-( I am really desesperate >> > with that functionnality.. >> > >> > >> > R1 (client)-------------> R2(dhcp server 150.100.12.2 /24) >> > Here is the config from the server: >> > interface FastEthernet0/0ip address 150.100.12.2 255.255.255.0speed >> > 100full-duplex >> > ip dhcp pool TESThost 150.100.12.1 255.255.255.0client-identifier >> > c207.0ad0.0000default-router 150.100.12.2 >> > >> > >> > From the client: >> > int fa0/0ip add dhcp >> > >> > >> > >> > The messages from the server are: >> > *Mar 1 00:08:19.707: DHCPD: Sending notification of DISCOVER*Mar 1 >> > 00:08:19.711: DHCPD: htype 1 chaddr c207.106c.0000*Mar 1 00:08:19.711: >> > DHCPD: remote id 020a000096640c0200000000*Mar 1 00:08:19.715: DHCPD: >> > circuit id 00000000*Mar 1 00:08:19.715: DHCPD: Seeing if there is an >> > internally specified pool class:*Mar 1 00:08:19.719: DHCPD: htype 1 >> > chaddr c207.106c.0000*Mar 1 00:08:19.719: DHCPD: remote id >> > 020a000096640c0200000000*Mar 1 00:08:19.723: DHCPD: circuit id >> > 00000000*Mar 1 00:08:19.723: DHCPD: there is no address pool for >> > 150.100.12.2.R2(dhcp-config)# >> > --- En date de : Mar 11.10.11, arulgobinath emmanuel >> > <[email protected]> a écrit : >> > >> > De: arulgobinath emmanuel <[email protected]> >> > Objet: Re: [OSL | CCIE_RS] Manual DHCP not working >> > À: "Laurent Loingeville" <[email protected]> >> > Cc: "[email protected]" <[email protected]> >> > Date: Mardi 11 octobre 2011, 16h08 >> > >> > HI, >> > . in this situation you have to use the hardware address parameter. >> > according to your debug msg it showing the mac-address as the client id. >> > if you are using the client id you have to prepend 01. >> > >> > http://blog.ioshints.info/2007/09/assigning-server-ip-addresses-with-dhcp.html >> > >> > >> > In the real world environment IOS static mapping will be a difficult >> > task wins 7 send client id, linux flavor send mac address :) >> > >> > Best Regards, >> > Gobinath. >> > >> > >> > On Tue, Oct 11, 2011 at 2:49 PM, Laurent Loingeville >> > <[email protected]> wrote: >> > >> > Hi, >> > >> > I tried to test manual DHCP binding with the most basic link but it is >> > not working. >> > >> > R1 (client)-------------> R2(dhcp server 150.100.12.2 /24) >> > >> > >> > >> > >> > >> > Here is the config from the server: >> > >> > interface FastEthernet0/0 ip address 150.100.12.2 255.255.255.0 speed >> > 100 full-duplexend >> > >> > ip dhcp pool TEST host 150.100.12.1 255.255.255.0 client-identifier >> > c207.0ad0.0000 default-router 150.100.12.2 >> > >> > >> > >> > From the client: >> > >> > int fa0/0ip add dhcp >> > >> > >> > >> > >> > >> > Here is th e debug log i got on the server: >> > >> > *Mar 1 00:43:59.475: DHCPD: Sending notification of DISCOVER:*Mar 1 >> > 00:43:59.479: DHCPD: htype 1 chaddr c207.0ad0.0000*Mar 1 00:43:59.479: >> > DHCPD: remote id 020a000096640c0200000000*Mar 1 00:43:59.479: DHCPD: >> > circuit id 00000000*Mar 1 00:43:59.483: DHCPD: Seeing if there is an >> > internally specified pool class:*Mar 1 00:43:59.483: DHCPD: htype 1 >> > chaddr c207.0ad0.0000*Mar 1 00:43:59.487: DHCPD: remote id >> > 020a000096640c0200000000*Mar 1 00:43:59.487: DHCPD: circuit id >> > 00000000*Mar 1 00:43:59.491: DHCPD: there is no address pool for >> > 150.100.12.2.R2(config)# >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > I tried with hardware address instead of client-id but nothing.Tried >> > clinet-id with 020a000096640c0200000000 but still nothing.I don't know why >> > i >> > get the message "no address pool" >> > >> > >> > >> > Best regards >> > >> > >> > >> > _______________________________________________ >> > >> > For more information regarding industry leading CCIE Lab training, >> > please visit www.ipexpert.com >> > >> > >> > >> > Are you a CCNP or CCIE and looking for a job? Check out >> > www.PlatinumPlacement.com >> > >> > >> > >> > _______________________________________________ >> > For more information regarding industry leading CCIE Lab training, >> > please visit www.ipexpert.com >> > >> > Are you a CCNP or CCIE and looking for a job? Check out >> > www.PlatinumPlacement.com >> > > > _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com
