RE: DHCP on 7206 with 12.2(7) - solved

From: James.Irwin@xxxxxxxxxxxxx
Date: Thu Mar 28 2002 - 00:33:32 GMT-3


   
network numbers added are not actual, but illustrate the point.
********************************************
7206:

service dhcp
!
no ip dhcp conflict logging (this used instead of defining a database)
ip dhcp excluded-address x.x.x.x x.x.x.x
!
ip dhcp pool dhcp_pool
   network 192.168.10.0 255.255.255.128 <---here is the issue*
   default-router 192.168.10.129
   domain-name unlisted
   dns-server x.x.x.x
!
interface FastEthernet0/0.5
 encapsulation dot1Q 5
 ip address 192.168.10.129 255.255.255.128
 no cdp enable
!

*The network command for the pool is in a different subnet than the
default-router (int fa0/0.5)
The correct statement should be:
network 192.168.10.128 255.255.255.128
Always remember the basics Daniel-Son.

The output below was from "debug ip dhcp server packet"
I would have thought it would have been more descriptive of the problem -
kicking out some kind of error dealing with the client changing subnets or
something - but it did not - so I missed the obvious.

*****************************************
sh ip dhcp ser packet

*Mar 26 17:23:24.751: DHCPD: DHCPDISCOVER received from client
0100.10a4.b72f.28
 on interface FastEthernet0/0.5.
*Mar 26 17:23:29.755: DHCPD: DHCPDISCOVER received from client
0100.10a4.b72f.28
 on interface FastEthernet0/0.5.
*Mar 26 17:23:36.755: DHCPD: DHCPDISCOVER received from client
0100.10a4.b72f.28
 on interface FastEthernet0/0.5.
*Mar 26 17:23:53.763: DHCPD: DHCPDISCOVER received from client
0100.10a4.b72f.28
 on interface FastEthernet0/0.5.
*Mar 26 17:29:32.847: DHCPD: DHCPDISCOVER received from client
0100.10a4.b72f.28
 on interface FastEthernet0/0.5.
*Mar 26 17:29:35.851: DHCPD: DHCPDISCOVER received from client
0100.10a4.b72f.28
 on interface FastEthernet0/0.5.
*Mar 26 17:29:43.855: DHCPD: DHCPDISCOVER received from client
0100.10a4.b72f.28
 on interface FastEthernet0/0.5.
*Mar 26 17:29:59.859: DHCPD: DHCPDISCOVER received from client
0100.10a4.b72f.28
 on interface FastEthernet0/0.5.

Jim



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:57:24 GMT-3