DHCP problem !

MIBS, SMMPv1, SMMPv2, SMMPv3 and management
Post Reply
Guest

DHCP problem !

Post by Guest » Wed Jan 05, 2011 11:16 am


Hello,I have a 1812 cisco router, I have 2 vlans (172.31.0.0/24 and 172.31.2.0/24) and I configured this :ip dhcp pool dhcp-vlan2   import all   network 172.31.0.0 255.255.255.0   domain-name domain1.com   dns-server x.x.x.x   default-router 172.31.0.1   lease infinite!ip dhcp pool dhcp-vlan3   import all   network 172.31.2.0 255.255.255.0   domain-name domain2.com   dns-server x.x.x.x   default-router 172.31.2.1   lease infiniteip dhcp pool name1   host 172.31.2.20   hardware-address 01ab.cdef.ghij.kl   client-name name2The problem is that this manual binding in the end is not working; the host with that MAC gets another IP everytime I renew the dhcp request.Before setting this manual binding I had that host setup staticly with that IP.Where is the problem?

Guest

Re:DHCP problem !

Post by Guest » Wed Jan 05, 2011 11:36 am


Spinu Try using the client-identifier instead of the hardware-address command.I found this is the command reference:Microsoft DHCP clients require client identifiers instead of hardware addresses. The client identifier is formed by concatenating the media type and the MAC address. For example, the Microsoft client identifier for Ethernet address b708.1388.f166 is 01b7.0813.88f1.66, where 01 represents the Ethernet media type. For a list of media type codes, refer to the "Address Resolution Protocol Parameters" section of RFC 1700, Assigned Numbers.ExamplesThe following example specifies the client identifier for Mac address b7.0813.8811.66 in dotted-hexadecimal notation:client-identifier 01b7.0813.8811.66If you want more detail you can start with this link:http://www.cisco.com/en/US/docs/ios/12_ ... 792HTHRick

Guest

Re:DHCP problem !

Post by Guest » Wed Jan 05, 2011 11:53 am


many thanksr burts ! u realy helped me !

Guest

Re:DHCP problem !

Post by Guest » Wed Jan 05, 2011 1:06 pm


SpinuI am glad that you got it worked out and that my suggestion was helpful. I find that sometimes the Cisco documentation is very good about telling you how to configure a particular function (hardware-address and client-identifier) and not so good at helping distinguish when you use one and when you use the other.Thank you for using the rating system to indicate that your problem was resolved (and thanks for the rating). It makes the forum more useful when people can read a problem and can know that there were responses which did resolve the problem.The forum is an excellent place to learn about Cisco networking. I encourage you to continue your participation in the forum.HTHRick

alexcamron
Hello I'm new here
Posts: 1
Joined: Tue May 31, 2011 11:34 am

Re: DHCP problem !

Post by alexcamron » Tue May 31, 2011 11:39 am

For this reason, the router does not do himself. When can set up your subnet this way to do it is to reduce the number of users can be limited as a safety measure to be connected. You must configure your router, the DHCP settings. If you change the last octet to 248, it is up to six hosts. Also check the start and end addresses for the DHCP server.

Post Reply