CONDITION
Windows DHCP Server not responding and we need to give quick solution for wireless client to use the Services , We need to configure DHCP server for some wireless clients.
Lets Start
Topolgy for DHCP SERVER
Configure a DHCP pool on router DHCP_SERVER called “MYPOOL” with the following configuration:
Clients should use the DNS server with IP address 1.1.1.1.
Clients should use network 192.168.10.0 /24.
Clients should not use the 192.168.10.10 – 20 range.
Cliends should renew their IP address after 2 minutes for testing (U can use 2 days)
Configure router DHCP_Server so it stores DHCP bindings in flash.
Router Name DHCP_Client Configure as Client :)
ROUTER DHCP_SERVER CONFIGURATION
Now Lets start Configure Router for DHCP_Client
Now lets open Interface f0/0 to Get the IP address from DHCP Server
During DHCP Client Taking IP Discovery/Offer/Request/Acknowledgement
*Mar 1
00:27:18.127: DHCP: DHCP client process started: 10
*Mar 1
00:27:18.139: RAC: Starting DHCP discover on FastEthernet0/0
*Mar 1
00:27:18.139: DHCP: Try 1 to acquire address for FastEthernet0/0
*Mar 1
00:27:18.155: DHCP: allocate request
*Mar 1
00:27:18.155: DHCP: new entry. add to queue, interface FastEthernet0/0
*Mar 1
00:27:18.155: DHCP: SDiscover attempt # 1 for entry:
*Mar 1
00:27:18.155: Temp IP addr: 0.0.0.0 for
peer on Interface: FastEthernet0/0
*Mar 1
00:27:18.155: Temp sub net mask: 0.0.0.0
*Mar 1
00:27:18.155: DHCP Lease server:
0.0.0.0, state: 1 Selecting
*Mar 1
00:27:18.159: DHCP transaction id:
2191
*Mar 1
00:27:18.159: Lease: 0 secs, Renewal: 0 secs, Rebind: 0 secs
*Mar 1
00:27:18.159: Next timer fires after:
00:00:04
*Mar 1
00:27:18.159: Retry count: 1 Client-ID: cisco-cc01.2004.0000-Fa0/0
*Mar 1
00:27:18.163: Client-ID hex dump:
636973636F2D636330312E323030342E
*Mar 1
00:27:18.167:
303030302D4661302F30
*Mar 1 00:27:18.171: Hostname: DHCP_Client
*Mar 1
00:27:18.171: DHCP: SDiscover: sending 300 byte length DHCP packet
*Mar 1
00:27:18.171: DHCP: SDiscover 300 bytes
*Mar 1
00:27:18.171: B'cast on
FastEthernet0/0 interface from 0.0.0.0
*Mar 1 00:27:20.119:
%LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1
00:27:20.227: DHCP: Received a BOOTREP pkt
*Mar 1
00:27:20.227: DHCP: Scan: Message type: DHCP Offer
*Mar 1
00:27:20.227: DHCP: Scan: Server ID Option: 192.168.10.2 = C0A80A02
*Mar 1
00:27:20.231: DHCP: Scan: Lease Time: 300
*Mar 1
00:27:20.231: DHCP: Scan: Renewal time: 150
*Mar 1
00:27:20.231: DHCP: Scan: Rebind time: 262
*Mar 1
00:27:20.231: DHCP: Scan: Subnet Address Option: 255.255.255.0
*Mar 1
00:27:20.231: DHCP: Scan: DNS Name Server Option: 1.1.1.1
*Mar 1
00:27:20.235: DHCP: rcvd pkt source: 192.168.10.2, destination:
255.255.255.255
*Mar 1
00:27:20.235: UDP sport: 43,
dport: 44, length: 308
*Mar 1
00:27:20.235: DHCP op: 2, htype: 1,
hlen: 6, hops: 0
*Mar 1
00:27:20.235: DHCP server identifier:
192.168.10.2
*Mar 1
00:27:20.235: xid: 2191, secs: 0,
flags: 8000
*Mar 1
00:27:20.235: client: 0.0.0.0,
your: 192.168.10.3
*Mar 1
00:27:20.239: srvr: 0.0.0.0, gw: 0.0.0.0
*Mar 1
00:27:20.239: options block
length: 60
*Mar 1
00:27:20.239: DHCP Offer Message
Offered Address: 192.168.10.3
*Mar 1
00:27:20.239: DHCP: Lease Seconds: 300
Renewal secs: 150 Rebind secs: 262
*Mar 1
00:27:20.243: DHCP: Server ID Option: 192.168.10.2
*Mar 1
00:27:20.243: DHCP: offer received from 192.168.10.2
*Mar 1
00:27:20.243: DHCP: SRequest attempt # 1 for entry:
*Mar 1
00:27:20.243: Temp IP addr: 192.168.10.3
for peer on Interface: FastEthernet0/0
*Mar 1
00:27:20.243: Temp sub net mask:
255.255.255.0
*Mar 1
00:27:20.247: DHCP Lease server:
192.168.10.2, state: 2 Requesting
*Mar 1
00:27:20.247: DHCP transaction id:
2191
*Mar 1
00:27:20.247: Lease: 300 secs, Renewal: 0 secs, Rebind: 0 secs
*Mar 1
00:27:20.247: Next timer fires after:
00:00:03
*Mar 1
00:27:20.247: Retry count: 1 Client-ID: cisco-cc01.2004.0000-Fa0/0
*Mar 1
00:27:20.247: Client-ID hex dump:
636973636F2D636330312E323030342E
*Mar 1
00:27:20.247:
303030302D4661302F30
*Mar 1
00:27:20.247: Hostname: DHCP_Client
*Mar 1
00:27:20.247: DHCP: SRequest- Server ID option: 192.168.10.2
*Mar 1
00:27:20.247: DHCP: SRequest- Requested IP addr option: 192.168.10.3
*Mar 1
00:27:20.247: DHCP: SRequest placed lease len option: 300
*Mar 1
00:27:20.247: DHCP: SRequest: 318 bytes
*Mar 1
00:27:20.247: DHCP: SRequest: 318 bytes
*Mar 1
00:27:20.247: B'cast on
FastEthernet0/0 interface from 0.0.0.0
*Mar 1
00:27:20.255: DHCP: Received a BOOTREP pkt
*Mar 1
00:27:20.255: DHCP: Scan: Message type: DHCP Ack
*Mar 1
00:27:20.255: DHCP: Scan: Server ID Option: 192.168.10.2 = C0A80A02
*Mar 1
00:27:20.259: DHCP: Scan: Lease Time: 300
*Mar 1
00:27:20.259: DHCP: Scan: Renewal time: 150
*Mar 1
00:27:20.259: DHCP: Scan: Rebind time: 262
*Mar 1
00:27:20.259: DHCP: Scan: Host Name: DHCP_Client
*Mar 1
00:27:20.259: DHCP: Scan: Subnet Address Option: 255.255.255.0
*Mar 1
00:27:20.259: DHCP: Scan: DNS Name Server Option: 1.1.1.1
*Mar 1 00:27:20.263:
DHCP: rcvd pkt source: 192.168.10.2,
destination: 255.255.255.255
*Mar 1
00:27:20.263: UDP sport: 43,
dport: 44, length: 308
*Mar 1
00:27:20.263: DHCP op: 2, htype: 1,
hlen: 6, hops: 0
*Mar 1
00:27:20.263: DHCP server identifier:
192.168.10.2
*Mar 1
00:27:20.263: xid: 2191, secs: 0,
flags: 8000
*Mar 1
00:27:20.263: client: 0.0.0.0,
your: 192.168.10.3
*Mar 1
00:27:20.263: srvr: 0.0.0.0, gw: 0.0.0.0
*Mar 1
00:27:20.263: options block
length: 60
*Mar 1
00:27:20.263: DHCP Ack Message
*Mar 1
00:27:20.263: DHCP: Lease Seconds: 300
Renewal secs: 150 Rebind secs: 262
*Mar 1
00:27:20.263: DHCP: Server ID Option: 192.168.10.2
*Mar 1
00:27:20.263: DHCP Host Name Option: DHCP_Client
*Mar 1 00:27:21.119:
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state
to up
*Mar 1
00:27:23.275: DHCP: Releasing ipl options:
*Mar 1
00:27:23.275: DHCP: Applying DHCP options:
*Mar 1
00:27:23.279: Adding DNS server address
1.1.1.1
*Mar 1
00:27:23.279: DHCP Client Pooling: ***Allocated IP address: 192.168.10.3
*Mar 1
00:27:23.307: Allocated IP address = 192.168.10.3 255.255.255.0
*Mar 1
00:27:23.307: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP
address 192.168.10.3, mask 255.255.255.0, hostname DHCP_Client
CLIENT Getting IP address from DHCP SERVER
NOW LETS CHECK THE MORE DETAILS FOR CLIENT
- Lease Server/Lease Time/Renew Time
Now Check on DHCP SERVER Binding
NOW lets Client initiated DHCP IP RENEW, SAME IP Getting from DHCP SERVER
DHCP SERVER ASSIGNMENT SAME IP AGAIN
And we have configure to stop this Binding information on FLASH on DHCP SERVER We can see the DHCP SERVER writting this information in FLASH:
Now lets validate the File "mybindings"