02-18-2004 05:11 PM - edited 03-02-2019 01:41 PM
Hi,
We are using the Cisco 831 as a DHCP server. However I am having problems in creating a mapping between a client MAC-Address and IP Address (so that it always gets the same IP Address).
The config is as follows
++++++++++++++++++++++=
ip dhcp excluded-address 172.28.4.1 172.28.4.20
!
ip dhcp pool global
network 172.28.4.0 255.255.255.0
default-router 172.28.4.1
netbios-name-server 172.16.250.25 172.16.250.26
dns-server 172.16.250.25 172.16.250.26
domain-name inamed.com
!
ip dhcp pool nick-pc1
host 172.28.4.21 255.255.255.0
hardware-address 0100.0d60.37e1.c9
client-name TabletPC
++++++++++++++++++++++++++++=
However when the client connects, the routers assigns its an IP from the Global Pool and not from "nick-pc1", which has the static mapping defined.
Below the trace
++++++++++++++++++++++++==
*Mar 1 00:08:51 UTC: DHCPD: DHCPREQUEST received from client 0100.0d60.37e1.c9.
*Mar 1 00:08:51 UTC: DHCPD: client has moved to a new subnet.
*Mar 1 00:08:51 UTC: DHCPD: Sending DHCPNAK to client 0100.0d60.37e1.c9.
*Mar 1 00:08:51 UTC: DHCPD: broadcasting BOOTREPLY to client 000d.6037.e1c9.
*Mar 1 00:08:52 UTC: DHCPD: DHCPDISCOVER received from client 0100.0d60.37e1.c9 on interface Ethernet0.
*Mar 1 00:08:54 UTC: DHCPD: assigned IP address 172.28.4.23 to client 0100.0d60.37e1.c9.
*Mar 1 00:08:54 UTC: DHCPD: Sending DHCPOFFER to client 0100.0d60.37e1.c9 (172.28.4.23).
*Mar 1 00:08:54 UTC: DHCPD: creating ARP entry (172.28.4.23, 000d.6037.e1c9).
*Mar 1 00:08:54 UTC: DHCPD: unicasting BOOTREPLY to client 000d.6037.e1c9 (172.28.4.23).
*Mar 1 00:08:54 UTC: DHCPD: DHCPREQUEST received from client 0100.0d60.37e1.c9.
*Mar 1 00:08:54 UTC: DHCPD: Sending DHCPACK to client 0100.0d60.37e1.c9 (172.28.4.23).
*Mar 1 00:08:54 UTC: DHCPD: creating ARP entry (172.28.4.23, 000d.6037.e1c9).
*Mar 1 00:08:54 UTC: DHCPD: unicasting BOOTREPLY to client 000d.6037.e1c9 (172.28.4.23).
++++++++++++++++++++++++++++
If i delete the global pool, then router won't assign an IP at all, and complains " There is no address pool".
AM i missing something ?
Regards,
Naman
02-18-2004 05:28 PM
you should use the same pool name .
anyway , you can define more pools if you config another gateway
any questions ?contact :
02-19-2004 08:06 AM
Tried using the same pool name. But for the same pool it won't let me use "network" and "host" command at the sametime.
And Without the "network" command, the error message comes up that "No address pool found for
This sample config was actually picked up from a Cisco example.
Regards,
Naman
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: