Wednesday, December 17, 2008

now . configure the debug statements on either sides and also disable ip routing on r3 .

CODE
2#debug ip dhcp server events
r2#debug ip dhcp server packet
r2#debug ip packet detail
IP packet debugging is on (detailed)
r2#

------------------------------------------------------------

r3#d
*Mar 1 01:00:36.611: %SYS-5-CONFIG_I: Configured from console by console
r3#debug ip dhcp ?
server DHCP server activity

r3#debug ip dhcp server events
r3#debug ip dhcp server packet
r3#debug ip packet detail
IP packet debugging is on (detailed)
r3#config t
Enter configuration commands, one per line. End with CNTL/Z.
r3(config)#no ip routing
r3(config)#
*Mar 1 01:01:23.191: DHCPD: checking for expired leases.
r3(config)#

here is the debug output from r2 and r3

CODE
*Mar 1 01:03:06.335: DHCPD: Sending notification of DISCOVER:----------------[color="#FF8C00"]--step 1[/color]
*Mar 1 01:03:06.335: DHCPD: htype 1 chaddr c203.2471.0000
*Mar 1 01:03:06.335: DHCPD: remote id 020a0000ac10170200000000
*Mar 1 01:03:06.335: DHCPD: circuit id 00000000
*Mar 1 01:03:06.335: DHCPD: DHCPDISCOVER received from client 0063.6973.636f.2d63.3230.332e.3234.3731.2e30.3030.302d.4661.302f.30 on interface FastEthernet0/0.
*Mar 1 01:03:06.339: DHCPD: Seeing if there is an internally specified pool class:
*Mar 1 01:03:06.339: DHCPD: htype 1 chaddr c203.2471.0000
r2#
*Mar 1 01:03:06.339: DHCPD: remote id 020a0000ac10170200000000
*Mar 1 01:03:06.339: DHCPD: circuit id 00000000
*Mar 1 01:03:06.339: DHCPD: Allocate an address without class information (172.16.23.0)
*Mar 1 01:03:06.343: IP: tableid=0, s=172.16.23.2 (local), d=172.16.23.101 (FastEthernet0/0), routed via FIB
*Mar 1 01:03:06.343: IP: s=172.16.23.2 (local), d=172.16.23.101 (FastEthernet0/0), len 56, sending
*Mar 1 01:03:06.347: ICMP type=8, code=0
*Mar 1 01:03:06.531: IP: s=172.16.23.2 (local), d=224.0.0.10 (FastEthernet0/0), len 60, sending broad/multicast, proto=88
*Mar 1 01:03:06.651: IP: s=172.16.2.1 (local), d=224.0.0.10 (Loopback2)
r2#, len 60, sending broad/multicast, proto=88
*Mar 1 01:03:06.655: IP: s=172.16.2.1 (Loopback2), d=224.0.0.10, len 60, rcvd 2, proto=88
*Mar 1 01:03:07.843: IP: tableid=0, s=172.16.23.2 (local), d=172.16.23.101 (FastEthernet0/0), routed via FIB
*Mar 1 01:03:07.843: IP: s=172.16.23.2 (local), d=172.16.23.101 (FastEthernet0/0), len 56, sending
*Mar 1 01:03:07.843: ICMP type=8, code=0
*Mar 1 01:03:08.343: DHCPD: Adding binding to radix tree (172.16.23.101)
*Mar 1 01:03:08.343: DHCPD: Adding binding to hash tree
*Mar 1 01:03:08.343: DHCPD: assigned IP address 172.16.23.101 to client 0063.6973.636f.2d63.3230.332e.3234.3731.2e30.3030.302d.4661.302f.30.
*Mar 1 01:03:08.343: DHCPD: Sending DHCPOFFER to client 0063.6973.636f.2d63.3230.332e.3234.3731.2e30.3030.302d.4661.302f.30(172.16.23.101).[color="#8B0000"]---step 2 [/color]
*Mar 1 01:03:08.347: DHCPD: broadcasting BOOTREPLY to client c203.2471.0000.
*Mar 1 01:03:08.347: IP: s=172.16.23.2 (local), d=255.255.255.255 (FastEthernet0/0), len 328, sending br
r2#oad/multicast
*Mar 1 01:03:08.347: UDP src=67, dst=68
*Mar 1 01:03:08.379: IP: s=0.0.0.0 (FastEthernet0/0), d=255.255.255.255, len 604, rcvd 2
*Mar 1 01:03:08.379: UDP src=68, dst=67
*Mar 1 01:03:08.383: DHCPD: DHCPREQUEST received from client 0063.6973.636f.2d63.3230.332e.3234.3731.2e30.3030.302d.4661.302f.30.--[color="#8B0000"]-step 3[/color]
*Mar 1 01:03:08.383: DHCPD: Sending notification of ASSIGNMENT:
*Mar 1 01:03:08.387: DHCPD: address 172.16.23.101 mask 255.255.255.0
*Mar 1 01:03:08.387: DHCPD: htype 1 chaddr c203.2471.0000
*Mar 1 01:03:08.387: DHCPD: lease time remaining (secs) = 86400
*Mar 1 01:03:08.387: DHCPD: No default domain to append - abort update
*Mar 1 01:03:08.387: DHCPD: Sending DHCPACK to client 0063.6973.636f.2d63.3230.332e.3234.3731.2e30.3030.302d.4661.302f.30 (172.16.23.101).--[color="#8B0000"]step 4[/color]
*Mar 1 01:03:08.391: DHCPD: broadcasting BOOTREPLY to client c203.2471.0000.
*Mar 1 01:03:08.391: IP: s=172.16.23.2 (local), d=255.255.255.255 (FastEthernet0/0), len 328, sending broad
r2#/multicast
*Mar 1 01:03:08.391: UDP src=67, dst=68
*Mar 1 01:03:08.783: IP: s=172.16.12.2 (local), d=224.0.0.10 (Serial0/0), len 60, sending broad/multicast, proto=88
*Mar 1 01:03:09.283: IP: s=172.16.12.1 (Serial0/0), d=224.0.0.10, len 60, rcvd 2, proto=88
r2#
*Mar 1 01:03:11.143: IP: s=172.16.23.2 (local), d=224.0.0.10 (FastEthernet0/0), len 60, sending broad/multicast, proto=88
*Mar 1 01:03:11.231: IP: s=172.16.2.1 (local), d=224.0.0.10 (Loopback2), len 60, sending broad/multicast, proto=88
*Mar 1 01:03:11.235: IP: s=172.16.2.1 (Loopback2), d=224.0.0.10, len 60, rcvd 2, proto=88
r2#
*Mar 1 01:03:13.119: IP: s=172.16.12.2 (local), d=224.0.0.10 (Serial0/0), len 60, sending broad/multicast, proto=88
r2#
*Mar 1 01:03:14.195: IP: s=172.16.12.1 (Serial0/0), d=224.0.0.10, len 60, rcvd 2, proto=88
r2#
*Mar 1 01:03:15.751: IP: s=172.16.2.1 (local), d=224.0.0.10 (Loopback2), len 60, sending broad/multicast, proto=88
*Mar 1 01:03:15.755: IP: s=172.16.2.1 (Loopback2), d=224.0.0.10, len 60, rcvd 2, proto=88
*Mar 1 01:03:15.835: IP: s=172.16.23.2 (local), d=224.0.0.10 (FastEthernet0/0), len 60, sending broad/multicast, proto=88
r2#u al
*Mar 1 01:03:17.503: IP: s=172.16.12.2 (local), d=224.0.0.10 (Serial0/0), len 60, sending broad/multicast, proto=88
*Mar 1 01:03:18.483: IP: s=172.16.12.1 (Serial0/0), d=224.0.0.10, len 60, rcvd 2, proto=88
r2#u all
All possible debugging has been turned off
r2#

------------------------------------------------------

r3(config)#int fa0/0
r3(config-if)#no shut
r3(config-if)#
*Mar 1 01:03:05.987: DHCPD: IP address change on interface FastEthernet0/0
*Mar 1 01:03:05.995: DHCPD: IP address change on interface FastEthernet0/0
*Mar 1 01:03:05.999: IP: s=0.0.0.0 (local), d=255.255.255.255 (FastEthernet0/0), len 604, sending broad/multicast
*Mar 1 01:03:05.999: UDP src=68, dst=67
r3(config-if)#
*Mar 1 01:03:07.963: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
r3(config-if)#
*Mar 1 01:03:08.051: IP: s=172.16.23.2 (FastEthernet0/0), d=255.255.255.255, len 328, rcvd 1
*Mar 1 01:03:08.051: UDP src=67, dst=68
*Mar 1 01:03:08.055: IP: s=0.0.0.0 (local), d=255.255.255.255 (FastEthernet0/0), len 604, sending broad/multicast
*Mar 1 01:03:08.059: UDP src=68, dst=67
*Mar 1 01:03:08.091: IP: s=172.16.23.2 (FastEthernet0/0), d=255.255.255.255, len 328, rcvd 1
*Mar 1 01:03:08.091: UDP src=67, dst=68
r3(config-if)#
*Mar 1 01:03:08.963: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
r3(config-if)#
*Mar 1 01:03:11.095: DHCPD: IP address change on interface FastEthernet0/0
r3(config-if)#
*Mar 1 01:03:11.119: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 172.16.23.101, mask 255.255.255.0, hostname r3

r3(config-if)#
*Mar 1 01:03:23.191: DHCPD: checking for expired leases.
r3(config-if)#

Design by Blogger Buster | Distributed by Blogging Tips